Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:05

0001 /**
0002  * @file
0003  * @ingroup smdk2410_smc
0004  * @brief SMC disk driver initialization entry point
0005  */
0006 
0007 #ifndef __SMC_H__
0008 #define __SMC_H__
0009 
0010 #ifdef __cplusplus
0011 extern "C" {
0012 #endif
0013 
0014 #include <rtems.h>
0015 
0016 #include "rtems/blkdev.h"
0017 
0018 /**
0019  * @defgroup smdk2410_smc SMC Disk Driver
0020  * @ingroup RTEMSBSPsARMSMDK2410
0021  * @brief SMC Disk Driver Support
0022  * @{
0023  */
0024 
0025 /**
0026  * @brief smc_initialize
0027  *     SMC disk driver initialization entry point.
0028  */
0029 rtems_device_driver
0030 smc_initialize(
0031     rtems_device_major_number major,
0032     rtems_device_minor_number minor,
0033     void *arg);
0034 
0035 #define SMC_DRIVER_TABLE_ENTRY \
0036     { smc_initialize, GENERIC_BLOCK_DEVICE_DRIVER_ENTRIES }
0037 
0038 /** @} */
0039 
0040 #ifdef __cplusplus
0041 }
0042 #endif
0043 
0044 #endif