From: deraadt Date: Fri, 6 Aug 2010 05:34:29 +0000 (+0000) Subject: ok, that is the last of the easy chips to check for register saves. i'm X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6b930d229a2eb769b86335b650b80c0eff451770;p=openbsd ok, that is the last of the easy chips to check for register saves. i'm going to give up on reading gobs of crap for a while and hope that someone else takes on the next few. --- diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index d7635dfb3fa..ab578e300c7 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.317 2010/08/06 02:47:27 deraadt Exp $ */ +/* $OpenBSD: pciide.c,v 1.318 2010/08/06 05:34:29 deraadt Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -1456,7 +1456,8 @@ pciide_activate(struct device *self, int act) sc->sc_pp->chip_map == ixp_chip_map || sc->sc_pp->chip_map == acard_chip_map || sc->sc_pp->chip_map == default_chip_map || - sc->sc_pp->chip_map == apollo_chip_map) { + sc->sc_pp->chip_map == apollo_chip_map || + sc->sc_pp->chip_map == sis_chip_map) { /* nothing to restore -- uses only 0x40 - 0x56 */ } else if (sc->sc_pp->chip_map == sch_chip_map) { pci_conf_write(sc->sc_pc, sc->sc_tag,