On Fri, 2008-05-02 at 18:47 -0500, James Bottomley wrote: > Actually, if you want to be useful, there's far more than just this. > The whole of SCSI and SAS is peppered with thinks like this. See for > example the include/scsi/scsi.h:scsi_to_u32() sas.h:SAS_ADDR() etc. > > Unfortunately, since SCSI is a BE bus, a lot of it is simply roll your > own inside the .c files. > Sure, I'll go for a look-see, this was just the ones that were greppable to find. I'll go through scsi looking for this pattern this weekend. Harvey -- 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