Updated network code, major cleanup. SLiRP and Pcap both tested. UI configuration will need extra work by Kotori.

This commit is contained in:
waltje
2017-05-12 05:05:20 -04:00
parent ced75af0c2
commit 2f9bda8a18
10 changed files with 1174 additions and 854 deletions

View File

@@ -8,7 +8,7 @@
*
* Definitions for the NE2000 ethernet controller.
*
* Version: @(#)net_ne2000.h 1.0.1 2017/05/09
* Version: @(#)net_ne2000.h 1.0.2 2017/05/11
*
* Author: Fred N. van Kempen, <decwiz@yahoo.com>
*/
@@ -16,6 +16,12 @@
# define NET_NE2000_H
#define NE2K_NE1000 1 /* 8bit ISA NE1000 */
#define NE2K_NE2000 2 /* 16bit ISA NE2000 */
#define NE2K_RTL8029AS 3 /* 32bi PCI Realtek 8029AS */
extern device_t ne1000_device;
extern device_t ne2000_device;
extern device_t rtl8029as_device;