diff options
author | sos <sos@FreeBSD.org> | 2001-01-05 15:23:06 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2001-01-05 15:23:06 +0000 |
commit | 446e8349b4ec7010a041966c583fdb20a2d9c0cb (patch) | |
tree | 21b08f3fef65df5d7e11eb79d93fe51f35705bb9 /sys/dev/ata/ata-dma.c | |
parent | 05000c266a61b7afcca07ca95e080a19d89a02b3 (diff) | |
download | FreeBSD-src-446e8349b4ec7010a041966c583fdb20a2d9c0cb.zip FreeBSD-src-446e8349b4ec7010a041966c583fdb20a2d9c0cb.tar.gz |
Oops the test in the Acer code should be >= not >.
Diffstat (limited to 'sys/dev/ata/ata-dma.c')
-rw-r--r-- | sys/dev/ata/ata-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-dma.c b/sys/dev/ata/ata-dma.c index 8e818ba..01860a8 100644 --- a/sys/dev/ata/ata-dma.c +++ b/sys/dev/ata/ata-dma.c @@ -291,7 +291,7 @@ ata_dmainit(struct ata_softc *scp, int device, "Aladdin: two atapi devices on this channel, no DMA\n"); break; } - if (udmamode >= 2 && pci_get_revid(parent) > 0x20) { + if (udmamode >= 2 && pci_get_revid(parent) >= 0x20) { int32_t word54 = pci_read_config(parent, 0x54, 4); error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0, |