summaryrefslogtreecommitdiffstats
path: root/bsps/arm/smdk2410/include/smc.h
blob: 2ce043aafc7493aec4b5007e3088c0b0562b1bae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
 * @file
 * @ingroup smdk2410_smc
 * @brief SMC disk driver initialization entry point
 */

#ifndef __SMC_H__
#define __SMC_H__

#ifdef __cplusplus
extern "C" {
#endif

#include <rtems.h>

#include "rtems/blkdev.h"

/**
 * @defgroup smdk2410_smc SMC Disk Driver
 * @ingroup RTEMSBSPsARMSMDK2410
 * @brief SMC Disk Driver Support
 * @{
 */

/**
 * @brief smc_initialize
 *     SMC disk driver initialization entry point.
 */
rtems_device_driver
smc_initialize(
    rtems_device_major_number major,
    rtems_device_minor_number minor,
    void *arg);

#define SMC_DRIVER_TABLE_ENTRY \
    { smc_initialize, GENERIC_BLOCK_DEVICE_DRIVER_ENTRIES }

/** @} */

#ifdef __cplusplus
}
#endif

#endif