1
0
Fork 0
forked from koniifer/ableos

PCI: add PIIX3_IDE to supported devices

PIIX4_IDE and PIIX3_IDE are similar enough that we can have one driver
for both.
This commit is contained in:
TheOddGarlic 2022-08-08 21:39:02 +03:00
parent f5c4db98f9
commit 3836416891
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)