Add support for Intel EtherExpress Pro network interface.

This commit is contained in:
W. Eric Norum
2002-07-11 20:30:29 +00:00
parent bc2763fc1a
commit f5b0d3fc22
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
#
# Site-specific overrides for RTEMS-pc386 target
#
TARGET_CFLAGS += -DEPICS_RTEMS_NIC_3C509
#TARGET_CFLAGS += -DEPICS_RTEMS_NIC_3C509
TARGET_CFLAGS += -DEPICS_RTEMS_NIC_EEPRO
+5
View File
@@ -41,6 +41,11 @@ static struct rtems_bsdnet_ifconfig loopback_config = {
# define NIC_NAME "ep0"
# define NIC_ATTACH rtems_3c509_driver_attach
#elif defined(EPICS_RTEMS_NIC_EEPRO) /* Intel EtherExpressPr (82559ER) */
extern int rtems_fxp_attach (struct rtems_bsdnet_ifconfig *, int);
# define NIC_NAME "fxp1"
# define NIC_ATTACH rtems_fxp_attach
#else /* Use NIC provided by BSP */
# define NIC_NAME RTEMS_BSP_NETWORK_DRIVER_NAME
# define NIC_ATTACH RTEMS_BSP_NETWORK_DRIVER_ATTACH