netdemos-19980808
Last change
on this file since 2fe49d5 was
2fe49d5,
checked in by cvs2git <rtems-devel@…>, on 08/08/98 at 17:51:31
|
This commit was manufactured by cvs2svn to create tag 'netdemos-19980808'.
Sprout from ERIC-NORUM 1998-07-30 14:42:29 UTC Joel Sherrill <joel.sherrill@…> 'base from Eric Norum -- Demos.30May1998.tar.gz'
Cherrypick from master 1998-08-08 17:51:30 UTC Joel Sherrill <joel.sherrill@…> 'Added print.':
DEBUG.hints
DEBUG.linux
netdemo/Makefile
netdemo/README
netdemo/init.c
netdemo/test.c
tftpTest/init.c
ttcp/init.c
usercfg.h
|
-
Property mode set to
100644
|
File size:
1003 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | */ |
---|
4 | |
---|
5 | #ifndef __USER_CFG_h |
---|
6 | #define __USER_CFG_h |
---|
7 | |
---|
8 | /* |
---|
9 | * Board ethernet address |
---|
10 | * REPLACE THIS WITH YOUR OWN VALUE BEFORE TRYING ANY OF THESE PROGRAMS!!! |
---|
11 | */ |
---|
12 | #define MY_ETHERNET_ADDRESS "00:80:7F:22:61:77" |
---|
13 | |
---|
14 | /* |
---|
15 | * Some board support packages let the network driver |
---|
16 | * get the Ethernet address from the bootstrap PROM. |
---|
17 | */ |
---|
18 | /* |
---|
19 | #define MY_ETHERNET_ADDRESS "prom" |
---|
20 | */ |
---|
21 | |
---|
22 | |
---|
23 | /* |
---|
24 | * Define this if we should use BOOTP to get information about the target? |
---|
25 | */ |
---|
26 | /* #define USE_BOOTP 1 */ |
---|
27 | |
---|
28 | /* |
---|
29 | * If you don't use BOOTP, then you must define MY_IP_ADDRESS. |
---|
30 | * CHOOSE A VALUE APPROPRIATE TO YOUR NETWORK! |
---|
31 | */ |
---|
32 | |
---|
33 | #define MY_IP_ADDRESS "192.168.1.100" |
---|
34 | |
---|
35 | |
---|
36 | /* |
---|
37 | * Define this if you want to see debugging messages. |
---|
38 | */ |
---|
39 | |
---|
40 | #define TRACE_NETWORK_DRIVER 1 |
---|
41 | |
---|
42 | /* |
---|
43 | * Do some consistency checking. |
---|
44 | */ |
---|
45 | |
---|
46 | #ifndef MY_ETHERNET_ADDRESS |
---|
47 | #error "Need to define a hardware Ethernet address" |
---|
48 | #endif |
---|
49 | |
---|
50 | #if !defined(USE_BOOTP) && !defined(MY_IP_ADDRESS) |
---|
51 | #error "MY_IP_ADDRESS is not defined" |
---|
52 | #endif |
---|
53 | |
---|
54 | #endif |
---|
55 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.