Date: Sun, 2 Apr 2000 15:35:36 -0600 (MDT) From: "Justin T. Gibbs" <gibbs@narnia.plutotech.com> To: Nick Hibma <n_hibma@calcaphon.com> Cc: scsi@FreeBSD.org Subject: Re: peripheral Message-ID: <200004022135.PAA27619@narnia.plutotech.com> In-Reply-To: <Pine.BSF.4.20.0004021311290.1205-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.4.20.0004021311290.1205-100000@localhost> you wrote: > > How do I send an action to a SIM (XPT_SCAN_BUS)? A SIM does not seem to > have a peripheral (cam_find_find_periph), yet periph needs to be > initialised in the path passed to xpt_setup_ccb/xpt_action, to avoid a > NULL dereference in xpt_done. A SIM is not supposed to send CCBs to itself. To truely implement auto-discovery (which I'm guessing is the root of your question), requires adding in the auto-discovery hooks from CAM3. Until then, either add your hack to get at the xpt_periph, or allocate a peripheral (cam_periph_alloc) for your SIM and use it to generate the SCAN_BUS request. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004022135.PAA27619>