From: deraadt Date: Mon, 2 Aug 2010 13:50:33 +0000 (+0000) Subject: jmicron code was writing to the wrong register; ok jsg X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7a63813aad2443d5d2e1192b5f1a9f89e3c1fcbe;p=openbsd jmicron code was writing to the wrong register; ok jsg --- diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index eb32ef526cb..bbce143d56d 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.314 2010/08/02 05:14:34 deraadt Exp $ */ +/* $OpenBSD: pciide.c,v 1.315 2010/08/02 13:50:33 deraadt Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -8648,7 +8648,7 @@ jmicron_chip_map(struct pciide_softc *sc, struct pci_attach_args *pa) } WDCDEBUG_PRINT(("%s: new conf register 0x%x\n", sc->sc_wdcdev.sc_dev.dv_xname, conf), DEBUG_PROBE); - pci_conf_write(sc->sc_pc, sc->sc_tag, NFORCE_CONF, conf); + pci_conf_write(sc->sc_pc, sc->sc_tag, JMICRON_CONF, conf); } void