source: rtems/c/src/lib/libbsp/powerpc/mvme3100/tod/todcfg.c @ b599faa

4.104.114.95
Last change on this file since b599faa was b599faa, checked in by Till Straumann <strauman@…>, on 12/14/07 at 06:30:15
  • imported MVME3100 BSP (from SLAC repository)
  • Property mode set to 100644
File size: 685 bytes
Line 
1/*
2 * This file contains the RTC driver table for the MVME3100 BSP
3 *
4 * The license and distribution terms for this file may be
5 * found in the file LICENSE in this distribution or at
6 * http://www.rtems.com/license/LICENSE.
7 *
8 * Modified for mvme3100 by T. Straumann, 2007
9 *
10 * $Id$
11 */
12
13#include <bsp.h>
14#include <libchip/rtc.h>
15#include <libchip/ds1375-rtc.h>
16
17/* The following table configures the RTC drivers used in this BSP */
18rtc_tbl RTC_Table[] = {
19        DS1375_RTC_TBL_ENTRY(BSP_I2C_DS1375_RAW_DEV_NAME),
20};
21
22/* Some information used by the RTC driver */
23
24#define NUM_RTCS (sizeof(RTC_Table)/sizeof(rtc_tbl))
25
26size_t RTC_Count = NUM_RTCS;
27
28rtems_device_minor_number RTC_Minor;
Note: See TracBrowser for help on using the repository browser.