I've never looked at the Linux SCSI code, but I've had a lot of experience
with the predecessors of the current Symbios chips (the 53C700, 710, and
720...the company I worked for did most of the SCSI software for NCR
Microelectronics back then), and from a hardware point of view, your
guess is accurate. It doesn't even take clever hacking, because SCSI
target mode is actually *easier* than initiator mode. It is the target
that control a SCSI transaction.
In fact, target mode is easy enough that I managed to get a SCSI RAM disk
working entirely in the 53C7xx scripting language. I had to use a 256
byte sector size, because the chip did not have powerfull enough
arithmetic operators to convert a 512-byte-block count into a byte count,
but aside from that oddity, it actually worked. (I could handle 256 byte
blocks because the necessary shift by 8 to convert could be done with
byte-aligned memory moves).
Anyway, at the SCSI level, you'll have no problems.
--Tim Smith
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/