Correct behaviour of an ATA/ATAPI CD Drive

2007-11-13 Thread Adrian McMenamin
I am writing a driver for the GD Rom on the SEGA Dreamcast. This could, loosely, be described as an ATAPI device - it's registers correspond closely with those in the ATA3 specification but it has proprietary packet command interface (the SPI which is only partly reversed) similiar but quite

Re: Correct behaviour of an ATA/ATAPI CD Drive

2007-11-13 Thread Alan Cox
Anyway, to cut a long story short, when a command goes wrong, the get sense packet command does not seem to generate an end of event interrupt and as a result the command times out (after 60 seconds in my driver) but the correct sense key is then returned on a read of the Data register.