source: network-demos/usercfg.h @ 8cfa3aa

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 8cfa3aa was cf04c14, checked in by Joel Sherrill <joel.sherrill@…>, on 08/12/98 at 23:04:57

Added info on telnet servers needed by netdemo.

Added info on tftp server for non-bootp systems.

  • Property mode set to 100644
File size: 1.2 KB
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 *  Need these for the netdemo
44 */
45
46#define NSERVER               2
47#define BASE_PORT     24742
48
49#define DATA_SINK_HOST        "192.168.1.2"
50#define DATA_SOURCE_HOST      "192.168.1.2"
51#define DATA_SOURCE_FILE      "tftptest"
52
53/*
54 *  Do some consistency checking.
55 */
56
57#ifndef MY_ETHERNET_ADDRESS
58#error "Need to define a hardware Ethernet address"
59#endif
60
61#if !defined(USE_BOOTP) && !defined(MY_IP_ADDRESS)
62#error "MY_IP_ADDRESS is not defined"
63#endif
64
65#endif
66/* end of include file */
Note: See TracBrowser for help on using the repository browser.