source: rtems/c/src/lib/libbsp/powerpc/mvme5500/tod/todcfg.c @ e9aa9bb0

4.104.114.84.95
Last change on this file since e9aa9bb0 was 7be6ad9, checked in by Eric Norum <WENorum@…>, on 10/20/04 at 15:21:05

Add MVME550 BSP

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 * This file contains the RTC driver table for Motorola shared BSPs.
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 * $Id$
9 */
10
11#include <bsp.h>
12#include <libchip/rtc.h>
13#include <libchip/m48t08.h>
14
15/* The following table configures the RTC drivers used in this BSP */
16rtc_tbl RTC_Table[] = {
17    {
18        "/dev/rtc",                /* sDeviceName */
19        RTC_M48T08,                /* deviceType */
20        &m48t08_fns,               /* pDeviceFns */
21        rtc_probe,                 /* deviceProbe */
22        NULL,                      /* pDeviceParams */
23        0xF1117FF8,                /* ulCtrlPort1 */
24        0x00,                      /* ulDataPort */
25        m48t08_get_register,       /* getRegister */
26        m48t08_set_register        /* setRegister */
27    }
28};
29
30/* Some information used by the RTC driver */
31
32#define NUM_RTCS (sizeof(RTC_Table)/sizeof(rtc_tbl))
33
34unsigned long RTC_Count = NUM_RTCS;
35
36rtems_device_minor_number RTC_Minor;
Note: See TracBrowser for help on using the repository browser.