refactored device_t and all declarations

This commit is contained in:
Jess Lovelace
2022-01-13 21:06:11 -05:00
parent 8bb18ef598
commit f18615ae87
219 changed files with 707 additions and 10 deletions

View File

@@ -743,6 +743,7 @@ static const device_config_t threec503_config[] =
const device_t threec503_device = {
"3Com EtherLink II",
"threec503",
DEVICE_ISA,
0,
threec503_nic_init, threec503_nic_close, NULL,

View File

@@ -1114,6 +1114,7 @@ dp8390_close(void *priv)
const device_t dp8390_device =
{
"DP8390 Network Interface Controller",
"dp8390",
0, 0,
dp8390_init, dp8390_close,
NULL, { NULL }, NULL, NULL

View File

@@ -1330,6 +1330,7 @@ static const device_config_t mca_mac_config[] =
const device_t ne1000_device = {
"Novell NE1000",
"ne1000",
DEVICE_ISA,
NE2K_NE1000,
nic_init, nic_close, NULL,
@@ -1339,6 +1340,7 @@ const device_t ne1000_device = {
const device_t ne2000_device = {
"Novell NE2000",
"ne2000",
DEVICE_ISA | DEVICE_AT,
NE2K_NE2000,
nic_init, nic_close, NULL,
@@ -1348,6 +1350,7 @@ const device_t ne2000_device = {
const device_t ethernext_mc_device = {
"NetWorth EtherNext/MC",
"ethernext_mc",
DEVICE_MCA,
NE2K_ETHERNEXT_MC,
nic_init, nic_close, NULL,
@@ -1357,6 +1360,7 @@ const device_t ethernext_mc_device = {
const device_t rtl8019as_device = {
"Realtek RTL8019AS",
"rtl8019as",
DEVICE_ISA | DEVICE_AT,
NE2K_RTL8019AS,
nic_init, nic_close, NULL,
@@ -1366,6 +1370,7 @@ const device_t rtl8019as_device = {
const device_t rtl8029as_device = {
"Realtek RTL8029AS",
"rtl8029as",
DEVICE_PCI,
NE2K_RTL8029AS,
nic_init, nic_close, NULL,

View File

@@ -3219,6 +3219,7 @@ static const device_config_t pcnet_vlb_config[] =
const device_t pcnet_am79c960_device = {
"AMD PCnet-ISA ",
"pcnet_am79c960",
DEVICE_AT | DEVICE_ISA,
DEV_AM79C960,
pcnet_init, pcnet_close, NULL,
@@ -3228,6 +3229,7 @@ const device_t pcnet_am79c960_device = {
const device_t pcnet_am79c960_eb_device = {
"Racal Interlan EtherBlaster",
"pcnet_am79c960_eb",
DEVICE_AT | DEVICE_ISA,
DEV_AM79C960_EB,
pcnet_init, pcnet_close, NULL,
@@ -3237,6 +3239,7 @@ const device_t pcnet_am79c960_eb_device = {
const device_t pcnet_am79c960_vlb_device = {
"AMD PCnet-VL",
"pcnet_am79c960_vlb",
DEVICE_VLB,
DEV_AM79C960_VLB,
pcnet_init, pcnet_close, NULL,
@@ -3246,6 +3249,7 @@ const device_t pcnet_am79c960_vlb_device = {
const device_t pcnet_am79c961_device = {
"AMD PCnet-ISA+",
"pcnet_am79c961",
DEVICE_AT | DEVICE_ISA,
DEV_AM79C961,
pcnet_init, pcnet_close, NULL,
@@ -3255,6 +3259,7 @@ const device_t pcnet_am79c961_device = {
const device_t pcnet_am79c970a_device = {
"AMD PCnet-PCI II",
"pcnet_am79c970a",
DEVICE_PCI,
DEV_AM79C970A,
pcnet_init, pcnet_close, NULL,
@@ -3264,6 +3269,7 @@ const device_t pcnet_am79c970a_device = {
const device_t pcnet_am79c973_device = {
"AMD PCnet-FAST III",
"pcnet_am79c973",
DEVICE_PCI,
DEV_AM79C973,
pcnet_init, pcnet_close, NULL,

View File

@@ -504,6 +504,7 @@ const lpt_device_t lpt_plip_device = {
const device_t plip_device = {
"Parallel Line Internet Protocol",
"plip",
DEVICE_LPT, 0,
plip_net_init, NULL,
NULL, { NULL }, NULL, NULL

View File

@@ -1073,6 +1073,7 @@ static const device_config_t mca_mac_config[] =
const device_t wd8003e_device = {
"Western Digital WD8003E",
"wd8003e",
DEVICE_ISA,
WD8003E,
wd_init, wd_close, NULL,
@@ -1082,6 +1083,7 @@ const device_t wd8003e_device = {
const device_t wd8003eb_device = {
"Western Digital WD8003EB",
"wd8003eb",
DEVICE_ISA,
WD8003EB,
wd_init, wd_close, NULL,
@@ -1091,6 +1093,7 @@ const device_t wd8003eb_device = {
const device_t wd8013ebt_device = {
"Western Digital WD8013EBT",
"wd8013ebt",
DEVICE_ISA,
WD8013EBT,
wd_init, wd_close, NULL,
@@ -1100,6 +1103,7 @@ const device_t wd8013ebt_device = {
const device_t wd8003eta_device = {
"Western Digital WD8003ET/A",
"wd8003eta",
DEVICE_MCA,
WD8003ETA,
wd_init, wd_close, NULL,
@@ -1109,6 +1113,7 @@ const device_t wd8003eta_device = {
const device_t wd8003ea_device = {
"Western Digital WD8003E/A",
"wd8003ea",
DEVICE_MCA,
WD8003EA,
wd_init, wd_close, NULL,