source: rtems/c/src/lib/libbsp/arm/csb336/include/bsp.h @ 9b4422a2

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.1 KB
Line 
1/*
2 *  BSP CSB336 header file
3 *
4 *  Copyright (c) 2004 Cogent Computer Systems
5 *  Written 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
15extern "C" {
16#endif
17
18#include <bspopts.h>
19
20#include <rtems.h>
21#include <rtems/iosupp.h>
22#include <rtems/console.h>
23#include <rtems/clockdrv.h>
24#include <mc9328mxl.h>
25
26#define BSP_FEATURE_IRQ_EXTENSION
27
28/* What is the input clock freq in hertz? */
29#define BSP_OSC_FREQ  16000000    /* 16 MHz oscillator */
30#define BSP_XTAL_FREQ 32768       /* 32.768 KHz crystal */
31
32int get_perclk1_freq(void);
33
34/*
35 * Network driver configuration
36 */
37extern struct rtems_bsdnet_ifconfig *config;
38
39/* Change these to match your board */
40int rtems_mc9328mxl_enet_attach(struct rtems_bsdnet_ifconfig *config,
41                                void *chip);
42#define RTEMS_BSP_NETWORK_DRIVER_NAME   "eth0"
43#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_mc9328mxl_enet_attach
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif /* _BSP_H */
50
Note: See TracBrowser for help on using the repository browser.