SiS 5598 uses Generic NVR at the moment
This commit is contained in:
@@ -930,7 +930,7 @@ sis_5598_init(const device_t *info)
|
||||
|
||||
/* ACPI */
|
||||
dev->acpi = device_add(&acpi_sis_device);
|
||||
dev->nvr = device_add(&sis_nvr_device);
|
||||
dev->nvr = device_add(&at_nvr_device);
|
||||
|
||||
/* DDMA */
|
||||
dev->ddma = device_add(&ddma_device);
|
||||
|
@@ -93,7 +93,6 @@ extern const device_t ps_nvr_device;
|
||||
extern const device_t amstrad_nvr_device;
|
||||
extern const device_t ibmat_nvr_device;
|
||||
extern const device_t piix4_nvr_device;
|
||||
extern const device_t sis_nvr_device;
|
||||
extern const device_t ls486e_nvr_device;
|
||||
extern const device_t ami_apollo_nvr_device;
|
||||
extern const device_t via_nvr_device;
|
||||
|
11
src/nvr_at.c
11
src/nvr_at.c
@@ -932,7 +932,7 @@ nvr_at_init(const device_t *info)
|
||||
case 1: /* standard AT */
|
||||
case 5: /* Lucky Star LS-486E */
|
||||
case 6: /* AMI Apollo */
|
||||
if ((info->local == 9) || (info->local == 16))
|
||||
if (info->local == 9)
|
||||
local->flags |= FLAG_PIIX4;
|
||||
else {
|
||||
if ((info->local & 7) == 5)
|
||||
@@ -1079,15 +1079,6 @@ const device_t piix4_nvr_device = {
|
||||
NULL
|
||||
};
|
||||
|
||||
const device_t sis_nvr_device = {
|
||||
"SiS PC/AT NVRAM",
|
||||
DEVICE_ISA | DEVICE_AT,
|
||||
11,
|
||||
nvr_at_init, nvr_at_close, NULL,
|
||||
{ NULL }, nvr_at_speed_changed,
|
||||
NULL
|
||||
};
|
||||
|
||||
const device_t ls486e_nvr_device = {
|
||||
"Lucky Star LS-486E PC/AT NVRAM",
|
||||
DEVICE_ISA | DEVICE_AT,
|
||||
|
Reference in New Issue
Block a user