Christoph Hellwig wrote: > On Tue, Aug 24, 2004 at 09:39:36PM +1000, Douglas Gilbert wrote: > >>The scsi_level value in struct scsi_device is a bit >>mysterious. Hopefully this patch makes it a bit clearer >>since it is visible via sysfs. >> >>Changes: >> - add scsi_level constants for SPC-2 and SPC-3 >> - comment on relationship between scsi_level and INQUIRY response > > > Looks cool. What about turning it into an enum while you're at it? Christoph, Changes: - convert scsi_level defines to enumerations - add scsi_level enumerations for SPC-2, SPC-3 and proposed SPC-4 - comment on relationship between scsi_level and INQUIRY response Patch against lk 2.6.9-rc1 attached. Doug Gilbert