Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci catch up with new names.



details:   https://anonhg.NetBSD.org/src/rev/954ed86747e8
branches:  trunk
changeset: 345963:954ed86747e8
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jun 17 17:35:21 2016 +0000

description:
catch up with new names.

diffstat:

 sys/dev/pci/ciss_pci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r c4c1511ea8b9 -r 954ed86747e8 sys/dev/pci/ciss_pci.c
--- a/sys/dev/pci/ciss_pci.c    Fri Jun 17 17:05:04 2016 +0000
+++ b/sys/dev/pci/ciss_pci.c    Fri Jun 17 17:35:21 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ciss_pci.c,v 1.11 2014/03/29 19:28:24 christos Exp $   */
+/*     $NetBSD: ciss_pci.c,v 1.12 2016/06/17 17:35:21 christos Exp $   */
 /*     $OpenBSD: ciss_pci.c,v 1.9 2005/12/13 15:56:01 brad Exp $       */
 
 /*
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ciss_pci.c,v 1.11 2014/03/29 19:28:24 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ciss_pci.c,v 1.12 2016/06/17 17:35:21 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -283,13 +283,13 @@
        }
        sc->sc_dmat = pa->pa_dmat;
 
-       sc->iem = CISS_READYENA;
+       sc->iem = CISS_INTR_OPQ_SA5;
        reg = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_SUBSYS_ID_REG);
        if (PCI_VENDOR(reg) == PCI_VENDOR_COMPAQ &&
            (PCI_PRODUCT(reg) == PCI_PRODUCT_COMPAQ_CSA5i ||
             PCI_PRODUCT(reg) == PCI_PRODUCT_COMPAQ_CSA532 ||
             PCI_PRODUCT(reg) == PCI_PRODUCT_COMPAQ_CSA5312))
-               sc->iem = CISS_READYENAB;
+               sc->iem = CISS_INTR_OPQ_SA5B;
 
        cfg_bar = bus_space_read_2(sc->sc_iot, sc->sc_ioh, CISS_CFG_BAR);
        sc->cfgoff = bus_space_read_4(sc->sc_iot, sc->sc_ioh, CISS_CFG_OFF);



Home | Main Index | Thread Index | Old Index