From f51c6eae2e3cbf5ec766efa1b37285f1e4002e63 Mon Sep 17 00:00:00 2001 From: mjacob Date: Mon, 12 Feb 2001 23:22:03 +0000 Subject: set default adapter role, propage config flags --- sys/arch/sparc/dev/isp_sbus.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/arch') 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); -- cgit v1.2.3