diff options
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/qlw_pci.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/qlw_pci.c b/sys/dev/pci/qlw_pci.c index ab7fad86781..ef15e7c81df 100644 --- a/sys/dev/pci/qlw_pci.c +++ b/sys/dev/pci/qlw_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qlw_pci.c,v 1.8 2014/03/09 20:23:43 kettenis Exp $ */ +/* $OpenBSD: qlw_pci.c,v 1.9 2014/03/15 13:08:52 kettenis Exp $ */ /* * Copyright (c) 2011 David Gwynne <dlg@openbsd.org> @@ -249,6 +249,8 @@ qlw_pci_attach(struct device *parent, struct device *self, void *aux) case QLW_GEN_ISP12160: sc->sc_firmware = isp_12160_risc_code; break; + default: + break; } #endif @@ -285,6 +287,9 @@ qlw_pci_attach(struct device *parent, struct device *self, void *aux) } #endif + sc->sc_host_cmd_ctrl = QLW_HOST_CMD_CTRL_PCI; + sc->sc_mbox_base = QLW_MBOX_BASE_PCI; + if (qlw_attach(sc) != 0) { /* error printed by qlw_attach */ goto deintr; |