source: network-demos/usercfg.h @ 2ddb68f

4.11netdemos-4-5-branchnetwork-demos-4-10-branchnetwork-demos-4-6-branchnetwork-demos-4-7-branchnetwork-demos-4-8-branchnetwork-demos-4-9-branchrtems-4-5-branch
Last change on this file since 2ddb68f was 2ddb68f, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 30, 1998 at 10:36:04 PM

New files.

  • 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.