annotate packages/devs/eth/arm/npwr/current/cdl/npwr_eth_drivers.cdl @ 2729:74dbf4c3f2e1 after-copyright-change-20090129

Update all copyright banners to reflect FSF ownership; fix and improve licence text.
author jlarmour
date Thu, 29 Jan 2009 17:47:46 +0000
parents cd7f8d6c79dd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
412
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
1 # ====================================================================
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
2 #
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
3 # npwr_eth_drivers.cdl
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
4 #
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
5 # Ethernet drivers
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
6 # Intel NPWR and PRO/100+ platform specific support
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
7 #
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
8 # ====================================================================
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
9 ## ####ECOSGPLCOPYRIGHTBEGIN####
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
10 ## -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
11 ## This file is part of eCos, the Embedded Configurable Operating System.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
12 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
412
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
13 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
14 ## eCos is free software; you can redistribute it and/or modify it under
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
15 ## the terms of the GNU General Public License as published by the Free
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
16 ## Software Foundation; either version 2 or (at your option) any later
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
17 ## version.
412
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
18 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
19 ## eCos is distributed in the hope that it will be useful, but WITHOUT
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
20 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
21 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
22 ## for more details.
412
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
23 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
24 ## You should have received a copy of the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
25 ## along with eCos; if not, write to the Free Software Foundation, Inc.,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
26 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
412
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
27 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
28 ## As a special exception, if other files instantiate templates or use
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
29 ## macros or inline functions from this file, or you compile this file
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
30 ## and link it with other works to produce a work based on this file,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
31 ## this file does not by itself cause the resulting work to be covered by
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
32 ## the GNU General Public License. However the source code for this file
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
33 ## must still be made available in accordance with section (3) of the GNU
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
34 ## General Public License v2.
412
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
35 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
36 ## This exception does not invalidate any other reasons why a work based
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
37 ## on this file might be covered by the GNU General Public License.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
38 ## -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 412
diff changeset
39 ## ####ECOSGPLCOPYRIGHTEND####
412
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
40 # ====================================================================
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
41 ######DESCRIPTIONBEGIN####
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
42 #
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
43 # Author(s): hmt
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
44 # Original data: hmt
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
45 # Contributors: gthomas
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
46 # Date: 2000-02-01
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
47 #
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
48 #####DESCRIPTIONEND####
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
49 #
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
50 # ====================================================================
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
51
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
52 cdl_package CYGPKG_DEVS_ETH_ARM_XSCALE_NPWR {
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
53 display "NPWR Linux Engine with PRO/100+ ethernet driver"
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
54
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
55 parent CYGPKG_IO_ETH_DRIVERS
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
56 active_if CYGPKG_IO_ETH_DRIVERS
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
57 active_if CYGPKG_HAL_ARM_XSCALE_NPWR
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
58
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
59 include_dir cyg/io
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
60
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
61 # FIXME: This really belongs in the INTEL_I82544 package
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
62 cdl_interface CYGINT_DEVS_ETH_INTEL_I82544_REQUIRED {
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
63 display "Intel i82544 ethernet driver required"
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
64 }
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
65
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
66 define_proc {
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
67 puts $::cdl_system_header "/***** ethernet driver proc output start *****/"
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
68 puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_INTEL_I82544_INL <cyg/io/devs_eth_npwr.inl>"
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
69 puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_INTEL_I82544_CFG <pkgconf/devs_eth_arm_xscale_npwr.h>"
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
70 puts $::cdl_system_header "/***** ethernet driver proc output end *****/"
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
71 }
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
72
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
73
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
74 cdl_component CYGPKG_DEVS_ETH_ARM_NPWR_I82544_ETH0 {
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
75 display "NPWR builtin ethernet port driver"
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
76 flavor bool
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
77 default_value 1
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
78 description "
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
79 This option includes the ethernet device driver for the
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
80 NPWR builtin port."
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
81
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
82 implements CYGHWR_NET_DRIVERS
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
83 implements CYGHWR_NET_DRIVER_ETH0
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
84 implements CYGINT_DEVS_ETH_INTEL_I82544_REQUIRED
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
85
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
86 cdl_option CYGDAT_DEVS_ETH_ARM_NPWR_I82544_ETH0_NAME {
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
87 display "Device name for the ETH0 ethernet port driver"
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
88 flavor data
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
89 default_value {"\"eth0\""}
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
90 description "
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
91 This option sets the name of the ethernet device for the
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
92 NPWR builtin port."
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
93 }
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
94
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
95 cdl_component CYGSEM_DEVS_ETH_ARM_NPWR_I82544_ETH0_SET_ESA {
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
96 display "Set the ethernet station address"
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
97 flavor bool
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
98 default_value 0
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
99 description "Enabling this option will allow the ethernet
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
100 station address to be forced to the value set by the
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
101 configuration. This may be required if the hardware does
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
102 not include a serial EEPROM for the ESA."
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
103
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
104 cdl_option CYGDAT_DEVS_ETH_ARM_NPWR_I82544_ETH0_ESA {
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
105 display "The ethernet station address"
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
106 flavor data
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
107 default_value {"{0x00, 0xB5, 0xE0, 0xB5, 0xE0, 0x11}"}
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
108 description "The ethernet station address"
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
109 }
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
110 }
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
111
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
112 }
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
113
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
114 }
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
115
cd7f8d6c79dd Ethernet driver for NPWR Linux Engine
gthomas
parents:
diff changeset
116 # EOF npwr_eth_drivers.cdl