diff options
-rw-r--r-- | sys/dev/pci/qla_pci.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/qle.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/qla_pci.c b/sys/dev/pci/qla_pci.c index a869255f483..0b720670f95 100644 --- a/sys/dev/pci/qla_pci.c +++ b/sys/dev/pci/qla_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qla_pci.c,v 1.5 2014/02/06 09:51:42 jmatthew Exp $ */ +/* $OpenBSD: qla_pci.c,v 1.6 2014/02/17 03:57:20 dlg Exp $ */ /* * Copyright (c) 2011 David Gwynne <dlg@openbsd.org> @@ -126,7 +126,7 @@ qla_pci_attach(struct device *parent, struct device *self, void *aux) printf(": %s\n", pci_intr_string(psc->psc_pc, ih)); psc->psc_ih = pci_intr_establish(psc->psc_pc, ih, IPL_BIO, - qla_intr, sc, sc->sc_dev.dv_xname); + qla_intr, sc, DEVNAME(sc)); if (psc->psc_ih == NULL) { printf("%s: unable to establish interrupt\n", DEVNAME(sc)); goto deintr; diff --git a/sys/dev/pci/qle.c b/sys/dev/pci/qle.c index fb2ce677089..da14e377ede 100644 --- a/sys/dev/pci/qle.c +++ b/sys/dev/pci/qle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qle.c,v 1.6 2014/02/17 03:50:42 dlg Exp $ */ +/* $OpenBSD: qle.c,v 1.7 2014/02/17 03:57:20 dlg Exp $ */ /* * Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org> @@ -364,7 +364,7 @@ qle_attach(struct device *parent, struct device *self, void *aux) printf(": %s\n", pci_intr_string(sc->sc_pc, ih)); sc->sc_ih = pci_intr_establish(sc->sc_pc, ih, IPL_BIO, - qle_intr, sc, sc->sc_dev.dv_xname); + qle_intr, sc, DEVNAME(sc)); if (sc->sc_ih == NULL) { printf("%s: unable to establish interrupt\n"); goto deintr; |