]> Zhao Yanbai Git Server - minix.git/commit
Added some more debug statements that are enablable by atapi_debug in the
authorBen Gras <ben@minix3.org>
Fri, 26 Aug 2005 19:39:00 +0000 (19:39 +0000)
committerBen Gras <ben@minix3.org>
Fri, 26 Aug 2005 19:39:00 +0000 (19:39 +0000)
commitd0cd846ae83465b7a1ad15bd3969b372121a6022
tree3edd8ed581b20c262aebc1b0744fadee700f5c13
parent5bf3f610a28b17650bcb9d2fbeff9af9f5e03c9d
Added some more debug statements that are enablable by atapi_debug in the
boot monitor.

Added SCSI_SENSE command that asks the drive, with request sense, about
diagnostics for the previous error. This command is called and the results
printed when atapi_debug is enabled and atapi errors occur.

Debug output also prints actual commands sent to the drive.

Suddenly, Andy's problem has vanished. Don't know why, minor changes
(e.g. moving the atapi packet data from stack to static) shouldn't have
fixed this.. But with the debug info, we stand a better chance of
finding out what it was if it occurs again.
drivers/at_wini/at_wini.c