Removed the legacy #defines in device.h.
This commit is contained in:
30
src/nvr_at.c
30
src/nvr_at.c
@@ -1219,7 +1219,7 @@ nvr_at_close(void *priv)
|
||||
const device_t at_nvr_old_device = {
|
||||
.name = "PC/AT NVRAM (No century)",
|
||||
.internal_name = "at_nvr_old",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 0,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1233,7 +1233,7 @@ const device_t at_nvr_old_device = {
|
||||
const device_t at_nvr_device = {
|
||||
.name = "PC/AT NVRAM",
|
||||
.internal_name = "at_nvr",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 1,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1247,7 +1247,7 @@ const device_t at_nvr_device = {
|
||||
const device_t at_mb_nvr_device = {
|
||||
.name = "PC/AT NVRAM",
|
||||
.internal_name = "at_nvr",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 0x40 | 0x20 | 1,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1261,7 +1261,7 @@ const device_t at_mb_nvr_device = {
|
||||
const device_t ps_nvr_device = {
|
||||
.name = "PS/1 or PS/2 NVRAM",
|
||||
.internal_name = "ps_nvr",
|
||||
.flags = DEVICE_PS2,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 2,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1275,7 +1275,7 @@ const device_t ps_nvr_device = {
|
||||
const device_t amstrad_nvr_device = {
|
||||
.name = "Amstrad NVRAM",
|
||||
.internal_name = "amstrad_nvr",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 3,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1289,7 +1289,7 @@ const device_t amstrad_nvr_device = {
|
||||
const device_t ibmat_nvr_device = {
|
||||
.name = "IBM AT NVRAM",
|
||||
.internal_name = "ibmat_nvr",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 4,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1303,7 +1303,7 @@ const device_t ibmat_nvr_device = {
|
||||
const device_t piix4_nvr_device = {
|
||||
.name = "Intel PIIX4 PC/AT NVRAM",
|
||||
.internal_name = "piix4_nvr",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 0x10 | 1,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1317,7 +1317,7 @@ const device_t piix4_nvr_device = {
|
||||
const device_t ps_no_nmi_nvr_device = {
|
||||
.name = "PS/1 or PS/2 NVRAM (No NMI)",
|
||||
.internal_name = "ps1_nvr",
|
||||
.flags = DEVICE_PS2,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 0x10 | 2,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1331,7 +1331,7 @@ const device_t ps_no_nmi_nvr_device = {
|
||||
const device_t amstrad_no_nmi_nvr_device = {
|
||||
.name = "Amstrad NVRAM (No NMI)",
|
||||
.internal_name = "amstrad_nvr",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 0x10 | 3,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1345,7 +1345,7 @@ const device_t amstrad_no_nmi_nvr_device = {
|
||||
const device_t ami_1992_nvr_device = {
|
||||
.name = "AMI Color 1992 PC/AT NVRAM",
|
||||
.internal_name = "ami_1992_nvr",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 0x10 | 4,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1359,7 +1359,7 @@ const device_t ami_1992_nvr_device = {
|
||||
const device_t ami_1994_nvr_device = {
|
||||
.name = "AMI WinBIOS 1994 PC/AT NVRAM",
|
||||
.internal_name = "ami_1994_nvr",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 0x10 | 5,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1373,7 +1373,7 @@ const device_t ami_1994_nvr_device = {
|
||||
const device_t ami_1995_nvr_device = {
|
||||
.name = "AMI WinBIOS 1995 PC/AT NVRAM",
|
||||
.internal_name = "ami_1995_nvr",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 0x10 | 6,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1387,7 +1387,7 @@ const device_t ami_1995_nvr_device = {
|
||||
const device_t via_nvr_device = {
|
||||
.name = "VIA PC/AT NVRAM",
|
||||
.internal_name = "via_nvr",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 0x10 | 7,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1401,7 +1401,7 @@ const device_t via_nvr_device = {
|
||||
const device_t p6rp4_nvr_device = {
|
||||
.name = "ASUS P/I-P6RP4 PC/AT NVRAM",
|
||||
.internal_name = "p6rp4_nvr",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 32,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
@@ -1415,7 +1415,7 @@ const device_t p6rp4_nvr_device = {
|
||||
const device_t amstrad_megapc_nvr_device = {
|
||||
.name = "Amstrad MegaPC NVRAM",
|
||||
.internal_name = "amstrad_megapc_nvr",
|
||||
.flags = DEVICE_ISA | DEVICE_AT,
|
||||
.flags = DEVICE_ISA16,
|
||||
.local = 36,
|
||||
.init = nvr_at_init,
|
||||
.close = nvr_at_close,
|
||||
|
||||
Reference in New Issue
Block a user