src/network
This commit is contained in:
@@ -692,11 +692,15 @@ static const device_config_t threec503_config[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const device_t threec503_device = {
|
const device_t threec503_device = {
|
||||||
"3Com EtherLink II",
|
.name = "3Com EtherLink II",
|
||||||
"3c503",
|
.internal_name = "3c503",
|
||||||
DEVICE_ISA,
|
.flags = DEVICE_ISA,
|
||||||
0,
|
.local = 0,
|
||||||
threec503_nic_init, threec503_nic_close, NULL,
|
.init = threec503_nic_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = threec503_nic_close,
|
||||||
threec503_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = threec503_config
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1112,9 +1112,15 @@ dp8390_close(void *priv)
|
|||||||
|
|
||||||
|
|
||||||
const device_t dp8390_device = {
|
const device_t dp8390_device = {
|
||||||
"DP8390 Network Interface Controller",
|
.name = "DP8390 Network Interface Controller",
|
||||||
"dp8390",
|
.internal_name = "dp8390",
|
||||||
0, 0,
|
.flags = 0,
|
||||||
dp8390_init, dp8390_close,
|
.local = 0,
|
||||||
NULL, { NULL }, NULL, NULL
|
.init = dp8390_init,
|
||||||
|
.close = dp8390_close,
|
||||||
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = NULL
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1226,51 +1226,71 @@ static const device_config_t mca_mac_config[] = {
|
|||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
const device_t ne1000_device = {
|
const device_t ne1000_device = {
|
||||||
"Novell NE1000",
|
.name = "Novell NE1000",
|
||||||
"ne1k",
|
.internal_name = "ne1k",
|
||||||
DEVICE_ISA,
|
.flags = DEVICE_ISA,
|
||||||
NE2K_NE1000,
|
.local = NE2K_NE1000,
|
||||||
nic_init, nic_close, NULL,
|
.init = nic_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = nic_close,
|
||||||
ne1000_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = ne1000_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t ne2000_device = {
|
const device_t ne2000_device = {
|
||||||
"Novell NE2000",
|
.name = "Novell NE2000",
|
||||||
"ne2k",
|
.internal_name = "ne2k",
|
||||||
DEVICE_ISA | DEVICE_AT,
|
.flags = DEVICE_ISA | DEVICE_AT,
|
||||||
NE2K_NE2000,
|
.local = NE2K_NE2000,
|
||||||
nic_init, nic_close, NULL,
|
.init = nic_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = nic_close,
|
||||||
ne2000_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = ne2000_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t ethernext_mc_device = {
|
const device_t ethernext_mc_device = {
|
||||||
"NetWorth EtherNext/MC",
|
.name = "NetWorth EtherNext/MC",
|
||||||
"ethernextmc",
|
.internal_name = "ethernextmc",
|
||||||
DEVICE_MCA,
|
.flags = DEVICE_MCA,
|
||||||
NE2K_ETHERNEXT_MC,
|
.local = NE2K_ETHERNEXT_MC,
|
||||||
nic_init, nic_close, NULL,
|
.init = nic_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = nic_close,
|
||||||
mca_mac_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = mca_mac_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t rtl8019as_device = {
|
const device_t rtl8019as_device = {
|
||||||
"Realtek RTL8019AS",
|
.name = "Realtek RTL8019AS",
|
||||||
"ne2kpnp",
|
.internal_name = "ne2kpnp",
|
||||||
DEVICE_ISA | DEVICE_AT,
|
.flags = DEVICE_ISA | DEVICE_AT,
|
||||||
NE2K_RTL8019AS,
|
.local = NE2K_RTL8019AS,
|
||||||
nic_init, nic_close, NULL,
|
.init = nic_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = nic_close,
|
||||||
rtl8019as_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = rtl8019as_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t rtl8029as_device = {
|
const device_t rtl8029as_device = {
|
||||||
"Realtek RTL8029AS",
|
.name = "Realtek RTL8029AS",
|
||||||
"ne2kpci",
|
.internal_name = "ne2kpci",
|
||||||
DEVICE_PCI,
|
.flags = DEVICE_PCI,
|
||||||
NE2K_RTL8029AS,
|
.local = NE2K_RTL8029AS,
|
||||||
nic_init, nic_close, NULL,
|
.init = nic_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = nic_close,
|
||||||
rtl8029as_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = rtl8029as_config
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3144,61 +3144,85 @@ static const device_config_t pcnet_vlb_config[] = {
|
|||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
const device_t pcnet_am79c960_device = {
|
const device_t pcnet_am79c960_device = {
|
||||||
"AMD PCnet-ISA",
|
.name = "AMD PCnet-ISA",
|
||||||
"pcnetisa",
|
.internal_name = "pcnetisa",
|
||||||
DEVICE_AT | DEVICE_ISA,
|
.flags = DEVICE_AT | DEVICE_ISA,
|
||||||
DEV_AM79C960,
|
.local = DEV_AM79C960,
|
||||||
pcnet_init, pcnet_close, NULL,
|
.init = pcnet_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = pcnet_close,
|
||||||
pcnet_isa_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = pcnet_isa_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t pcnet_am79c960_eb_device = {
|
const device_t pcnet_am79c960_eb_device = {
|
||||||
"Racal Interlan EtherBlaster",
|
.name = "Racal Interlan EtherBlaster",
|
||||||
"pcnetracal",
|
.internal_name = "pcnetracal",
|
||||||
DEVICE_AT | DEVICE_ISA,
|
.flags = DEVICE_AT | DEVICE_ISA,
|
||||||
DEV_AM79C960_EB,
|
.local = DEV_AM79C960_EB,
|
||||||
pcnet_init, pcnet_close, NULL,
|
.init = pcnet_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = pcnet_close,
|
||||||
pcnet_isa_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = pcnet_isa_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t pcnet_am79c960_vlb_device = {
|
const device_t pcnet_am79c960_vlb_device = {
|
||||||
"AMD PCnet-VL",
|
.name = "AMD PCnet-VL",
|
||||||
"pcnetvlb",
|
.internal_name = "pcnetvlb",
|
||||||
DEVICE_VLB,
|
.flags = DEVICE_VLB,
|
||||||
DEV_AM79C960_VLB,
|
.local = DEV_AM79C960_VLB,
|
||||||
pcnet_init, pcnet_close, NULL,
|
.init = pcnet_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = pcnet_close,
|
||||||
pcnet_vlb_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = pcnet_vlb_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t pcnet_am79c961_device = {
|
const device_t pcnet_am79c961_device = {
|
||||||
"AMD PCnet-ISA+",
|
.name = "AMD PCnet-ISA+",
|
||||||
"pcnetisaplus",
|
.internal_name = "pcnetisaplus",
|
||||||
DEVICE_AT | DEVICE_ISA,
|
.flags = DEVICE_AT | DEVICE_ISA,
|
||||||
DEV_AM79C961,
|
.local = DEV_AM79C961,
|
||||||
pcnet_init, pcnet_close, NULL,
|
.init = pcnet_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = pcnet_close,
|
||||||
pcnet_pci_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = pcnet_pci_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t pcnet_am79c970a_device = {
|
const device_t pcnet_am79c970a_device = {
|
||||||
"AMD PCnet-PCI II",
|
.name = "AMD PCnet-PCI II",
|
||||||
"pcnetpci",
|
.internal_name = "pcnetpci",
|
||||||
DEVICE_PCI,
|
.flags = DEVICE_PCI,
|
||||||
DEV_AM79C970A,
|
.local = DEV_AM79C970A,
|
||||||
pcnet_init, pcnet_close, NULL,
|
.init = pcnet_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = pcnet_close,
|
||||||
pcnet_pci_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = pcnet_pci_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t pcnet_am79c973_device = {
|
const device_t pcnet_am79c973_device = {
|
||||||
"AMD PCnet-FAST III",
|
.name = "AMD PCnet-FAST III",
|
||||||
"pcnetfast",
|
.internal_name = "pcnetfast",
|
||||||
DEVICE_PCI,
|
.flags = DEVICE_PCI,
|
||||||
DEV_AM79C973,
|
.local = DEV_AM79C973,
|
||||||
pcnet_init, pcnet_close, NULL,
|
.init = pcnet_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = pcnet_close,
|
||||||
pcnet_pci_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = pcnet_pci_config
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -504,9 +504,15 @@ const lpt_device_t lpt_plip_device = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const device_t plip_device = {
|
const device_t plip_device = {
|
||||||
"Parallel Line Internet Protocol",
|
.name = "Parallel Line Internet Protocol",
|
||||||
"plip",
|
.internal_name = "plip",
|
||||||
DEVICE_LPT, 0,
|
.flags = DEVICE_LPT,
|
||||||
plip_net_init, NULL,
|
.local = 0,
|
||||||
NULL, { NULL }, NULL, NULL
|
.init = plip_net_init,
|
||||||
|
.close = NULL,
|
||||||
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = NULL
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -892,51 +892,71 @@ static const device_config_t mca_mac_config[] = {
|
|||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
const device_t wd8003e_device = {
|
const device_t wd8003e_device = {
|
||||||
"Western Digital WD8003E",
|
.name = "Western Digital WD8003E",
|
||||||
"wd8003e",
|
.internal_name = "wd8003e",
|
||||||
DEVICE_ISA,
|
.flags = DEVICE_ISA,
|
||||||
WD8003E,
|
.local = WD8003E,
|
||||||
wd_init, wd_close, NULL,
|
.init = wd_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = wd_close,
|
||||||
wd8003_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = wd8003_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t wd8003eb_device = {
|
const device_t wd8003eb_device = {
|
||||||
"Western Digital WD8003EB",
|
.name = "Western Digital WD8003EB",
|
||||||
"wd8003eb",
|
.internal_name = "wd8003eb",
|
||||||
DEVICE_ISA,
|
.flags = DEVICE_ISA,
|
||||||
WD8003EB,
|
.local = WD8003EB,
|
||||||
wd_init, wd_close, NULL,
|
.init = wd_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = wd_close,
|
||||||
wd8003eb_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = wd8003eb_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t wd8013ebt_device = {
|
const device_t wd8013ebt_device = {
|
||||||
"Western Digital WD8013EBT",
|
.name = "Western Digital WD8013EBT",
|
||||||
"wd8013ebt",
|
.internal_name = "wd8013ebt",
|
||||||
DEVICE_ISA,
|
.flags = DEVICE_ISA,
|
||||||
WD8013EBT,
|
.local = WD8013EBT,
|
||||||
wd_init, wd_close, NULL,
|
.init = wd_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = wd_close,
|
||||||
wd8013_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = wd8013_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t wd8003eta_device = {
|
const device_t wd8003eta_device = {
|
||||||
"Western Digital WD8003ET/A",
|
.name = "Western Digital WD8003ET/A",
|
||||||
"wd8003eta",
|
.internal_name = "wd8003eta",
|
||||||
DEVICE_MCA,
|
.flags = DEVICE_MCA,
|
||||||
WD8003ETA,
|
.local = WD8003ETA,
|
||||||
wd_init, wd_close, NULL,
|
.init = wd_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = wd_close,
|
||||||
mca_mac_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = mca_mac_config
|
||||||
};
|
};
|
||||||
|
|
||||||
const device_t wd8003ea_device = {
|
const device_t wd8003ea_device = {
|
||||||
"Western Digital WD8003E/A",
|
.name = "Western Digital WD8003E/A",
|
||||||
"wd8003ea",
|
.internal_name = "wd8003ea",
|
||||||
DEVICE_MCA,
|
.flags = DEVICE_MCA,
|
||||||
WD8003EA,
|
.local = WD8003EA,
|
||||||
wd_init, wd_close, NULL,
|
.init = wd_init,
|
||||||
{ NULL }, NULL, NULL,
|
.close = wd_close,
|
||||||
mca_mac_config
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = mca_mac_config
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -71,12 +71,17 @@
|
|||||||
|
|
||||||
|
|
||||||
static const device_t net_none_device = {
|
static const device_t net_none_device = {
|
||||||
"None",
|
.name = "None",
|
||||||
"none",
|
.internal_name = "none",
|
||||||
0, NET_TYPE_NONE,
|
.flags = 0,
|
||||||
NULL, NULL, NULL,
|
.local = NET_TYPE_NONE,
|
||||||
{ NULL }, NULL, NULL,
|
.init = NULL,
|
||||||
NULL
|
.close = NULL,
|
||||||
|
.reset = NULL,
|
||||||
|
{ .available = NULL },
|
||||||
|
.speed_changed = NULL,
|
||||||
|
.force_redraw = NULL,
|
||||||
|
.config = NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user