source: rtems/c/src/lib/libbsp/powerpc/qoriq/include/bsp.h @ dc0a7df

4.115
Last change on this file since dc0a7df was dc0a7df, checked in by Sebastian Huber <sebastian.huber@…>, on 07/21/11 at 15:18:02

2011-07-21 Sebastian Huber <sebastian.huber@…>

PR 1799/bsps

  • .cvsignore, ChangeLog?, Makefile.am, README, bsp_specs, configure.ac, clock/clock-config.c, console/console-config.c, console/uart-bridge-master.c, console/uart-bridge-slave.c, include/.cvsignore, include/bsp.h, include/hwreg_vals.h, include/intercom.h, include/irq.h, include/mmu.h, include/qoriq.h, include/tm27.h, include/tsec-config.h, include/u-boot-config.h, include/uart-bridge.h, irq/irq.c, make/custom/qoriq.inc, make/custom/qoriq_core_0.cfg, make/custom/qoriq_core_1.cfg, make/custom/qoriq_p1020rdb.cfg, network/if_intercom.c, network/network.c, rtc/rtc-config.c, shmsupp/intercom-mpci.c, shmsupp/intercom.c, shmsupp/lock.S, start/start.S, startup/bsppredriverhook.c, startup/bspreset.c, startup/bspstart.c, startup/linkcmds.base, startup/linkcmds.qoriq_core_0, startup/linkcmds.qoriq_core_1, startup/linkcmds.qoriq_p1020rdb, startup/mmu-config.c, startup/mmu-tlb1.S, startup/mmu.c: New files.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup QorIQ
5 *
6 * @brief BSP API.
7 */
8
9/*
10 * Copyright (c) 2010 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Obere Lagerstr. 30
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.com/license/LICENSE.
21 *
22 * $Id$
23 */
24
25#ifndef LIBBSP_POWERPC_QORIQ_BSP_H
26#define LIBBSP_POWERPC_QORIQ_BSP_H
27
28#include <bspopts.h>
29
30#ifndef ASM
31
32#include <rtems.h>
33
34#ifdef __cplusplus
35extern "C" {
36#endif /* __cplusplus */
37
38#define BSP_FEATURE_IRQ_EXTENSION
39
40extern unsigned BSP_bus_frequency;
41
42struct rtems_bsdnet_ifconfig;
43
44int BSP_tsec_attach(
45  struct rtems_bsdnet_ifconfig *config,
46  int attaching
47);
48
49int qoriq_if_intercom_attach_detach(
50  struct rtems_bsdnet_ifconfig *config,
51  int attaching
52);
53
54#define RTEMS_BSP_NETWORK_DRIVER_ATTACH BSP_tsec_attach
55#define RTEMS_BSP_NETWORK_DRIVER_ATTACH4 qoriq_if_intercom_attach_detach
56
57#define RTEMS_BSP_NETWORK_DRIVER_NAME "tsec1"
58#define RTEMS_BSP_NETWORK_DRIVER_NAME2 "tsec2"
59#define RTEMS_BSP_NETWORK_DRIVER_NAME3 "tsec3"
60#define RTEMS_BSP_NETWORK_DRIVER_NAME4 "intercom1"
61
62#endif /* ASM */
63
64#ifdef __cplusplus
65}
66#endif /* __cplusplus */
67
68#endif /* LIBBSP_POWERPC_QORIQ_BSP_H */
Note: See TracBrowser for help on using the repository browser.