summaryrefslogtreecommitdiffstats
path: root/c/src/libchip
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-29 00:04:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-29 00:04:02 +0000
commitfb339a8ed3473fba45fbbbd5a10880cbfa7d0c77 (patch)
tree6e47b28825f2d9f5e7aa46e487a6988ad6a8494f /c/src/libchip
parentAdded function table. (diff)
downloadrtems-fb339a8ed3473fba45fbbbd5a10880cbfa7d0c77.tar.bz2
Deleted probe routine as device specific.
Renamed port table.
Diffstat (limited to 'c/src/libchip')
-rw-r--r--c/src/libchip/rtc/rtc.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/c/src/libchip/rtc/rtc.h b/c/src/libchip/rtc/rtc.h
index 05814b35be..94b42e3f34 100644
--- a/c/src/libchip/rtc/rtc.h
+++ b/c/src/libchip/rtc/rtc.h
@@ -25,7 +25,6 @@ typedef void (*setRegister_f)(
unsigned32 port, unsigned8 reg, unsigned32 value);
typedef struct _rtc_fns {
- boolean (*deviceProbe)(int minor);
void (*deviceInitialize)(int minor);
int (*deviceGetTime)(int minor, rtems_time_of_day *time);
int (*deviceSetTime)(int minor, rtems_time_of_day *time);
@@ -33,7 +32,7 @@ typedef struct _rtc_fns {
typedef enum {
RTC_M48T08, /* SGS-Thomsom M48T08 or M48T18 */
- RTC_ICM_7170, /* Harris ICM-7170 */
+ RTC_ICM7170, /* Harris ICM-7170 */
RTC_CUSTOM /* BSP specific driver */
} rtc_devs;
@@ -67,15 +66,13 @@ typedef struct _rtc_tbl {
boolean (*deviceProbe)(int minor);
void *pDeviceParams;
unsigned32 ulCtrlPort1;
- unsigned32 ulCtrlPort2;
unsigned32 ulDataPort;
getRegister_f getRegister;
setRegister_f setRegister;
- unsigned int ulIntVector;
} rtc_tbl;
-extern rtc_tbl RTC_Port_Tbl[];
-extern unsigned long RTC_Port_Count;
+extern rtc_tbl RTC_Table[];
+extern unsigned long RTC_Count;
boolean rtc_probe( int minor );