summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authormjacob <mjacob@cvs.openbsd.org>2001-02-12 23:22:03 +0000
committermjacob <mjacob@cvs.openbsd.org>2001-02-12 23:22:03 +0000
commitf51c6eae2e3cbf5ec766efa1b37285f1e4002e63 (patch)
treeab913ab4f154dc994e63af321411469be574afa6 /sys/arch
parent55f4afa007e6f5d582456e4cce3919bcd19075cd (diff)
set default adapter role, propage config flags
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/isp_sbus.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/isp_sbus.c b/sys/arch/sparc/dev/isp_sbus.c
index 5a44c13425f..3a6108b6343 100644
--- a/sys/arch/sparc/dev/isp_sbus.c
+++ b/sys/arch/sparc/dev/isp_sbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_sbus.c,v 1.14 2000/10/16 22:45:02 mjacob Exp $ */
+/* $OpenBSD: isp_sbus.c,v 1.15 2001/02/12 23:22:02 mjacob Exp $ */
/*
* SBus specific probe and attach routines for Qlogic ISP SCSI adapters.
*
@@ -227,9 +227,11 @@ isp_sbus_attach(parent, self, aux)
isp->isp_dblev |= ISP_LOGDEBUG0|ISP_LOGCONFIG|ISP_LOGINFO;
#endif
#endif
+ isp->isp_confopts = self->dv_cfdata->cf_flags;
+ isp->isp_role = ISP_DEFAULT_ROLES;
- isp->isp_osinfo.no_mbox_ints = 1;
ISP_LOCK(isp);
+ isp->isp_osinfo.no_mbox_ints = 1;
isp_reset(isp);
if (isp->isp_state != ISP_RESETSTATE) {
ISP_UNLOCK(isp);