Changeset f84493d in network-demos


Ignore:
Timestamp:
Oct 13, 1998, 1:55:51 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master, netdemos-4-5-branch, network-demos-4-10-branch, network-demos-4-6-branch, network-demos-4-7-branch, network-demos-4-8-branch, network-demos-4-9-branch, rtems-4-5-branch
Children:
2a95617
Parents:
14cbc50
Message:

Changed to clarify how to set the network address.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networkconfig.h

    r14cbc50 rf84493d  
    1818
    1919/*
     20 * Define RTEMS_SET_ETHERNET_ADDRESS if you want to specify the
     21 * Ethernet address here.  If RTEMS_SET_ETHERNET_ADDRESS is not
     22 * defined the driver will choose an address.
     23 */
     24/* #define RTEMS_SET_ETHERNET_ADDRESS */
     25#if (defined (RTEMS_SET_ETHERNET_ADDRESS))
     26static char ethernet_address[6] = { 0x08, 0x00, 0x3e, 0x12, 0x28, 0xb1 };
     27#endif
     28
     29/*
    2030 * Default network interface
    2131 */
     
    3444#endif /* !RTEMS_USE_BOOTP */
    3545
    36         NULL,                           /* Driver supplies hardware address */
     46#if (defined (RTEMS_SET_ETHERNET_ADDRESS))
     47        ethernet_address,               /* Ethernet hardware address */
     48#else
     49        NULL,                           /* Driver supplies hardware address */
     50#endif
    3751        0                               /* Use default driver parameters */
    3852};
Note: See TracChangeset for help on using the changeset viewer.