source: network-demos/networkconfig.h @ 7ba2ac5

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 7ba2ac5 was 4cfe89f, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 21, 1998 at 1:19:35 PM

Removed -- now provided by RTEMS

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 * Network configuration
3 *
4 ************************************************************
5 * EDIT THIS FILE TO REFLECT YOUR NETWORK CONFIGURATION     *
6 * BEFORE RUNNING ANY RTEMS PROGRAMS WHICH USE THE NETWORK! *
7 ************************************************************
8 *
9 *  $Id$
10 */
11
12#ifndef _RTEMS_NETWORKCONFIG_H_
13#define _RTEMS_NETWORKCONFIG_H_
14
15#define RTEMS_USE_BOOTP
16
17#include <bsp.h>
18
19/*
20 * Default network interface
21 */
22static struct rtems_bsdnet_ifconfig netdriver_config = {
23        RTEMS_BSP_NETWORK_DRIVER_NAME,          /* name */
24        RTEMS_BSP_NETWORK_DRIVER_ATTACH,        /* attach function */
25
26        NULL,                           /* link to next interface */
27
28#if (defined (RTEMS_USE_BOOTP))
29        NULL,                           /* BOOTP supplies IP address */
30        NULL,                           /* BOOTP supplies IP net mask */
31#else
32        "128.233.14.91",                /* IP address */
33        "255.255.255.0",                /* IP net mask */
34#endif /* !RTEMS_USE_BOOTP */
35
36        NULL,                           /* Driver supplies hardware address */
37        0                               /* Use default driver parameters */
38};
39
40/*
41 * Network configuration
42 */
43struct rtems_bsdnet_config rtems_bsdnet_config = {
44        &netdriver_config,
45
46#if (defined (RTEMS_USE_BOOTP))
47        rtems_bsdnet_do_bootp,
48#else
49        NULL,
50#endif
51
52        0,                      /* Default network task priority */
53        0,                      /* Default mbuf capacity */
54        0,                      /* Default mbuf cluster capacity */
55
56#if (!defined (RTEMS_USE_BOOTP))
57        "rgamon",               /* Host name */
58        "usask.ca",             /* Domain name */
59        "128.233.14.100",       /* Gateway */
60        "128.233.14.1",         /* Log host */
61        {"128.233.14.1" },      /* Name server(s) */
62#endif /* !RTEMS_USE_BOOTP */
63
64};
65
66/*
67 * For TFTP test application
68 */
69#if (!defined (RTEMS_USE_BOOTP))
70#define RTEMS_TFTP_TEST_HOST_NAME "128.233.14.1"
71#define RTEMS_TFTP_TEST_FILE_NAME "bootfiles/m68360/RGAmonitor"
72#endif
73
74#endif /* _RTEMS_NETWORKCONFIG_H_ */
Note: See TracBrowser for help on using the repository browser.