[EMAIL PROTECTED] said:
> 2. Hack - have the adapter driver report a phony scsi device
> Similar to what scsi_debug does I could create a bogus device and
> then be able to do what i need by opening that device. I don't like
> this idea much.
You wouldn't have to report a phony device, just report the adapter itself.
Every adapter is also a device on the actual bus, so just report a processor
device inquiry with the adapter's SCSI id (you can even supply reasonable
parameters for vendor and model). Because it is a processor, nothing other
than sg will bind anyway. This seems like a reasonable convention for drivers
like yours and requires no modifications to the current SCSI subsystem.
James Bottomley
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]