Made the ACPI GPIO registers initialize to 0xFF instead of 0x00, fixes the ABit BF6, removed the 6BXC, and added the A-Trend ATC6310BXII.
This commit is contained in:
@@ -832,6 +832,8 @@ acpi_init(const device_t *info)
|
|||||||
timer_add(&dev->timer, acpi_timer_count, dev, 0);
|
timer_add(&dev->timer, acpi_timer_count, dev, 0);
|
||||||
timer_set_delay_u64(&dev->timer, ACPICONST);
|
timer_set_delay_u64(&dev->timer, ACPICONST);
|
||||||
|
|
||||||
|
dev->regs.gpireg[0] = dev->regs.gpireg[1] = dev->regs.gpireg[2] = 0xff;
|
||||||
|
|
||||||
return dev;
|
return dev;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -336,12 +336,10 @@ extern int machine_at_p65up5_cp6nd_init(const machine_t *);
|
|||||||
extern int machine_at_p65up5_cpknd_init(const machine_t *);
|
extern int machine_at_p65up5_cpknd_init(const machine_t *);
|
||||||
extern int machine_at_kn97_init(const machine_t *);
|
extern int machine_at_kn97_init(const machine_t *);
|
||||||
|
|
||||||
#if defined(DEV_BRANCH) && defined(NO_SIO)
|
|
||||||
extern int machine_at_6bxc_init(const machine_t *);
|
|
||||||
#endif
|
|
||||||
extern int machine_at_p2bls_init(const machine_t *);
|
extern int machine_at_p2bls_init(const machine_t *);
|
||||||
extern int machine_at_p3bf_init(const machine_t *);
|
extern int machine_at_p3bf_init(const machine_t *);
|
||||||
extern int machine_at_bf6_init(const machine_t *);
|
extern int machine_at_bf6_init(const machine_t *);
|
||||||
|
extern int machine_at_atc6310bxii_init(const machine_t *);
|
||||||
#if defined(DEV_BRANCH) && defined(NO_SIO)
|
#if defined(DEV_BRANCH) && defined(NO_SIO)
|
||||||
extern int machine_at_tsunamiatx_init(const machine_t *);
|
extern int machine_at_tsunamiatx_init(const machine_t *);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -108,39 +108,6 @@ machine_at_kn97_init(const machine_t *model)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(DEV_BRANCH) && defined(NO_SIO)
|
|
||||||
int
|
|
||||||
machine_at_6bxc_init(const machine_t *model)
|
|
||||||
{
|
|
||||||
int ret;
|
|
||||||
|
|
||||||
ret = bios_load_linear(L"roms/machines/6bxc/powleap.bin",
|
|
||||||
0x000c0000, 262144, 0);
|
|
||||||
|
|
||||||
if (bios_only || !ret)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
machine_at_common_init_ex(model, 2);
|
|
||||||
|
|
||||||
pci_init(PCI_CONFIG_TYPE_1);
|
|
||||||
pci_register_slot(0x00, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
|
|
||||||
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 1, 2, 3, 4);
|
|
||||||
pci_register_slot(0x08, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
|
||||||
pci_register_slot(0x09, PCI_CARD_NORMAL, 2, 3, 4, 1);
|
|
||||||
pci_register_slot(0x0A, PCI_CARD_NORMAL, 3, 4, 1, 2);
|
|
||||||
pci_register_slot(0x0B, PCI_CARD_NORMAL, 4, 1, 2, 3);
|
|
||||||
pci_register_slot(0x01, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
|
||||||
device_add(&i440bx_device);
|
|
||||||
device_add(&piix4e_device);
|
|
||||||
device_add(&keyboard_ps2_pci_device);
|
|
||||||
device_add(&um8669f_device); /*ITE 8671*/
|
|
||||||
device_add(&sst_flash_39sf020_device);
|
|
||||||
spd_register(SPD_TYPE_SDRAM, 0x7, 256);
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int
|
int
|
||||||
machine_at_p2bls_init(const machine_t *model)
|
machine_at_p2bls_init(const machine_t *model)
|
||||||
{
|
{
|
||||||
@@ -291,6 +258,38 @@ machine_at_bf6_init(const machine_t *model)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
machine_at_atc6310bxii_init(const machine_t *model)
|
||||||
|
{
|
||||||
|
int ret;
|
||||||
|
|
||||||
|
ret = bios_load_linear(L"roms/machines/atc6310bxii/6310s102.bin",
|
||||||
|
0x000c0000, 262144, 0);
|
||||||
|
|
||||||
|
if (bios_only || !ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
|
machine_at_common_init_ex(model, 2);
|
||||||
|
|
||||||
|
pci_init(PCI_CONFIG_TYPE_1);
|
||||||
|
pci_register_slot(0x00, PCI_CARD_NORTHBRIDGE, 0, 0, 0, 0);
|
||||||
|
pci_register_slot(0x0B, PCI_CARD_NORMAL, 2, 3, 4, 1);
|
||||||
|
pci_register_slot(0x0C, PCI_CARD_NORMAL, 3, 4, 1, 2);
|
||||||
|
pci_register_slot(0x0D, PCI_CARD_NORMAL, 4, 1, 2, 3);
|
||||||
|
pci_register_slot(0x0A, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
|
pci_register_slot(0x0E, PCI_CARD_NORMAL, 4, 1, 2, 3);
|
||||||
|
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 1, 2, 3, 4);
|
||||||
|
pci_register_slot(0x01, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
|
device_add(&i440bx_device);
|
||||||
|
device_add(&slc90e66_device);
|
||||||
|
device_add(&keyboard_ps2_pci_device);
|
||||||
|
device_add(&w83977ef_device);
|
||||||
|
device_add(&sst_flash_39sf020_device);
|
||||||
|
spd_register(SPD_TYPE_SDRAM, 0xF, 256);
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
machine_at_p6sba_init(const machine_t *model)
|
machine_at_p6sba_init(const machine_t *model)
|
||||||
{
|
{
|
||||||
|
@@ -296,12 +296,10 @@ const machine_t machines[] = {
|
|||||||
/* 440LX */
|
/* 440LX */
|
||||||
|
|
||||||
/* 440BX */
|
/* 440BX */
|
||||||
#if defined(DEV_BRANCH) && defined(NO_SIO)
|
|
||||||
{ "[Slot 1 BX] Gigabyte GA-6BXC", "6bxc", {{"Intel", cpus_PentiumII}, {"Intel/PGA370", cpus_Celeron},{"VIA", cpus_Cyrix3},{"", NULL},{"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 768, 8, 255, machine_at_6bxc_init, NULL },
|
|
||||||
#endif
|
|
||||||
{ "[Slot 1 BX] ASUS P2B-LS", "p2bls", {{"Intel", cpus_PentiumII}, {"Intel/PGA370", cpus_Celeron},{"VIA", cpus_Cyrix3},{"", NULL},{"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 1024, 8, 255, machine_at_p2bls_init, NULL },
|
{ "[Slot 1 BX] ASUS P2B-LS", "p2bls", {{"Intel", cpus_PentiumII}, {"Intel/PGA370", cpus_Celeron},{"VIA", cpus_Cyrix3},{"", NULL},{"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 1024, 8, 255, machine_at_p2bls_init, NULL },
|
||||||
{ "[Slot 1 BX] ASUS P3B-F", "p3bf", {{"Intel", cpus_PentiumII}, {"Intel/PGA370", cpus_Celeron},{"VIA", cpus_Cyrix3},{"", NULL},{"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 1024, 8, 255, machine_at_p3bf_init, NULL },
|
{ "[Slot 1 BX] ASUS P3B-F", "p3bf", {{"Intel", cpus_PentiumII}, {"Intel/PGA370", cpus_Celeron},{"VIA", cpus_Cyrix3},{"", NULL},{"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 1024, 8, 255, machine_at_p3bf_init, NULL },
|
||||||
{ "[Slot 1 BX] ABit BF6", "bf6", {{"Intel", cpus_PentiumII}, {"Intel/PGA370", cpus_Celeron},{"VIA", cpus_Cyrix3},{"", NULL},{"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 768, 8, 255, machine_at_bf6_init, NULL },
|
{ "[Slot 1 BX] ABit BF6", "bf6", {{"Intel", cpus_PentiumII}, {"Intel/PGA370", cpus_Celeron},{"VIA", cpus_Cyrix3},{"", NULL},{"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 768, 8, 255, machine_at_bf6_init, NULL },
|
||||||
|
{ "[Slot 1 BX] A-Trend ATC6310BXII", "atc6310bxii", {{"Intel", cpus_PentiumII}, {"Intel/PGA370", cpus_Celeron},{"VIA", cpus_Cyrix3},{"", NULL},{"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 1024, 8, 255, machine_at_atc6310bxii_init, NULL },
|
||||||
#if defined(DEV_BRANCH) && defined(NO_SIO)
|
#if defined(DEV_BRANCH) && defined(NO_SIO)
|
||||||
{ "[Slot 1 BX] Tyan Tsunami ATX", "tsunamiatx", {{"Intel", cpus_PentiumII}, {"Intel/PGA370", cpus_Celeron},{"VIA", cpus_Cyrix3},{"", NULL},{"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC | MACHINE_SOUND, 8, 1024, 8, 255, machine_at_tsunamiatx_init, at_tsunamiatx_get_device },
|
{ "[Slot 1 BX] Tyan Tsunami ATX", "tsunamiatx", {{"Intel", cpus_PentiumII}, {"Intel/PGA370", cpus_Celeron},{"VIA", cpus_Cyrix3},{"", NULL},{"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC | MACHINE_SOUND, 8, 1024, 8, 255, machine_at_tsunamiatx_init, at_tsunamiatx_get_device },
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user