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

4.115
Last change on this file since cfaa366 was cfaa366, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 17:55:58

General - Remove extraneous blank line in license message

Many files had an extra blank line in the license text
found in the file header. This patch removes that line.

The script that did this also turned off execute permission
when it was turned on incorrectly.

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