Changeset fb339a8 in rtems


Ignore:
Timestamp:
Jul 29, 1998, 12:04:02 AM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5217d5a
Parents:
866c9dd5
Message:

Deleted probe routine as device specific.

Renamed port table.

Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libchip/rtc/rtc.h

    r866c9dd5 rfb339a8  
    2626
    2727typedef struct _rtc_fns {
    28   boolean (*deviceProbe)(int minor);
    2928  void    (*deviceInitialize)(int minor);
    3029  int     (*deviceGetTime)(int minor, rtems_time_of_day *time);
     
    3433typedef enum {
    3534  RTC_M48T08,                  /* SGS-Thomsom M48T08 or M48T18 */
    36   RTC_ICM_7170,                /* Harris ICM-7170 */
     35  RTC_ICM7170,                 /* Harris ICM-7170 */
    3736  RTC_CUSTOM                   /* BSP specific driver */
    3837} rtc_devs;
     
    6867  void          *pDeviceParams;
    6968  unsigned32     ulCtrlPort1;
    70   unsigned32     ulCtrlPort2;
    7169  unsigned32     ulDataPort;
    7270  getRegister_f  getRegister;
    7371  setRegister_f  setRegister;
    74   unsigned int   ulIntVector;
    7572} rtc_tbl;
    7673
    77 extern rtc_tbl        RTC_Port_Tbl[];
    78 extern unsigned long  RTC_Port_Count;
     74extern rtc_tbl        RTC_Table[];
     75extern unsigned long  RTC_Count;
    7976
    8077
  • c/src/libchip/rtc/rtc.h

    r866c9dd5 rfb339a8  
    2626
    2727typedef struct _rtc_fns {
    28   boolean (*deviceProbe)(int minor);
    2928  void    (*deviceInitialize)(int minor);
    3029  int     (*deviceGetTime)(int minor, rtems_time_of_day *time);
     
    3433typedef enum {
    3534  RTC_M48T08,                  /* SGS-Thomsom M48T08 or M48T18 */
    36   RTC_ICM_7170,                /* Harris ICM-7170 */
     35  RTC_ICM7170,                 /* Harris ICM-7170 */
    3736  RTC_CUSTOM                   /* BSP specific driver */
    3837} rtc_devs;
     
    6867  void          *pDeviceParams;
    6968  unsigned32     ulCtrlPort1;
    70   unsigned32     ulCtrlPort2;
    7169  unsigned32     ulDataPort;
    7270  getRegister_f  getRegister;
    7371  setRegister_f  setRegister;
    74   unsigned int   ulIntVector;
    7572} rtc_tbl;
    7673
    77 extern rtc_tbl        RTC_Port_Tbl[];
    78 extern unsigned long  RTC_Port_Count;
     74extern rtc_tbl        RTC_Table[];
     75extern unsigned long  RTC_Count;
    7976
    8077
Note: See TracChangeset for help on using the changeset viewer.