From ff248f6e62eaee84255dc0f4e484582ca74dd0c8 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 28 Mar 2003 23:49:49 +0000 Subject: unbreak after SiS pcidevs change --- sys/dev/pci/pciide.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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; } -- cgit v1.2.3