summaryrefslogtreecommitdiffstats
path: root/networkconfig-qemu.h
diff options
context:
space:
mode:
Diffstat (limited to 'networkconfig-qemu.h')
-rw-r--r--networkconfig-qemu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/networkconfig-qemu.h b/networkconfig-qemu.h
index 6b42cf1..9c02c61 100644
--- a/networkconfig-qemu.h
+++ b/networkconfig-qemu.h
@@ -22,8 +22,16 @@
#undef RTEMS_BSP_NETWORK_DRIVER_NAME
#undef RTEMS_BSP_NETWORK_DRIVER_ATTACH
+#if 0
#define RTEMS_BSP_NETWORK_DRIVER_NAME "ne1"
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_ne_driver_attach
+#else
+int
+rtems_fxp_attach(struct rtems_bsdnet_ifconfig *config, int attaching);
+#define RTEMS_BSP_NETWORK_DRIVER_NAME "fxp1"
+#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_fxp_attach
+#endif
+
#ifdef RTEMS_USE_BOOTP
#undef RTEMS_USE_BOOTP