K 10 svn:author V 3 sos K 8 svn:date V 27 2006-03-10T12:30:08.000000Z K 7 svn:log V 540 MFC: Only use the channel in the request given to ata_completed if its still present. Only look for ICRC and CORR errors on ATA devices not ATAPI. Get rid of all the "long long"/"maxint" casting around in printf's. On all our platforms intmax == int64_t so simply using %j to print int64_t's is safe all over, and doesn't pullute the code. Update atapi-fd to support direct devices such as disks. ATAUSB will need to hook into the delayed boot identify to have interrupts running, so externalize it. Add USB modes. Approved by: re@ (mux) END