From ac0c01292686469b77803a88f7661e9204dceee8 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 3 Aug 2010 21:53:02 +0000 Subject: [PATCH] no special registers to restore on via chips either --- sys/dev/pci/pciide.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index bbce143d56d..6de59ead167 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.315 2010/08/02 13:50:33 deraadt Exp $ */ +/* $OpenBSD: pciide.c,v 1.316 2010/08/03 21:53:02 deraadt Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -1454,7 +1454,8 @@ pciide_activate(struct device *self, int act) sc->sc_pp->chip_map == phison_chip_map || 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 == default_chip_map || + sc->sc_pp->chip_map == apollo_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, -- 2.20.1