Changeset 5378a29 in rtems


Ignore:
Timestamp:
Oct 13, 2004, 12:03:09 AM (15 years ago)
Author:
Eric Norum <WENorum@…>
Children:
172f7dc
Parents:
361d58e
Message:

Add driver for Motorola MC146818A time-of-day clock.
Use above driver in i386/pc386 BSP.

Location:
c/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/clock/Makefile.am

    r361d58e r5378a29  
    33##
    44
     5VPATH = @srcdir@:@srcdir@/../../shared/tod:@srcdir@/../../../shared
    56
    67PGM = $(ARCH)/clock.rel
    78
    8 C_FILES = ckinit.c rtc.c
     9C_FILES = ckinit.c todcfg.c tod.c
    910clock_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    1011
     
    2627.PRECIOUS: $(PGM)
    2728
    28 EXTRA_DIST = ckinit.c rtc.c
     29EXTRA_DIST =
    2930
    3031include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/libchip/rtc/Makefile.am

    r361d58e r5378a29  
    1111C_FILES = rtcprobe.c icm7170.c icm7170_reg.c icm7170_reg2.c icm7170_reg4.c \
    1212    icm7170_reg8.c m48t08.c m48t08_reg.c m48t08_reg2.c m48t08_reg4.c \
    13     m48t08_reg8.c
     13    m48t08_reg8.c \
     14    mc146818a.c mc146818a_ioreg.c
    1415
    1516OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    1617
    17 include_libchip_HEADERS = rtc.h icm7170.h m48t08.h
     18include_libchip_HEADERS = rtc.h icm7170.h m48t08.h mc146818a.h
    1819
    1920include $(top_srcdir)/../../../automake/compile.am
  • c/src/libchip/rtc/rtc.h

    r361d58e r5378a29  
    3333  RTC_M48T08,                  /* SGS-Thomsom M48T08 or M48T18 */
    3434  RTC_ICM7170,                 /* Harris ICM-7170 */
    35   RTC_CUSTOM                   /* BSP specific driver */
     35  RTC_CUSTOM,                  /* BSP specific driver */
     36  RTC_MC146818A                /* Motorola MC146818A */
     37
    3638} rtc_devs;
    3739
Note: See TracChangeset for help on using the changeset viewer.