Re: request sense

2005-02-25 Thread Patrick Mansfield
On Fri, Feb 25, 2005 at 03:37:50PM +, Matthew Wilcox wrote: > On Fri, Feb 25, 2005 at 02:02:20PM +1000, Douglas Gilbert wrote: > > Back in SCSI-2 (final t10 draft in 1993, standard in 1994) all > > SCSI commands (I believe) used the top 3 bits of byte 1 of a cdb > > for the logical unit number

Re: request sense

2005-02-25 Thread Matthew Wilcox
On Fri, Feb 25, 2005 at 02:02:20PM +1000, Douglas Gilbert wrote: > Matthew Wilcox wrote: > >3w-9xxx Never fills in LUN > >53c700 Always fills in LUN > >BusLogic Doesn't send REQUEST_SENSE > >aic7xxx Same as sym2 (except it sets its equivalent of scsi_version) > >dc395x Alw

Re: request sense

2005-02-24 Thread Douglas Gilbert
Matthew Wilcox wrote: Found a funny in the sym2 driver I'm not sure how to resolve: cp->sensecmd[0] = REQUEST_SENSE; cp->sensecmd[1] = 0; if (tp->tinfo.curr.scsi_version <= 2 && cp->lun <= 7) cp->sensecmd[1] = c