1 |
786 |
skrzyp |
# ====================================================================
|
2 |
|
|
#
|
3 |
|
|
# vrc4375_eth_drivers.cdl
|
4 |
|
|
#
|
5 |
|
|
# Ethernet drivers - support for i21143 ethernet controller
|
6 |
|
|
# on the NEC VRC4375 "Blue Nile" board.
|
7 |
|
|
#
|
8 |
|
|
# ====================================================================
|
9 |
|
|
## ####ECOSGPLCOPYRIGHTBEGIN####
|
10 |
|
|
## -------------------------------------------
|
11 |
|
|
## This file is part of eCos, the Embedded Configurable Operating System.
|
12 |
|
|
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
13 |
|
|
##
|
14 |
|
|
## eCos is free software; you can redistribute it and/or modify it under
|
15 |
|
|
## the terms of the GNU General Public License as published by the Free
|
16 |
|
|
## Software Foundation; either version 2 or (at your option) any later
|
17 |
|
|
## version.
|
18 |
|
|
##
|
19 |
|
|
## eCos is distributed in the hope that it will be useful, but WITHOUT
|
20 |
|
|
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
21 |
|
|
## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
22 |
|
|
## for more details.
|
23 |
|
|
##
|
24 |
|
|
## You should have received a copy of the GNU General Public License
|
25 |
|
|
## along with eCos; if not, write to the Free Software Foundation, Inc.,
|
26 |
|
|
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
27 |
|
|
##
|
28 |
|
|
## As a special exception, if other files instantiate templates or use
|
29 |
|
|
## macros or inline functions from this file, or you compile this file
|
30 |
|
|
## and link it with other works to produce a work based on this file,
|
31 |
|
|
## this file does not by itself cause the resulting work to be covered by
|
32 |
|
|
## the GNU General Public License. However the source code for this file
|
33 |
|
|
## must still be made available in accordance with section (3) of the GNU
|
34 |
|
|
## General Public License v2.
|
35 |
|
|
##
|
36 |
|
|
## This exception does not invalidate any other reasons why a work based
|
37 |
|
|
## on this file might be covered by the GNU General Public License.
|
38 |
|
|
## -------------------------------------------
|
39 |
|
|
## ####ECOSGPLCOPYRIGHTEND####
|
40 |
|
|
# ====================================================================
|
41 |
|
|
######DESCRIPTIONBEGIN####
|
42 |
|
|
#
|
43 |
|
|
# Author(s): hmt
|
44 |
|
|
# Contributors:
|
45 |
|
|
# Date: 2001-09-17
|
46 |
|
|
#
|
47 |
|
|
#####DESCRIPTIONEND####
|
48 |
|
|
#
|
49 |
|
|
# ====================================================================
|
50 |
|
|
|
51 |
|
|
cdl_package CYGPKG_DEVS_ETH_MIPS_VRC4375 {
|
52 |
|
|
display "NEC vrc4375 ethernet driver"
|
53 |
|
|
description "
|
54 |
|
|
Ethernet driver for vrc4375 'Blue Nile' board with one Intel
|
55 |
|
|
i21143 Ethernet controller attached via the PCI bus."
|
56 |
|
|
|
57 |
|
|
parent CYGPKG_IO_ETH_DRIVERS
|
58 |
|
|
active_if CYGPKG_IO_ETH_DRIVERS
|
59 |
|
|
active_if CYGPKG_HAL_MIPS_VR4300_VRC4375
|
60 |
|
|
|
61 |
|
|
include_dir cyg/io
|
62 |
|
|
|
63 |
|
|
cdl_interface CYGINT_DEVS_ETH_INTEL_I21143_REQUIRED {
|
64 |
|
|
display "Intel i21143 ethernet driver required"
|
65 |
|
|
}
|
66 |
|
|
|
67 |
|
|
define_proc {
|
68 |
|
|
puts $::cdl_system_header "/***** ethernet driver proc output start *****/"
|
69 |
|
|
puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_INTEL_I21143_INL "
|
70 |
|
|
puts $::cdl_system_header "#define CYGDAT_DEVS_ETH_INTEL_I21143_CFG "
|
71 |
|
|
puts $::cdl_system_header "/***** ethernet driver proc output end *****/"
|
72 |
|
|
}
|
73 |
|
|
|
74 |
|
|
cdl_component CYGPKG_DEVS_ETH_MIPS_VRC4375_ETH0 {
|
75 |
|
|
display "Vrc4375 ethernet port 0 driver"
|
76 |
|
|
flavor bool
|
77 |
|
|
default_value 1
|
78 |
|
|
description "
|
79 |
|
|
This option includes the ethernet device driver for the
|
80 |
|
|
vrc4375Engine or vrc4375Bridge port 0 - that is the connector one
|
81 |
|
|
slot in from the corner of the board, or the only connector
|
82 |
|
|
depending on your particular hardware."
|
83 |
|
|
|
84 |
|
|
implements CYGHWR_NET_DRIVERS
|
85 |
|
|
implements CYGHWR_NET_DRIVER_ETH0
|
86 |
|
|
implements CYGINT_DEVS_ETH_INTEL_I21143_REQUIRED
|
87 |
|
|
|
88 |
|
|
cdl_option CYGDAT_DEVS_ETH_MIPS_VRC4375_ETH0_NAME {
|
89 |
|
|
display "Device name for the ethernet port 0 driver"
|
90 |
|
|
flavor data
|
91 |
|
|
default_value {"\"eth0\""}
|
92 |
|
|
description "
|
93 |
|
|
This option sets the name of the ethernet device for the
|
94 |
|
|
ethernet port 0."
|
95 |
|
|
}
|
96 |
|
|
|
97 |
|
|
cdl_component CYGSEM_DEVS_ETH_MIPS_VRC4375_ETH0_SET_ESA {
|
98 |
|
|
display "Set the ethernet station address"
|
99 |
|
|
flavor bool
|
100 |
|
|
description "Enabling this option will allow the ethernet
|
101 |
|
|
station address to be forced to the value set by the
|
102 |
|
|
configuration. This may be required if the hardware does
|
103 |
|
|
not include a serial EEPROM for the ESA."
|
104 |
|
|
|
105 |
|
|
cdl_option CYGDAT_DEVS_ETH_MIPS_VRC4375_ETH0_ESA {
|
106 |
|
|
display "The ethernet station address"
|
107 |
|
|
flavor data
|
108 |
|
|
default_value {"{0x00, 0x12, 0x34, 0x55, 0x55, 0x66}"}
|
109 |
|
|
description "The ethernet station address"
|
110 |
|
|
}
|
111 |
|
|
}
|
112 |
|
|
}
|
113 |
|
|
}
|
114 |
|
|
|
115 |
|
|
# EOF vrc4375_eth_drivers.cdl
|