PCI: add PIIX3_IDE to supported devices

PIIX4_IDE and PIIX3_IDE are similar enough that we can have one driver
for both.
master
TheOddGarlic 2022-08-08 21:39:02 +03:00
parent 272cf525af
commit daea5b0183
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ impl DeviceID {
pub const S3INC_TRIO64V2: DeviceID = DeviceID::new(S3Inc, 0x8900);
// MassStorage_IDE (0x0101)
pub const INTEL_PIIX3_IDE: DeviceID = DeviceID::new(Intel, 0x7010);
pub const INTEL_PIIX4_IDE: DeviceID = DeviceID::new(Intel, 0x7111);
// Display_VGA (0x0300)

View File

@ -12,6 +12,7 @@ pub fn check_pci_support(device_id: DeviceID) -> bool {
S3INC_TRIO64V2 => true,
// MassStorage_IDE (0x0101)
INTEL_PIIX3_IDE => true,
INTEL_PIIX4_IDE => true,
// Display_VGA (0x0300)