source: rtems/c/src/lib/libbsp/powerpc/beatnik/tod/todcfg.c @ 6273201

4.115
Last change on this file since 6273201 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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