factor out the code that figures out whether you're probing or detaching
authordlg <dlg@openbsd.org>
Tue, 22 Apr 2014 07:29:11 +0000 (07:29 +0000)
committerdlg <dlg@openbsd.org>
Tue, 22 Apr 2014 07:29:11 +0000 (07:29 +0000)
commitb0b58169a73e54da2b6f2b7096e1f4e2380dfcdb
treea5ab6b4d18957eda595a6245e4226e2bd2d12595
parent41b393a4d6ffc2ac13491676ec9ca91b58685b8c
factor out the code that figures out whether you're probing or detaching
a whole bus, a target, or a specific lun on a target from the bioctl
and scsi_req paths.

i want to reuse this factored code for something claudio wants.
sys/scsi/scsi_base.c
sys/scsi/scsiconf.c
sys/scsi/scsiconf.h