Fix the MASTERDEV breakage the caused the PIIX controllers to get
missed in the probe. This might break the CMD chips again, more testing is needed on that, but we need the mainstream chips to work again ...
This commit is contained in:
parent
507c85be96
commit
9b09a33635
@ -71,7 +71,8 @@
|
||||
#define ATA_IOADDR_RID 0
|
||||
#define ATA_ALTADDR_RID 1
|
||||
#define ATA_BMADDR_RID 2
|
||||
#define ATA_MASTERDEV(dev) ((pci_get_progif(dev) & 0x8f) == 0x8a)
|
||||
#define ATA_MASTERDEV(dev) ((pci_get_progif(dev) & 0x80) && \
|
||||
(pci_get_progif(dev) & 0x05) != 0x05)
|
||||
|
||||
/* prototypes */
|
||||
static int ata_probe(device_t);
|
||||
|
Loading…
Reference in New Issue
Block a user