4.115
Last change
on this file since 9b4422a2 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.3 KB
|
Line | |
---|
1 | /* |
---|
2 | * CSB337 BSP header file |
---|
3 | * |
---|
4 | * Copyright (c) 2004 by Cogent Computer Systems |
---|
5 | * Writtent by Jay Monkman <jtm@lopingdog.com> |
---|
6 | * |
---|
7 | * The license and distribution terms for this file may be |
---|
8 | * found in the file LICENSE in this distribution or at |
---|
9 | * http://www.rtems.com/license/LICENSE. |
---|
10 | */ |
---|
11 | #ifndef _BSP_H |
---|
12 | #define _BSP_H |
---|
13 | |
---|
14 | #ifdef __cplusplus |
---|
15 | extern "C" { |
---|
16 | #endif |
---|
17 | |
---|
18 | #include <bspopts.h> |
---|
19 | |
---|
20 | #include <rtems.h> |
---|
21 | #include <rtems/console.h> |
---|
22 | #include <rtems/clockdrv.h> |
---|
23 | #include <libchip/serial.h> |
---|
24 | |
---|
25 | #define BSP_FEATURE_IRQ_EXTENSION |
---|
26 | |
---|
27 | /* What is the input clock freq in hertz? */ |
---|
28 | #define BSP_MAIN_FREQ 3686400 /* 3.6864 MHz */ |
---|
29 | #define BSP_SLCK_FREQ 32768 /* 32.768 KHz */ |
---|
30 | |
---|
31 | /* What is the last interrupt? */ |
---|
32 | #define BSP_MAX_INT AT91RM9200_MAX_INT |
---|
33 | |
---|
34 | console_tbl *BSP_get_uart_from_minor(int minor); |
---|
35 | static inline int32_t BSP_get_baud(void) {return 38400;} |
---|
36 | |
---|
37 | #define ST_PIMR_PIV 33 /* 33 ticks of the 32.768Khz clock ~= 1msec */ |
---|
38 | |
---|
39 | /* |
---|
40 | * Network driver configuration |
---|
41 | */ |
---|
42 | extern struct rtems_bsdnet_ifconfig *config; |
---|
43 | |
---|
44 | /* Change these to match your board */ |
---|
45 | int rtems_at91rm9200_emac_attach(struct rtems_bsdnet_ifconfig *config, int attaching); |
---|
46 | #define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0" |
---|
47 | #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_at91rm9200_emac_attach |
---|
48 | |
---|
49 | #ifdef __cplusplus |
---|
50 | } |
---|
51 | #endif |
---|
52 | |
---|
53 | #endif /* _BSP_H */ |
---|
54 | |
---|
Note: See
TracBrowser
for help on using the repository browser.