From 7a63813aad2443d5d2e1192b5f1a9f89e3c1fcbe Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 2 Aug 2010 13:50:33 +0000 Subject: [PATCH] jmicron code was writing to the wrong register; ok jsg --- sys/dev/pci/pciide.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1