summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-10 18:24:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-02-10 18:24:02 +0000
commit83dbe3786387e4efd604987863637b36d4c521ef (patch)
tree5963478dd01aedf6eff1f5f855d4cb752c6ef702
parent2009-02-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadnetwork-demos-83dbe3786387e4efd604987863637b36d4c521ef.tar.bz2
2009-02-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* networkconfig-qemu.h: Add option for qemu to use PCI i82551 NIC.
-rw-r--r--ChangeLog4
-rw-r--r--networkconfig-qemu.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 806cd4a..9860c73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-10 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * networkconfig-qemu.h: Add option for qemu to use PCI i82551 NIC.
+
2008-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* networkconfig.h: Revert previous patch. Use loopback configuration
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