13 Oct, 2007
1 commit
-
Because scsi_print_sense_hdr prefixes with KERN_INFO, the output from
scsi_io_completion looks like:sd 0:0:0:0: [sdb] Device not ready: : Sense Key : 0x2 [current]
: ASC=0x4 ASCQ=0x3By using scsi_show_sense_hdr, we can get the much more appealing output:
sd 0:0:0:0: [sdb] Device not ready: Sense Key : 0x2 [current]
sd 0:0:0:0: [sdb] Device not ready: ASC=0x4 ASCQ=0x3Acked-by: Matthew Wilcox
Signed-off-by: James Bottomley
12 Mar, 2007
1 commit
-
Clean up constants.c and make result printing more user friendly:
- Refactor the command and sense functions so that the actual
formatting can be called from the various helper functions with the
correct prefix.- Replace scsi_print_hostbyte() and scsi_print_driverbyte() with
scsi_print_result() which is verbose when CONFIG_SCSI_CONSTANTS is
on.Signed-off-by: Martin K. Petersen
Signed-off-by: James Bottomley
11 Jun, 2006
1 commit
-
With Achim patch the last user (gdth) is switched away from scsi_request
so we an kill it now. Also disables some code in i2o_scsi that was
broken since the sg driver stopped using scsi_requests.Signed-off-by: Christoph Hellwig
Signed-off-by: James Bottomley
16 Dec, 2005
1 commit
-
Rename scsi_print_msg to spi_print_msg and move its prototype from
scsi_dbg.h to scsi_transport_spi.hSigned-off-by: Matthew Wilcox
Signed-off-by: James Bottomley
29 Aug, 2005
1 commit
-
This one removes struct scsi_request entirely from sd. In the process,
I noticed we have no callers of scsi_wait_req who don't immediately
normalise the sense, so I updated the API to make it take a struct
scsi_sense_hdr instead of simply a big sense buffer.Signed-off-by: James Bottomley
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!