blob: 35a94680fc1e6532275cbfe6255002aabf9f6dfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
/*
* $Id$
*/
#ifndef __USER_CFG_h
#define __USER_CFG_h
/*
* Board ethernet address
* REPLACE THIS WITH YOUR OWN VALUE BEFORE TRYING ANY OF THESE PROGRAMS!!!
*/
#define MY_ETHERNET_ADDRESS "00:80:7F:22:61:77"
/*
* Some board support packages let the network driver
* get the Ethernet address from the bootstrap PROM.
*/
/*
#define MY_ETHERNET_ADDRESS "prom"
*/
/*
* Define this if we should use BOOTP to get information about the target?
*/
/* #define USE_BOOTP 1 */
/*
* If you don't use BOOTP, then you must define MY_IP_ADDRESS.
* CHOOSE A VALUE APPROPRIATE TO YOUR NETWORK!
*/
#define MY_IP_ADDRESS "192.168.1.100"
/*
* Define this if you want to see debugging messages.
*/
/* #define TRACE_NETWORK_DRIVER 1 */
/*
* Need these for the netdemo
*/
#define NSERVER 2
#define BASE_PORT 24742
#define DATA_SINK_HOST "192.168.1.2"
#define DATA_SOURCE_HOST "192.168.1.2"
#define DATA_SOURCE_FILE "tftptest"
/*
* Do some consistency checking.
*/
#ifndef MY_ETHERNET_ADDRESS
#error "Need to define a hardware Ethernet address"
#endif
#if !defined(USE_BOOTP) && !defined(MY_IP_ADDRESS)
#error "MY_IP_ADDRESS is not defined"
#endif
#endif
/* end of include file */
|