diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-03-15 13:08:53 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-03-15 13:08:53 +0000 |
commit | c21f43c2774fc089e91ae1bb2e11ece956417b7c (patch) | |
tree | 947df3abca9b78262cb55d2b2e9d4365ca0c78b6 /sys/dev/pci | |
parent | 5812f75c6c47c929c934283ecea3828bb21236d9 (diff) |
More ISP1000 (SBus) bits.
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; |