src/chipset

This commit is contained in:
Jasmine Iwanek
2022-03-13 09:21:08 -04:00
parent 66a687d68d
commit a52f0cca79
49 changed files with 1268 additions and 1214 deletions

View File

@@ -397,11 +397,15 @@ ct_82c100_init(const device_t *info)
const device_t ct_82c100_device = {
"C&T 82C100",
"ct_82c100",
0,
0,
ct_82c100_init, ct_82c100_close, ct_82c100_reset,
{ NULL }, NULL, NULL,
NULL
.name = "C&T 82C100",
.internal_name = "ct_82c100",
.flags = 0,
.local = 0,
.init = ct_82c100_init,
.close = ct_82c100_close,
.reset = ct_82c100_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -193,14 +193,15 @@ acc2168_init(const device_t *info)
}
const device_t acc2168_device = {
"ACC 2046/2168",
"acc2168",
0,
0,
acc2168_init,
acc2168_close,
NULL,
{NULL},
NULL,
NULL,
NULL};
.name = "ACC 2046/2168",
.internal_name = "acc2168",
.flags = 0,
.local = 0,
.init = acc2168_init,
.close = acc2168_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -339,21 +339,29 @@ ali1429_init(const device_t *info)
}
const device_t ali1429_device = {
"ALi M1429",
"ali1429",
0,
0,
ali1429_init, ali1429_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "ALi M1429",
.internal_name = "ali1429",
.flags = 0,
.local = 0,
.init = ali1429_init,
.close = ali1429_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t ali1429g_device = {
"ALi M1429G",
"ali1429g",
0,
1,
ali1429_init, ali1429_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "ALi M1429G",
.internal_name = "ali1429g",
.flags = 0,
.local = 1,
.init = ali1429_init,
.close = ali1429_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -626,16 +626,16 @@ ali1489_init(const device_t *info)
return dev;
}
const device_t ali1489_device = {
"ALi M1489",
"ali1489",
0,
0,
ali1489_init,
ali1489_close,
ali1489_reset,
{NULL},
NULL,
NULL,
NULL};
.name = "ALi M1489",
.internal_name = "ali1489",
.flags = 0,
.local = 0,
.init = ali1489_init,
.close = ali1489_close,
.reset = ali1489_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -376,17 +376,16 @@ ali1531_init(const device_t *info)
return dev;
}
const device_t ali1531_device = {
"ALi M1531 CPU-to-PCI Bridge",
"ali1531",
DEVICE_PCI,
0,
ali1531_init,
ali1531_close,
ali1531_reset,
{NULL},
NULL,
NULL,
NULL
.name = "ALi M1531 CPU-to-PCI Bridge",
.internal_name = "ali1531",
.flags = DEVICE_PCI,
.local = 0,
.init = ali1531_init,
.close = ali1531_close,
.reset = ali1531_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -641,17 +641,16 @@ ali1541_init(const device_t *info)
return dev;
}
const device_t ali1541_device = {
"ALi M1541 CPU-to-PCI Bridge",
"ali1541",
DEVICE_PCI,
0,
ali1541_init,
ali1541_close,
ali1541_reset,
{NULL},
NULL,
NULL,
NULL
.name = "ALi M1541 CPU-to-PCI Bridge",
.internal_name = "ali1541",
.flags = DEVICE_PCI,
.local = 0,
.init = ali1541_init,
.close = ali1541_close,
.reset = ali1541_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -1741,31 +1741,30 @@ ali1543_init(const device_t *info)
return dev;
}
const device_t ali1543_device = {
"ALi M1543 Desktop South Bridge",
"ali1543",
DEVICE_PCI,
0,
ali1543_init,
ali1543_close,
ali1543_reset,
{ NULL },
NULL,
NULL,
NULL
.name = "ALi M1543 Desktop South Bridge",
.internal_name = "ali1543",
.flags = DEVICE_PCI,
.local = 0,
.init = ali1543_init,
.close = ali1543_close,
.reset = ali1543_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t ali1543c_device = {
"ALi M1543C Desktop South Bridge",
"ali1543c",
DEVICE_PCI,
1,
ali1543_init,
ali1543_close,
ali1543_reset,
{ NULL },
NULL,
NULL,
NULL
.name = "ALi M1543C Desktop South Bridge",
.internal_name = "ali1543c",
.flags = DEVICE_PCI,
.local = 1,
.init = ali1543_init,
.close = ali1543_close,
.reset = ali1543_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -670,17 +670,16 @@ ali1621_init(const device_t *info)
return dev;
}
const device_t ali1621_device = {
"ALi M1621 CPU-to-PCI Bridge",
"ali1621",
DEVICE_PCI,
0,
ali1621_init,
ali1621_close,
ali1621_reset,
{NULL},
NULL,
NULL,
NULL
.name = "ALi M1621 CPU-to-PCI Bridge",
.internal_name = "ali1621",
.flags = DEVICE_PCI,
.local = 0,
.init = ali1621_init,
.close = ali1621_close,
.reset = ali1621_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -375,34 +375,30 @@ ali6117_init(const device_t *info)
return dev;
}
const device_t ali1217_device =
{
"ALi M1217",
"ali1217",
DEVICE_AT,
0x8,
ali6117_init,
ali6117_close,
ali6117_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t ali1217_device = {
.name = "ALi M1217",
.internal_name = "ali1217",
.flags = DEVICE_AT,
.local = 0x8,
.init = ali6117_init,
.close = ali6117_close,
.reset = ali6117_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t ali6117d_device =
{
"ALi M6117D",
"ali6117d",
DEVICE_AT,
0x2,
ali6117_init,
ali6117_close,
ali6117_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t ali6117d_device = {
.name = "ALi M6117D",
.internal_name = "ali6117d",
.flags = DEVICE_AT,
.local = 0x2,
.init = ali6117_init,
.close = ali6117_close,
.reset = ali6117_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -346,32 +346,30 @@ contaq_82c59x_init(const device_t *info)
return dev;
}
const device_t contaq_82c596a_device = {
"Contaq 82C596A",
"contaq_82c596a",
0,
0,
contaq_82c59x_init,
contaq_82c59x_close,
NULL,
{ NULL },
NULL,
NULL,
NULL
.name = "Contaq 82C596A",
.internal_name = "contaq_82c596a",
.flags = 0,
.local = 0,
.init = contaq_82c59x_init,
.close = contaq_82c59x_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t contaq_82c597_device = {
"Contaq 82C597",
"contaq_82c597",
0,
1,
contaq_82c59x_init,
contaq_82c59x_close,
NULL,
{ NULL },
NULL,
NULL,
NULL
.name = "Contaq 82C597",
.internal_name = "contaq_82c597",
.flags = 0,
.local = 1,
.init = contaq_82c59x_init,
.close = contaq_82c59x_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -176,14 +176,15 @@ cs4031_init(const device_t *info)
}
const device_t cs4031_device = {
"Chips & Technogies CS4031",
"cs4031",
0,
0,
cs4031_init,
cs4031_close,
NULL,
{NULL},
NULL,
NULL,
NULL};
.name = "Chips & Technogies CS4031",
.internal_name = "cs4031",
.flags = 0,
.local = 0,
.init = cs4031_init,
.close = cs4031_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -156,13 +156,16 @@ static void
return cs8230;
}
const device_t cs8230_device = {
"C&T CS8230 (386/AT)",
"cs8230",
0,
0,
cs8230_init, cs8230_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "C&T CS8230 (386/AT)",
.internal_name = "cs8230",
.flags = 0,
.local = 0,
.init = cs8230_init,
.close = cs8230_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -149,14 +149,15 @@ et6000_init(const device_t *info)
}
const device_t et6000_device = {
"ETEQ Cheetah ET6000",
"et6000",
0,
0,
et6000_init,
et6000_close,
NULL,
{NULL},
NULL,
NULL,
NULL};
.name = "ETEQ Cheetah ET6000",
.internal_name = "et6000",
.flags = 0,
.local = 0,
.init = et6000_init,
.close = et6000_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -230,23 +230,30 @@ gc100_init(const device_t *info)
return dev;
}
const device_t gc100_device = {
"G2 GC100",
"gc100",
0,
0,
gc100_init, gc100_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "G2 GC100",
.internal_name = "gc100",
.flags = 0,
.local = 0,
.init = gc100_init,
.close = gc100_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t gc100a_device = {
"G2 GC100A",
"gc100a",
0,
1,
gc100_init, gc100_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "G2 GC100A",
.internal_name = "gc100a",
.flags = 0,
.local = 1,
.init = gc100_init,
.close = gc100_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -684,43 +684,58 @@ headland_init(const device_t *info)
return(dev);
}
const device_t headland_gc10x_device = {
"Headland GC101/102/103",
"headland_gc10x",
0,
0,
headland_init, headland_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "Headland GC101/102/103",
.internal_name = "headland_gc10x",
.flags = 0,
.local = 0,
.init = headland_init,
.close = headland_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t headland_ht18a_device = {
"Headland HT18 Rev. A",
"headland_ht18a",
0,
1,
headland_init, headland_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "Headland HT18 Rev. A",
.internal_name = "headland_ht18a",
.flags = 0,
.local = 1,
.init = headland_init,
.close = headland_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t headland_ht18b_device = {
"Headland HT18 Rev. B",
"headland_ht18b",
0,
2,
headland_init, headland_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "Headland HT18 Rev. B",
.internal_name = "headland_ht18b",
.flags = 0,
.local = 2,
.init = headland_init,
.close = headland_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t headland_ht18c_device = {
"Headland HT18 Rev. C",
"headland_ht18c",
0,
8,
headland_init, headland_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "Headland HT18 Rev. C",
.internal_name = "headland_ht18c",
.flags = 0,
.local = 8,
.init = headland_init,
.close = headland_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -400,13 +400,16 @@ ims8848_init(const device_t *info)
return dev;
}
const device_t ims8848_device = {
"IMS 8848/8849",
"ims8848",
0,
0,
ims8848_init, ims8848_close, ims8848_reset,
{ NULL }, NULL, NULL,
NULL
.name = "IMS 8848/8849",
.internal_name = "ims8848",
.flags = 0,
.local = 0,
.init = ims8848_init,
.close = ims8848_close,
.reset = ims8848_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -528,34 +528,30 @@ i420ex_init(const device_t *info)
return dev;
}
const device_t i420ex_device =
{
"Intel 82420EX",
"i420ex",
DEVICE_PCI,
0x00,
i420ex_init,
i420ex_close,
i420ex_reset,
{ NULL },
i420ex_speed_changed,
NULL,
NULL
const device_t i420ex_device = {
.name = "Intel 82420EX",
.internal_name = "i420ex",
.flags = DEVICE_PCI,
.local = 0x00,
.init = i420ex_init,
.close = i420ex_close,
.reset = i420ex_reset,
{ .available = NULL },
.speed_changed = i420ex_speed_changed,
.force_redraw = NULL,
.config = NULL
};
const device_t i420ex_ide_device =
{
"Intel 82420EX (With IDE)",
"i420ex_ide",
DEVICE_PCI,
0x01,
i420ex_init,
i420ex_close,
i420ex_reset,
{ NULL },
i420ex_speed_changed,
NULL,
NULL
const device_t i420ex_ide_device = {
.name = "Intel 82420EX (With IDE)",
.internal_name = "i420ex_ide",
.flags = DEVICE_PCI,
.local = 0x01,
.init = i420ex_init,
.close = i420ex_close,
.reset = i420ex_reset,
{ .available = NULL },
.speed_changed = i420ex_speed_changed,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -1633,252 +1633,226 @@ static void
return dev;
}
const device_t i420tx_device =
{
"Intel 82424TX",
"i420tx",
DEVICE_PCI,
INTEL_420TX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i420tx_device = {
.name = "Intel 82424TX",
.internal_name = "i420tx",
.flags = DEVICE_PCI,
.local = INTEL_420TX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i420zx_device =
{
"Intel 82424ZX",
"i420zx",
DEVICE_PCI,
INTEL_420ZX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i420zx_device = {
.name = "Intel 82424ZX",
.internal_name = "i420zx",
.flags = DEVICE_PCI,
.local = INTEL_420ZX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i430lx_device =
{
"Intel 82434LX",
"i430lx",
DEVICE_PCI,
INTEL_430LX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i430lx_device = {
.name = "Intel 82434LX",
.internal_name = "i430lx",
.flags = DEVICE_PCI,
.local = INTEL_430LX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i430nx_device =
{
"Intel 82434NX",
"i430nx",
DEVICE_PCI,
INTEL_430NX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i430nx_device = {
.name = "Intel 82434NX",
.internal_name = "i430nx",
.flags = DEVICE_PCI,
.local = INTEL_430NX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i430fx_device =
{
"Intel SB82437FX-66",
"i430fx",
DEVICE_PCI,
INTEL_430FX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i430fx_device = {
.name = "Intel SB82437FX-66",
.internal_name = "i430fx",
.flags = DEVICE_PCI,
.local = INTEL_430FX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i430fx_rev02_device =
{
"Intel SB82437FX-66 (Rev. 02)",
"i430fx_rev02",
DEVICE_PCI,
0x0200 | INTEL_430FX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i430fx_rev02_device = {
.name = "Intel SB82437FX-66 (Rev. 02)",
.internal_name = "i430fx_rev02",
.flags = DEVICE_PCI,
.local = 0x0200 | INTEL_430FX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i430hx_device =
{
"Intel 82439HX",
"i430hx",
DEVICE_PCI,
INTEL_430HX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i430hx_device = {
.name = "Intel 82439HX",
.internal_name = "i430hx",
.flags = DEVICE_PCI,
.local = INTEL_430HX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i430vx_device =
{
"Intel 82437VX",
"i430vx",
DEVICE_PCI,
INTEL_430VX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i430vx_device = {
.name = "Intel 82437VX",
.internal_name = "i430vx",
.flags = DEVICE_PCI,
.local = INTEL_430VX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i430tx_device =
{
"Intel 82439TX",
"i430tx",
DEVICE_PCI,
INTEL_430TX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i430tx_device = {
.name = "Intel 82439TX",
.internal_name = "i430tx",
.flags = DEVICE_PCI,
.local = INTEL_430TX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i440fx_device =
{
"Intel 82441FX",
"i440fx",
DEVICE_PCI,
INTEL_440FX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i440fx_device = {
.name = "Intel 82441FX",
.internal_name = "i440fx",
.flags = DEVICE_PCI,
.local = INTEL_440FX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i440lx_device =
{
"Intel 82443LX",
"i440lx",
DEVICE_PCI,
INTEL_440LX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i440lx_device = {
.name = "Intel 82443LX",
.internal_name = "i440lx",
.flags = DEVICE_PCI,
.local = INTEL_440LX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i440ex_device =
{
"Intel 82443EX",
"i440ex",
DEVICE_PCI,
INTEL_440EX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i440ex_device = {
.name = "Intel 82443EX",
.internal_name = "i440ex",
.flags = DEVICE_PCI,
.local = INTEL_440EX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i440bx_device =
{
"Intel 82443BX",
"i440bx",
DEVICE_PCI,
0x8000 | INTEL_440BX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i440bx_device = {
.name = "Intel 82443BX",
.internal_name = "i440bx",
.flags = DEVICE_PCI,
.local = 0x8000 | INTEL_440BX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i440bx_no_agp_device =
{
"Intel 82443BX",
"i440bx_no_agp",
DEVICE_PCI,
0x8200 | INTEL_440BX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i440bx_no_agp_device = {
.name = "Intel 82443BX",
.internal_name = "i440bx_no_agp",
.flags = DEVICE_PCI,
.local = 0x8200 | INTEL_440BX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i440gx_device =
{
"Intel 82443GX",
"i440gx",
DEVICE_PCI,
0x8000 | INTEL_440GX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i440gx_device = {
.name = "Intel 82443GX",
.internal_name = "i440gx",
.flags = DEVICE_PCI,
.local = 0x8000 | INTEL_440GX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t i440zx_device =
{
"Intel 82443ZX",
"i440zx",
DEVICE_PCI,
0x8000 | INTEL_440ZX,
i4x0_init,
i4x0_close,
i4x0_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t i440zx_device = {
.name = "Intel 82443ZX",
.internal_name = "i440zx",
.flags = DEVICE_PCI,
.local = 0x8000 | INTEL_440ZX,
.init = i4x0_init,
.close = i4x0_close,
.reset = i4x0_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -197,14 +197,15 @@ intel_82335_init(const device_t *info)
}
const device_t intel_82335_device = {
"Intel 82335",
"intel_82335",
0,
0,
intel_82335_init,
intel_82335_close,
NULL,
{NULL},
NULL,
NULL,
NULL};
.name = "Intel 82335",
.internal_name = "intel_82335",
.flags = 0,
.local = 0,
.init = intel_82335_init,
.close = intel_82335_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -806,17 +806,16 @@ i450kx_init(const device_t *info)
return dev;
}
const device_t i450kx_device = {
"Intel 450KX (Mars)",
"i450kx",
DEVICE_PCI,
0,
i450kx_init,
i450kx_close,
i450kx_reset,
{ NULL },
NULL,
NULL,
NULL
.name = "Intel 450KX (Mars)",
.internal_name = "i450kx",
.flags = DEVICE_PCI,
.local = 0,
.init = i450kx_init,
.close = i450kx_close,
.reset = i450kx_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -1599,108 +1599,100 @@ static void
return dev;
}
const device_t piix_device =
{
"Intel 82371FB (PIIX)",
"piix",
DEVICE_PCI,
0x122e0101,
piix_init,
piix_close,
piix_reset,
{ NULL },
piix_speed_changed,
NULL,
NULL
const device_t piix_device = {
.name = "Intel 82371FB (PIIX)",
.internal_name = "piix",
.flags = DEVICE_PCI,
.local = 0x122e0101,
.init = piix_init,
.close = piix_close,
.reset = piix_reset,
{ .available = NULL },
.speed_changed = piix_speed_changed,
.force_redraw = NULL,
.config = NULL
};
const device_t piix_rev02_device =
{
"Intel 82371FB (PIIX) (Faulty BusMastering!!)",
"piix_rev02",
DEVICE_PCI,
0x122e0121,
piix_init,
piix_close,
piix_reset,
{ NULL },
piix_speed_changed,
NULL,
NULL
const device_t piix_rev02_device = {
.name = "Intel 82371FB (PIIX) (Faulty BusMastering!!)",
.internal_name = "piix_rev02",
.flags = DEVICE_PCI,
.local = 0x122e0121,
.init = piix_init,
.close = piix_close,
.reset = piix_reset,
{ .available = NULL },
.speed_changed = piix_speed_changed,
.force_redraw = NULL,
.config = NULL
};
const device_t piix3_device =
{
"Intel 82371SB (PIIX3)",
"piix3",
DEVICE_PCI,
0x70000403,
piix_init,
piix_close,
piix_reset,
{ NULL },
piix_speed_changed,
NULL,
NULL
const device_t piix3_device = {
.name = "Intel 82371SB (PIIX3)",
.internal_name = "piix3",
.flags = DEVICE_PCI,
.local = 0x70000403,
.init = piix_init,
.close = piix_close,
.reset = piix_reset,
{ .available = NULL },
.speed_changed = piix_speed_changed,
.force_redraw = NULL,
.config = NULL
};
const device_t piix3_ioapic_device =
{
"Intel 82371SB (PIIX3) (Boards with I/O APIC)",
"piix3_ioapic",
DEVICE_PCI,
0x70001403,
piix_init,
piix_close,
piix_reset,
{ NULL },
piix_speed_changed,
NULL,
NULL
const device_t piix3_ioapic_device = {
.name = "Intel 82371SB (PIIX3) (Boards with I/O APIC)",
.internal_name = "piix3_ioapic",
.flags = DEVICE_PCI,
.local = 0x70001403,
.init = piix_init,
.close = piix_close,
.reset = piix_reset,
{ .available = NULL },
.speed_changed = piix_speed_changed,
.force_redraw = NULL,
.config = NULL
};
const device_t piix4_device =
{
"Intel 82371AB/EB (PIIX4/PIIX4E)",
"piix4",
DEVICE_PCI,
0x71100004,
piix_init,
piix_close,
piix_reset,
{ NULL },
piix_speed_changed,
NULL,
NULL
const device_t piix4_device = {
.name = "Intel 82371AB/EB (PIIX4/PIIX4E)",
.internal_name = "piix4",
.flags = DEVICE_PCI,
.local = 0x71100004,
.init = piix_init,
.close = piix_close,
.reset = piix_reset,
{ .available = NULL },
.speed_changed = piix_speed_changed,
.force_redraw = NULL,
.config = NULL
};
const device_t piix4e_device =
{
"Intel 82371EB (PIIX4E)",
"piix4e",
DEVICE_PCI,
0x71100094,
piix_init,
piix_close,
piix_reset,
{ NULL },
piix_speed_changed,
NULL,
NULL
const device_t piix4e_device = {
.name = "Intel 82371EB (PIIX4E)",
.internal_name = "piix4e",
.flags = DEVICE_PCI,
.local = 0x71100094,
.init = piix_init,
.close = piix_close,
.reset = piix_reset,
{ .available = NULL },
.speed_changed = piix_speed_changed,
.force_redraw = NULL,
.config = NULL
};
const device_t slc90e66_device =
{
"SMSC SLC90E66 (Victory66)",
"slc90e66",
DEVICE_PCI,
0x94600005,
piix_init,
piix_close,
piix_reset,
{ NULL },
piix_speed_changed,
NULL,
NULL
const device_t slc90e66_device = {
.name = "SMSC SLC90E66 (Victory66)",
.internal_name = "slc90e66",
.flags = DEVICE_PCI,
.local = 0x94600005,
.init = piix_init,
.close = piix_close,
.reset = piix_reset,
{ .available = NULL },
.speed_changed = piix_speed_changed,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -545,33 +545,31 @@ sio_init(const device_t *info)
}
const device_t sio_device =
{
"Intel 82378IB (SIO)",
"sio",
DEVICE_PCI,
0x00,
sio_init,
sio_close,
sio_reset,
{ NULL },
sio_speed_changed,
NULL,
NULL
const device_t sio_device = {
.name = "Intel 82378IB (SIO)",
.internal_name = "sio",
.flags = DEVICE_PCI,
.local = 0x00,
.init = sio_init,
.close = sio_close,
.reset = sio_reset,
{ .available = NULL },
.speed_changed = sio_speed_changed,
.force_redraw = NULL,
.config = NULL
};
const device_t sio_zb_device =
{
"Intel 82378ZB (SIO)",
"sio_zb",
DEVICE_PCI,
0x03,
sio_init,
sio_close,
sio_reset,
{ NULL },
sio_speed_changed,
NULL,
NULL
const device_t sio_zb_device = {
.name = "Intel 82378ZB (SIO)",
.internal_name = "sio_zb",
.flags = DEVICE_PCI,
.local = 0x03,
.init = sio_init,
.close = sio_close,
.reset = sio_reset,
{ .available = NULL },
.speed_changed = sio_speed_changed,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -824,13 +824,16 @@ neat_init(const device_t *info)
return dev;
}
const device_t neat_device = {
"C&T CS8121 (NEAT)",
"neat",
0,
0,
neat_init, neat_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "C&T CS8121 (NEAT)",
.internal_name = "neat",
.flags = 0,
.local = 0,
.init = neat_init,
.close = neat_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -157,11 +157,15 @@ olivetti_eva_init(const device_t *info)
}
const device_t olivetti_eva_device = {
"Olivetti EVA Gate Array",
"olivetta_eva",
0,
0,
olivetti_eva_init, olivetti_eva_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "Olivetti EVA Gate Array",
.internal_name = "olivetta_eva",
.flags = 0,
.local = 0,
.init = olivetti_eva_init,
.close = olivetti_eva_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -302,17 +302,16 @@ opti283_init(const device_t *info)
return dev;
}
const device_t opti283_device = {
"OPTi 82C283",
"opti283",
0,
0,
opti283_init,
opti283_close,
NULL,
{ NULL },
NULL,
NULL,
NULL
.name = "OPTi 82C283",
.internal_name = "opti283",
.flags = 0,
.local = 0,
.init = opti283_init,
.close = opti283_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -147,14 +147,15 @@ opti291_init(const device_t *info)
}
const device_t opti291_device = {
"OPTi 82C291",
"opti291",
0,
0,
opti291_init,
opti291_close,
NULL,
{NULL},
NULL,
NULL,
NULL};
.name = "OPTi 82C291",
.internal_name = "opti291",
.flags = 0,
.local = 0,
.init = opti291_init,
.close = opti291_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -211,17 +211,16 @@ opti391_init(const device_t *info)
return dev;
}
const device_t opti391_device = {
"OPTi 82C391",
"opti391",
0,
0,
opti391_init,
opti391_close,
NULL,
{ NULL },
NULL,
NULL,
NULL
.name = "OPTi 82C391",
.internal_name = "opti391",
.flags = 0,
.local = 0,
.init = opti391_init,
.close = opti391_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -236,24 +236,30 @@ opti495_init(const device_t *info)
return dev;
}
const device_t opti493_device = {
"OPTi 82C493",
"opti493",
0,
0,
opti495_init, opti495_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "OPTi 82C493",
.internal_name = "opti493",
.flags = 0,
.local = 0,
.init = opti495_init,
.close = opti495_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t opti495_device = {
"OPTi 82C495",
"opti495",
0,
1,
opti495_init, opti495_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "OPTi 82C495",
.internal_name = "opti495",
.flags = 0,
.local = 1,
.init = opti495_init,
.close = opti495_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -253,13 +253,16 @@ opti499_init(const device_t *info)
return dev;
}
const device_t opti499_device = {
"OPTi 82C499",
"opti499",
0,
1,
opti499_init, opti499_close, opti499_reset,
{ NULL }, NULL, NULL,
NULL
.name = "OPTi 82C499",
.internal_name = "opti499",
.flags = 0,
.local = 1,
.init = opti499_init,
.close = opti499_close,
.reset = opti499_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -176,14 +176,15 @@ opti5x7_init(const device_t *info)
}
const device_t opti5x7_device = {
"OPTi 82C5x6/82C5x7",
"opti5x7",
0,
0,
opti5x7_init,
opti5x7_close,
NULL,
{NULL},
NULL,
NULL,
NULL};
.name = "OPTi 82C5x6/82C5x7",
.internal_name = "opti5x7",
.flags = 0,
.local = 0,
.init = opti5x7_init,
.close = opti5x7_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -310,14 +310,15 @@ opti822_init(const device_t *info)
}
const device_t opti822_device = {
"OPTi 82C822 PCIB",
"opti822",
DEVICE_PCI,
0,
opti822_init,
opti822_close,
opti822_reset,
{NULL},
NULL,
NULL,
NULL};
.name = "OPTi 82C822 PCIB",
.internal_name = "opti822",
.flags = DEVICE_PCI,
.local = 0,
.init = opti822_init,
.close = opti822_close,
.reset = opti822_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -273,24 +273,30 @@ opti895_init(const device_t *info)
return dev;
}
const device_t opti802g_device = {
"OPTi 82C802G",
"opti802g",
0,
0,
opti895_init, opti895_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "OPTi 82C802G",
.internal_name = "opti802g",
.flags = 0,
.local = 0,
.init = opti895_init,
.close = opti895_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t opti895_device = {
"OPTi 82C895",
"opti895",
0,
0,
opti895_init, opti895_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "OPTi 82C895",
.internal_name = "opti895",
.flags = 0,
.local = 0,
.init = opti895_init,
.close = opti895_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -955,13 +955,16 @@ scamp_init(const device_t *info)
return dev;
}
const device_t vlsi_scamp_device = {
"VLSI SCAMP",
"vlsi_scamp",
0,
0,
scamp_init, scamp_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "VLSI SCAMP",
.internal_name = "vlsi_scamp",
.flags = 0,
.local = 0,
.init = scamp_init,
.close = scamp_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -1542,33 +1542,44 @@ scat_init(const device_t *info)
return(dev);
}
const device_t scat_device = {
"C&T SCAT (v1)",
"scat",
0,
0,
scat_init, scat_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "C&T SCAT (v1)",
.internal_name = "scat",
.flags = 0,
.local = 0,
.init = scat_init,
.close = scat_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t scat_4_device = {
"C&T SCAT (v4)",
"scat_4",
0,
4,
scat_init, scat_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "C&T SCAT (v4)",
.internal_name = "scat_4",
.flags = 0,
.local = 4,
.init = scat_init,
.close = scat_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t scat_sx_device = {
"C&T SCATsx",
"scat_sx",
0,
32,
scat_init, scat_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "C&T SCATsx",
.internal_name = "scat_sx",
.flags = 0,
.local = 32,
.init = scat_init,
.close = scat_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -740,14 +740,15 @@ sis_5511_init(const device_t *info)
}
const device_t sis_5511_device = {
"SiS 5511",
"sis_5511",
DEVICE_PCI,
0,
sis_5511_init,
sis_5511_close,
sis_5511_reset,
{NULL},
NULL,
NULL,
NULL};
.name = "SiS 5511",
.internal_name = "sis_5511",
.flags = DEVICE_PCI,
.local = 0,
.init = sis_5511_init,
.close = sis_5511_close,
.reset = sis_5511_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -742,14 +742,15 @@ sis_5571_init(const device_t *info)
}
const device_t sis_5571_device = {
"SiS 5571",
"sis_5571",
DEVICE_PCI,
0,
sis_5571_init,
sis_5571_close,
sis_5571_reset,
{NULL},
NULL,
NULL,
NULL};
.name = "SiS 5571",
.internal_name = "sis_5571",
.flags = DEVICE_PCI,
.local = 0,
.init = sis_5571_init,
.close = sis_5571_close,
.reset = sis_5571_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -135,13 +135,16 @@ rabbit_init(const device_t *info)
return dev;
}
const device_t rabbit_device = {
"SiS Rabbit",
"rabbit",
0,
0,
rabbit_init, rabbit_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "SiS Rabbit",
.internal_name = "rabbit",
.flags = 0,
.local = 0,
.init = rabbit_init,
.close = rabbit_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -618,34 +618,30 @@ static void
return dev;
}
const device_t sis_85c496_device =
{
"SiS 85c496/85c497",
"sis_85c496",
DEVICE_PCI,
0,
sis_85c496_init,
sis_85c496_close,
sis_85c496_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t sis_85c496_device = {
.name = "SiS 85c496/85c497",
.internal_name = "sis_85c496",
.flags = DEVICE_PCI,
.local = 0,
.init = sis_85c496_init,
.close = sis_85c496_close,
.reset = sis_85c496_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t sis_85c496_ls486e_device =
{
"SiS 85c496/85c497 (Lucky Star LS-486E)",
"sis_85c496_ls486e",
DEVICE_PCI,
1,
sis_85c496_init,
sis_85c496_close,
sis_85c496_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t sis_85c496_ls486e_device = {
.name = "SiS 85c496/85c497 (Lucky Star LS-486E)",
.internal_name = "sis_85c496_ls486e",
.flags = DEVICE_PCI,
.local = 1,
.init = sis_85c496_init,
.close = sis_85c496_close,
.reset = sis_85c496_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -358,44 +358,59 @@ sis_85c4xx_init(const device_t *info)
return dev;
}
const device_t sis_85c401_device = {
"SiS 85c401/85c402",
"sis_85c401",
0,
0x060,
sis_85c4xx_init, sis_85c4xx_close, sis_85c4xx_reset,
{ NULL }, NULL, NULL,
NULL
.name = "SiS 85c401/85c402",
.internal_name = "sis_85c401",
.flags = 0,
.local = 0x060,
.init = sis_85c4xx_init,
.close = sis_85c4xx_close,
.reset = sis_85c4xx_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t sis_85c460_device = {
"SiS 85c460",
"sis_85c460",
0,
0x050,
sis_85c4xx_init, sis_85c4xx_close, sis_85c4xx_reset,
{ NULL }, NULL, NULL,
NULL
.name = "SiS 85c460",
.internal_name = "sis_85c460",
.flags = 0,
.local = 0x050,
.init = sis_85c4xx_init,
.close = sis_85c4xx_close,
.reset = sis_85c4xx_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
/* TODO: Log to make sure the registers are correct. */
const device_t sis_85c461_device = {
"SiS 85c461",
"sis_85c461",
0,
0x050,
sis_85c4xx_init, sis_85c4xx_close, sis_85c4xx_reset,
{ NULL }, NULL, NULL,
NULL
.name = "SiS 85c461",
.internal_name = "sis_85c461",
.flags = 0,
.local = 0x050,
.init = sis_85c4xx_init,
.close = sis_85c4xx_close,
.reset = sis_85c4xx_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t sis_85c471_device = {
"SiS 85c407/85c471",
"sis_85c471",
0,
0x150,
sis_85c4xx_init, sis_85c4xx_close, sis_85c4xx_reset,
{ NULL }, NULL, NULL,
NULL
.name = "SiS 85c407/85c471",
.internal_name = "sis_85c471",
.flags = 0,
.local = 0x150,
.init = sis_85c4xx_init,
.close = sis_85c4xx_close,
.reset = sis_85c4xx_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -390,14 +390,16 @@ sis_85c50x_init(const device_t *info)
return dev;
}
const device_t sis_85c50x_device = {
"SiS 85C50x",
"sis_85c50x",
DEVICE_PCI,
0,
sis_85c50x_init, sis_85c50x_close,
sis_85c50x_reset, { NULL },
NULL, NULL,
NULL
.name = "SiS 85C50x",
.internal_name = "sis_85c50x",
.flags = DEVICE_PCI,
.local = 0,
.init = sis_85c50x_init,
.close = sis_85c50x_close,
.reset = sis_85c50x_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -1055,95 +1055,88 @@ stpc_lpt_init(const device_t *info)
return dev;
}
/* STPC SoCs */
const device_t stpc_client_device =
{
"STPC Client",
"stpc_client",
DEVICE_PCI,
STPC_CLIENT,
stpc_init,
stpc_close,
stpc_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t stpc_client_device = {
.name = "STPC Client",
.internal_name = "stpc_client",
.flags = DEVICE_PCI,
.local = STPC_CLIENT,
.init = stpc_init,
.close = stpc_close,
.reset = stpc_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t stpc_consumer2_device =
{
"STPC Consumer-II",
"stpc_consumer2",
DEVICE_PCI,
STPC_CONSUMER2,
stpc_init,
stpc_close,
stpc_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t stpc_consumer2_device = {
.name = "STPC Consumer-II",
.internal_name = "stpc_consumer2",
.flags = DEVICE_PCI,
.local = STPC_CONSUMER2,
.init = stpc_init,
.close = stpc_close,
.reset = stpc_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t stpc_elite_device =
{
"STPC Elite",
"stpc_elite",
DEVICE_PCI,
STPC_ELITE,
stpc_init,
stpc_close,
stpc_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t stpc_elite_device = {
.name = "STPC Elite",
.internal_name = "stpc_elite",
.flags = DEVICE_PCI,
.local = STPC_ELITE,
.init = stpc_init,
.close = stpc_close,
.reset = stpc_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t stpc_atlas_device =
{
"STPC Atlas",
"stpc_atlas",
DEVICE_PCI,
STPC_ATLAS,
stpc_init,
stpc_close,
stpc_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t stpc_atlas_device = {
.name = "STPC Atlas",
.internal_name = "stpc_atlas",
.flags = DEVICE_PCI,
.local = STPC_ATLAS,
.init = stpc_init,
.close = stpc_close,
.reset = stpc_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
/* Auxiliary devices */
const device_t stpc_serial_device =
{
"STPC Serial UARTs",
"stpc_serial",
0,
0,
stpc_serial_init,
stpc_serial_close,
NULL,
{ NULL },
NULL,
NULL,
NULL
const device_t stpc_serial_device = {
.name = "STPC Serial UARTs",
.internal_name = "stpc_serial",
.flags = 0,
.local = 0,
.init = stpc_serial_init,
.close = stpc_serial_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t stpc_lpt_device =
{
"STPC Parallel Port",
"stpc_lpt",
0,
0,
stpc_lpt_init,
stpc_lpt_close,
stpc_lpt_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t stpc_lpt_device = {
.name = "STPC Parallel Port",
.internal_name = "stpc_lpt",
.flags = 0,
.local = 0,
.init = stpc_lpt_init,
.close = stpc_lpt_close,
.reset = stpc_lpt_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -377,23 +377,30 @@ umc_8886_init(const device_t *info)
return dev;
}
const device_t umc_8886f_device = {
"UMC 8886F",
"umc_8886f",
DEVICE_PCI,
0x8886,
umc_8886_init, umc_8886_close, umc_8886_reset,
{ NULL }, NULL, NULL,
NULL
.name = "UMC 8886F",
.internal_name = "umc_8886f",
.flags = DEVICE_PCI,
.local = 0x8886,
.init = umc_8886_init,
.close = umc_8886_close,
.reset = umc_8886_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t umc_8886af_device = {
"UMC 8886AF/8886BF",
"umc_8886af",
DEVICE_PCI,
0x886a,
umc_8886_init, umc_8886_close, umc_8886_reset,
{ NULL }, NULL, NULL,
NULL
.name = "UMC 8886AF/8886BF",
.internal_name = "umc_8886af",
.flags = DEVICE_PCI,
.local = 0x886a,
.init = umc_8886_init,
.close = umc_8886_close,
.reset = umc_8886_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -416,13 +416,16 @@ hb4_init(const device_t *info)
return dev;
}
const device_t umc_hb4_device = {
"UMC HB4(8881F)",
"umc_hb4",
DEVICE_PCI,
0x886a,
hb4_init, hb4_close, hb4_reset,
{ NULL }, NULL, NULL,
NULL
.name = "UMC HB4(8881F)",
.internal_name = "umc_hb4",
.flags = DEVICE_PCI,
.local = 0x886a,
.init = hb4_init,
.close = hb4_close,
.reset = hb4_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -760,118 +760,114 @@ via_apollo_close(void *priv)
free(dev);
}
const device_t via_vpx_device =
{
"VIA Apollo VPX",
"via_vpx",
DEVICE_PCI,
VIA_585, /*VT82C585*/
via_apollo_init,
via_apollo_close,
via_apollo_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t via_vpx_device = {
.name = "VIA Apollo VPX",
.internal_name = "via_vpx",
.flags = DEVICE_PCI,
.local = VIA_585, /*VT82C585*/
.init = via_apollo_init,
.close = via_apollo_close,
.reset = via_apollo_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t amd640_device =
{
"AMD 640 System Controller",
"amd640",
DEVICE_PCI,
VIA_595, /*VT82C595*/
via_apollo_init,
via_apollo_close,
via_apollo_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t amd640_device = {
.name = "AMD 640 System Controller",
.internal_name = "amd640",
.flags = DEVICE_PCI,
.local = VIA_595, /*VT82C595*/
.init = via_apollo_init,
.close = via_apollo_close,
.reset = via_apollo_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_vp3_device =
{
"VIA Apollo VP3",
"via_vp3",
DEVICE_PCI,
VIA_597, /*VT82C597*/
via_apollo_init,
via_apollo_close,
via_apollo_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t via_vp3_device = {
.name = "VIA Apollo VP3",
.internal_name = "via_vp3",
.flags = DEVICE_PCI,
.local = VIA_597, /*VT82C597*/
.init = via_apollo_init,
.close = via_apollo_close,
.reset = via_apollo_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_mvp3_device =
{
"VIA Apollo MVP3",
"via_mvp3",
DEVICE_PCI,
VIA_598, /*VT82C598MVP*/
via_apollo_init,
via_apollo_close,
via_apollo_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t via_mvp3_device = {
.name = "VIA Apollo MVP3",
.internal_name = "via_mvp3",
.flags = DEVICE_PCI,
.local = VIA_598, /*VT82C598MVP*/
.init = via_apollo_init,
.close = via_apollo_close,
.reset = via_apollo_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_apro_device = {
"VIA Apollo Pro",
"via_apro",
DEVICE_PCI,
VIA_691, /*VT82C691*/
via_apollo_init,
via_apollo_close,
via_apollo_reset,
{ NULL },
NULL,
NULL,
NULL
.name = "VIA Apollo Pro",
.internal_name = "via_apro",
.flags = DEVICE_PCI,
.local = VIA_691, /*VT82C691*/
.init = via_apollo_init,
.close = via_apollo_close,
.reset = via_apollo_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_apro133_device = {
"VIA Apollo Pro133",
"via_apro133",
DEVICE_PCI,
VIA_693A, /*VT82C693A*/
via_apollo_init,
via_apollo_close,
via_apollo_reset,
{ NULL },
NULL,
NULL,
NULL
.name = "VIA Apollo Pro133",
.internal_name = "via_apro133",
.flags = DEVICE_PCI,
.local = VIA_693A, /*VT82C693A*/
.init = via_apollo_init,
.close = via_apollo_close,
.reset = via_apollo_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_apro133a_device = {
"VIA Apollo Pro133A",
"via_apro_133a",
DEVICE_PCI,
VIA_694, /*VT82C694X*/
via_apollo_init,
via_apollo_close,
via_apollo_reset,
{ NULL },
NULL,
NULL,
NULL
.name = "VIA Apollo Pro133A",
.internal_name = "via_apro_133a",
.flags = DEVICE_PCI,
.local = VIA_694, /*VT82C694X*/
.init = via_apollo_init,
.close = via_apollo_close,
.reset = via_apollo_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_vt8601_device = {
"VIA Apollo ProMedia",
"via_vt8601",
DEVICE_PCI,
VIA_8601, /*VT8601*/
via_apollo_init,
via_apollo_close,
via_apollo_reset,
{ NULL },
NULL,
NULL,
NULL
.name = "VIA Apollo ProMedia",
.internal_name = "via_vt8601",
.flags = DEVICE_PCI,
.local = VIA_8601, /*VT8601*/
.init = via_apollo_init,
.close = via_apollo_close,
.reset = via_apollo_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -1631,97 +1631,86 @@ pipc_close(void *p)
free(dev);
}
const device_t via_vt82c586b_device =
{
"VIA VT82C586B",
"via_vt82c586b",
DEVICE_PCI,
VIA_PIPC_586B,
pipc_init,
pipc_close,
pipc_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t via_vt82c586b_device = {
.name = "VIA VT82C586B",
.internal_name = "via_vt82c586b",
.flags = DEVICE_PCI,
.local = VIA_PIPC_586B,
.init = pipc_init,
.close = pipc_close,
.reset = pipc_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_vt82c596a_device =
{
"VIA VT82C596A",
"via_vt82c596a",
DEVICE_PCI,
VIA_PIPC_596A,
pipc_init,
pipc_close,
pipc_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t via_vt82c596a_device = {
.name = "VIA VT82C596A",
.internal_name = "via_vt82c596a",
.flags = DEVICE_PCI,
.local = VIA_PIPC_596A,
.init = pipc_init,
.close = pipc_close,
.reset = pipc_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_vt82c596b_device =
{
"VIA VT82C596B",
"via_vt82c596b",
DEVICE_PCI,
VIA_PIPC_596B,
pipc_init,
pipc_close,
pipc_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t via_vt82c596b_device = {
.name = "VIA VT82C596B",
.internal_name = "via_vt82c596b",
.flags = DEVICE_PCI,
.local = VIA_PIPC_596B,
.init = pipc_init,
.close = pipc_close,
.reset = pipc_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_vt82c686a_device =
{
"VIA VT82C686A",
"via_vt82c686a",
DEVICE_PCI,
VIA_PIPC_686A,
pipc_init,
pipc_close,
pipc_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t via_vt82c686a_device = {
.name = "VIA VT82C686A",
.internal_name = "via_vt82c686a",
.flags = DEVICE_PCI,
.local = VIA_PIPC_686A,
.init = pipc_init,
.close = pipc_close,
.reset = pipc_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_vt82c686b_device =
{
"VIA VT82C686B",
"via_vt82c686b",
DEVICE_PCI,
VIA_PIPC_686B,
pipc_init,
pipc_close,
pipc_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t via_vt82c686b_device = {
.name = "VIA VT82C686B",
.internal_name = "via_vt82c686b",
.flags = DEVICE_PCI,
.local = VIA_PIPC_686B,
.init = pipc_init,
.close = pipc_close,
.reset = pipc_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_vt8231_device =
{
"VIA VT8231",
"via_vt8231",
DEVICE_PCI,
VIA_PIPC_8231,
pipc_init,
pipc_close,
pipc_reset,
{ NULL },
NULL,
NULL,
NULL
const device_t via_vt8231_device = {
.name = "VIA VT8231",
.internal_name = "via_vt8231",
.flags = DEVICE_PCI,
.local = VIA_PIPC_8231,
.init = pipc_init,
.close = pipc_close,
.reset = pipc_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -358,46 +358,58 @@ vt82c49x_init(const device_t *info)
return dev;
}
const device_t via_vt82c49x_device = {
"VIA VT82C49X",
"via_vt82c49x",
0,
0,
vt82c49x_init, vt82c49x_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "VIA VT82C49X",
.internal_name = "via_vt82c49x",
.flags = 0,
.local = 0,
.init = vt82c49x_init,
.close = vt82c49x_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_vt82c49x_pci_device = {
"VIA VT82C49X PCI",
"via_vt82c49x_pci",
DEVICE_PCI,
0,
vt82c49x_init, vt82c49x_close, vt82c49x_reset,
{ NULL }, NULL, NULL,
NULL
.name = "VIA VT82C49X PCI",
.internal_name = "via_vt82c49x_pci",
.flags = DEVICE_PCI,
.local = 0,
.init = vt82c49x_init,
.close = vt82c49x_close,
.reset = vt82c49x_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_vt82c49x_ide_device = {
"VIA VT82C49X (With IDE)",
"via_vt82c49x_ide",
0,
1,
vt82c49x_init, vt82c49x_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "VIA VT82C49X (With IDE)",
.internal_name = "via_vt82c49x_ide",
.flags = 0,
.local = 1,
.init = vt82c49x_init,
.close = vt82c49x_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t via_vt82c49x_pci_ide_device = {
"VIA VT82C49X PCI (With IDE)",
"via_vt82c49x_pci_ide",
DEVICE_PCI,
1,
vt82c49x_init, vt82c49x_close, vt82c49x_reset,
{ NULL }, NULL, NULL,
NULL
.name = "VIA VT82C49X PCI (With IDE)",
.internal_name = "via_vt82c49x_pci_ide",
.flags = DEVICE_PCI,
.local = 1,
.init = vt82c49x_init,
.close = vt82c49x_close,
.reset = vt82c49x_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -216,17 +216,16 @@ vt82c505_init(const device_t *info)
return dev;
}
const device_t via_vt82c505_device = {
"VIA VT82C505",
"via_vt82c505",
DEVICE_PCI,
0,
vt82c505_init,
vt82c505_close,
vt82c505_reset,
{ NULL },
NULL,
NULL,
NULL
.name = "VIA VT82C505",
.internal_name = "via_vt82c505",
.flags = DEVICE_PCI,
.local = 0,
.init = vt82c505_init,
.close = vt82c505_close,
.reset = vt82c505_reset,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -188,24 +188,30 @@ vl82c480_init(const device_t *info)
return dev;
}
const device_t vl82c480_device = {
"VLSI VL82c480",
"vl82c480",
0,
0x90,
vl82c480_init, vl82c480_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "VLSI VL82c480",
.internal_name = "vl82c480",
.flags = 0,
.local = 0x90,
.init = vl82c480_init,
.close = vl82c480_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
const device_t vl82c486_device = {
"VLSI VL82c486",
"vl82c486",
0,
0x98,
vl82c480_init, vl82c480_close, NULL,
{ NULL }, NULL, NULL,
NULL
.name = "VLSI VL82c486",
.internal_name = "vl82c486",
.flags = 0,
.local = 0x98,
.init = vl82c480_init,
.close = vl82c480_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};

View File

@@ -538,14 +538,15 @@ wd76c10_init(const device_t *info)
}
const device_t wd76c10_device = {
"Western Digital WD76C10",
"wd76c10",
0,
0,
wd76c10_init,
wd76c10_close,
NULL,
{NULL},
NULL,
NULL,
NULL};
.name = "Western Digital WD76C10",
.internal_name = "wd76c10",
.flags = 0,
.local = 0,
.init = wd76c10_init,
.close = wd76c10_close,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};