Removed the legacy #defines in device.h.
This commit is contained in:
@@ -86,19 +86,20 @@ enum {
|
||||
DEVICE_ISA16 = 0x20, /* requires an AT-compatible system */
|
||||
DEVICE_AT_KBC = 0x40, /* requires an AT-compatible keyboard controller */
|
||||
DEVICE_MCA = 0x80, /* requires the MCA bus */
|
||||
DEVICE_PS2_KBC = 0x100, /* requires a PS/1 or PS/2 system */
|
||||
DEVICE_PCMCIA = 0x200, /* requires the PCMCIA bus */
|
||||
DEVICE_HIL = 0x400, /* requires the HP HIL bus */
|
||||
DEVICE_EISA = 0x800, /* requires the EISA bus */
|
||||
DEVICE_AT32 = 0x1000, /* requires the Mylex AT/32 local bus */
|
||||
DEVICE_OLB = 0x2000, /* requires the OPTi local bus */
|
||||
DEVICE_VLB = 0x4000, /* requires the VLB bus */
|
||||
DEVICE_PCI = 0x8000, /* requires the PCI bus */
|
||||
DEVICE_CARDBUS = 0x10000, /* requires the CardBus bus */
|
||||
DEVICE_USB = 0x20000, /* requires the USB bus */
|
||||
DEVICE_AGP = 0x40000, /* requires the AGP bus */
|
||||
DEVICE_AC97 = 0x80000, /* requires the AC'97 bus */
|
||||
DEVICE_BUS = 0xfffff, /* requires a machine bus */
|
||||
DEVICE_MCA32 = 0x100, /* requires the MCA bus */
|
||||
DEVICE_PS2_KBC = 0x200, /* requires a PS/1 or PS/2 system */
|
||||
DEVICE_PCMCIA = 0x400, /* requires the PCMCIA bus */
|
||||
DEVICE_HIL = 0x800, /* requires the HP HIL bus */
|
||||
DEVICE_EISA = 0x1000, /* requires the EISA bus */
|
||||
DEVICE_AT32 = 0x2000, /* requires the Mylex AT/32 local bus */
|
||||
DEVICE_OLB = 0x4000, /* requires the OPTi local bus */
|
||||
DEVICE_VLB = 0x8000, /* requires the VLB bus */
|
||||
DEVICE_PCI = 0x10000, /* requires the PCI bus */
|
||||
DEVICE_CARDBUS = 0x20000, /* requires the CardBus bus */
|
||||
DEVICE_USB = 0x40000, /* requires the USB bus */
|
||||
DEVICE_AGP = 0x80000, /* requires the AGP bus */
|
||||
DEVICE_AC97 = 0x100000, /* requires the AC'97 bus */
|
||||
DEVICE_BUS = 0xffffff, /* requires a machine bus */
|
||||
|
||||
DEVICE_COM = 0x100000, /* requires a serial port */
|
||||
DEVICE_LPT = 0x200000, /* requires a parallel port */
|
||||
@@ -112,11 +113,6 @@ enum {
|
||||
DEVICE_ALL = 0xffffffff /* match all devices */
|
||||
};
|
||||
|
||||
/* TODO: Remove this once all the devices' flags have been updated. */
|
||||
#define DEVICE_AT DEVICE_ISA16
|
||||
#define DEVICE_PCJR DEVICE_SIDECAR
|
||||
#define DEVICE_PS2 DEVICE_PS2_KBC
|
||||
|
||||
#define BIOS_NORMAL 0
|
||||
#define BIOS_INTERLEAVED 1
|
||||
#define BIOS_INTERLEAVED_SINGLEFILE 2
|
||||
|
||||
@@ -33,19 +33,20 @@
|
||||
#define MACHINE_BUS_ISA16 0x00000020 /* sys has ISA16 bus - PC/AT architecture */
|
||||
#define MACHINE_BUS_AT_KBD 0x00000040 /* sys has an AT keyboard port */
|
||||
#define MACHINE_BUS_MCA 0x00000080 /* sys has MCA bus */
|
||||
#define MACHINE_BUS_PS2_PORTS 0x00000100 /* system has PS/2 keyboard and mouse ports */
|
||||
#define MACHINE_BUS_MCA32 0x00000100 /* sys has MCA32 bus */
|
||||
#define MACHINE_BUS_PS2_PORTS 0x00000200 /* system has PS/2 keyboard and mouse ports */
|
||||
#define MACHINE_BUS_PS2 MACHINE_BUS_PS2_PORTS
|
||||
#define MACHINE_BUS_PCMCIA 0x00000200 /* sys has PCMCIA bus */
|
||||
#define MACHINE_BUS_HIL 0x00000400 /* system has HP HIL keyboard and mouse ports */
|
||||
#define MACHINE_BUS_EISA 0x00000800 /* sys has EISA bus */
|
||||
#define MACHINE_BUS_AT32 0x00001000 /* sys has Mylex AT/32 local bus */
|
||||
#define MACHINE_BUS_OLB 0x00002000 /* sys has OPTi local bus */
|
||||
#define MACHINE_BUS_VLB 0x00004000 /* sys has VL bus */
|
||||
#define MACHINE_BUS_PCI 0x00008000 /* sys has PCI bus */
|
||||
#define MACHINE_BUS_CARDBUS 0x00010000 /* sys has CardBus bus */
|
||||
#define MACHINE_BUS_USB 0x00020000 /* sys has USB bus */
|
||||
#define MACHINE_BUS_AGP 0x00040000 /* sys has AGP bus */
|
||||
#define MACHINE_BUS_AC97 0x00080000 /* sys has AC97 bus (ACR/AMR/CNR slot) */
|
||||
#define MACHINE_BUS_PCMCIA 0x00000400 /* sys has PCMCIA bus */
|
||||
#define MACHINE_BUS_HIL 0x00000800 /* system has HP HIL keyboard and mouse ports */
|
||||
#define MACHINE_BUS_EISA 0x00001000 /* sys has EISA bus */
|
||||
#define MACHINE_BUS_AT32 0x00002000 /* sys has Mylex AT/32 local bus */
|
||||
#define MACHINE_BUS_OLB 0x00004000 /* sys has OPTi local bus */
|
||||
#define MACHINE_BUS_VLB 0x00008000 /* sys has VL bus */
|
||||
#define MACHINE_BUS_PCI 0x00010000 /* sys has PCI bus */
|
||||
#define MACHINE_BUS_CARDBUS 0x00020000 /* sys has CardBus bus */
|
||||
#define MACHINE_BUS_USB 0x00040000 /* sys has USB bus */
|
||||
#define MACHINE_BUS_AGP 0x00080000 /* sys has AGP bus */
|
||||
#define MACHINE_BUS_AC97 0x00100000 /* sys has AC97 bus (ACR/AMR/CNR slot) */
|
||||
/* Aliases. */
|
||||
#define MACHINE_CASSETTE (MACHINE_BUS_CASSETTE) /* sys has cassette port */
|
||||
/* Combined flags. */
|
||||
|
||||
Reference in New Issue
Block a user