Date: Wed, 17 Sep 2003 10:32:11 -0700 From: Chuck Tuffli <chuck_tuffli@agilent.com> To: freebsd-scsi@freebsd.org Subject: difference between scsi_target and scsi_targ_bh Message-ID: <20030917173211.GB37253@cre85086tuf.rose.agilent.com>
next in thread | raw e-mail | index | archive | help
I'm in the process of trying to understand how the targ(4) emulator works from top to bottom and ran into some confusion over scsi_target.c vs. scsi_targ_bh.c. From Nate's README, it appears that you need both of these drivers for the target to work. What confuses me is that there seems to be some hefty overlap between the two. For example, the LUN enable/disable code is almost identical, the constructors are similar, and the "start" functions are similar. My questions are 1) are both scsi_target and scsi_targ_bh needed 2) if so what is the general difference Thanks! -- Chuck Tuffli <chuck_tuffli AT NO_SPAM agilent DOT com> Agilent Technologies, Storage Area Networking
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030917173211.GB37253>