diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-03-28 23:49:49 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-03-28 23:49:49 +0000 |
commit | ff248f6e62eaee84255dc0f4e484582ca74dd0c8 (patch) | |
tree | ffc82f213b7d2e50ebc55225860c138f90881fd3 /sys | |
parent | a1f9300a859b44220022cb1d41ba0cd60c65c9c6 (diff) |
unbreak after SiS pcidevs change
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/pciide.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index 742ecc79bd3..7022668a862 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.118 2003/03/28 16:12:28 grange Exp $ */ +/* $OpenBSD: pciide.c,v 1.119 2003/03/28 23:49:48 millert Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -3228,7 +3228,7 @@ sis_chip_map(sc, pa) * have problems with UDMA */ if (rev >= 0xd0 && - (PCI_PRODUCT(pchb_id) != PCI_PRODUCT_SIS_SiS530 || + (PCI_PRODUCT(pchb_id) != PCI_PRODUCT_SIS_530 || PCI_REVISION(pchb_class) >= 0x03)) sc->sc_wdcdev.cap |= WDC_CAPABILITY_UDMA; } |