diff options
author | sos <sos@FreeBSD.org> | 2007-10-26 08:57:08 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2007-10-26 08:57:08 +0000 |
commit | 07eb0a925e6d9c22f05c19f8bfc207fa6e7530fd (patch) | |
tree | 3adfa1b3b078bb2e807ac3b573dbd77ca898f542 /sys/dev/ata | |
parent | 3e78c64b40af2b1e8cdeae377dc50fcf3d9b6266 (diff) | |
download | FreeBSD-src-07eb0a925e6d9c22f05c19f8bfc207fa6e7530fd.zip FreeBSD-src-07eb0a925e6d9c22f05c19f8bfc207fa6e7530fd.tar.gz |
Fix treating some modern chips (mem mapped) as legacy devices.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/ata-pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-pci.c b/sys/dev/ata/ata-pci.c index d1b4b9a..06c28f0 100644 --- a/sys/dev/ata/ata-pci.c +++ b/sys/dev/ata/ata-pci.c @@ -66,7 +66,8 @@ ata_legacy(device_t dev) (!pci_read_config(dev, PCIR_BAR(0), 4) && !pci_read_config(dev, PCIR_BAR(1), 4) && !pci_read_config(dev, PCIR_BAR(2), 4) && - !pci_read_config(dev, PCIR_BAR(3), 4))); + !pci_read_config(dev, PCIR_BAR(3), 4) && + !pci_read_config(dev, PCIR_BAR(5), 4))); } int |