4.104.114.84.95
Line | |
---|
1 | #ifndef __SMC_H__ |
---|
2 | #define __SMC_H__ |
---|
3 | |
---|
4 | #ifdef __cplusplus |
---|
5 | extern "C" { |
---|
6 | #endif |
---|
7 | |
---|
8 | #include <rtems.h> |
---|
9 | |
---|
10 | #include "rtems/blkdev.h" |
---|
11 | |
---|
12 | /* smc_initialize -- |
---|
13 | * SMC disk driver initialization entry point. |
---|
14 | */ |
---|
15 | rtems_device_driver |
---|
16 | smc_initialize( |
---|
17 | rtems_device_major_number major, |
---|
18 | rtems_device_minor_number minor, |
---|
19 | void *arg); |
---|
20 | |
---|
21 | #define SMC_DRIVER_TABLE_ENTRY \ |
---|
22 | { smc_initialize, GENERIC_BLOCK_DEVICE_DRIVER_ENTRIES } |
---|
23 | |
---|
24 | #ifdef __cplusplus |
---|
25 | } |
---|
26 | #endif |
---|
27 | |
---|
28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.