Final, cleaned up AMD PCnet emulation.

This commit is contained in:
OBattler
2019-12-02 18:27:40 +01:00
parent cbecf646ce
commit 7f488e14b9
5 changed files with 2798 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
* it should be malloc'ed and then linked to the NETCARD def.
* Will be done later.
*
* Version: @(#)network.c 1.0.12 2019/11/14
* Version: @(#)network.c 1.0.13 2019/12/02
*
* Author: Fred N. van Kempen, <decwiz@yahoo.com>
*
@@ -62,6 +62,7 @@
#include "network.h"
#include "net_3c503.h"
#include "net_ne2000.h"
#include "net_pcnet.h"
#include "net_wd8003.h"
@@ -70,6 +71,8 @@ static netcard_t net_cards[] = {
NULL },
{ "[ISA] 3Com EtherLink II (3C503)","3c503", &threec503_device,
NULL },
{ "[ISA] AMD PCnet-ISA", "pcnetisa", &pcnet_isa_device,
NULL },
{ "[ISA] Novell NE1000", "ne1k", &ne1000_device,
NULL },
{ "[ISA] Novell NE2000", "ne2k", &ne2000_device,
@@ -88,8 +91,12 @@ static netcard_t net_cards[] = {
NULL },
{ "[MCA] Western Digital WD8003E/A", "wd8003ea", &wd8003ea_device,
NULL },
{ "[PCI] AMD PCnet-PCI", "pcnetpci", &pcnet_pci_device,
NULL },
{ "[PCI] Realtek RTL8029AS", "ne2kpci", &rtl8029as_device,
NULL },
{ "[VLB] AMD PCnet-VL", "pcnetvlb", &pcnet_vlb_device,
NULL },
{ "", "", NULL,
NULL }
};