On Sun, 13 Apr 2008 09:07:55 -0500 James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> wrote: > On Sat, 2008-04-12 at 14:52 +0900, FUJITA Tomonori wrote: > > bsg are created only for scsi devices (and scsi objects like sas host) > > now. Are there other means to send commands except for ioctl? > > Right now they are ... but the design was to allow for arbitrary packet > commands (like the frame in/frame out type that SMP needs), so the > anticipation is that it will be usable by arbitrary packet commands for > any block conforming device, examples of which would be ide taskfiles, > raid firmware commands and any other weirder native protocols. On the > other hand, this is future work and won't depend on the legacy 16 byte > cmd size. Yeah, we could add fc stuff to the list (James Smart said that he could use bsg in LSF 2007). > The only block device I know that implements SG_IO is cciss, so perhaps > there's no need to support a legacy mode at all for large packet > commands. I thought that ub supports it too. I'll check the whole tree. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html