Add USB modes.

This commit is contained in:
sos 2006-03-05 21:32:38 +00:00
parent 0b8608ef08
commit 5d4e90d775
2 changed files with 6 additions and 0 deletions

View File

@ -847,6 +847,9 @@ ata_mode2str(int mode)
case ATA_UDMA6: return "UDMA133";
case ATA_SA150: return "SATA150";
case ATA_SA300: return "SATA300";
case ATA_USB: return "USB";
case ATA_USB1: return "USB1";
case ATA_USB2: return "USB2";
default:
if (mode & ATA_DMA_MASK)
return "BIOSDMA";

View File

@ -215,6 +215,9 @@ struct ata_params {
#define ATA_SA150 0x47
#define ATA_SA300 0x48
#define ATA_DMA_MAX 0x4f
#define ATA_USB 0x80
#define ATA_USB1 0x81
#define ATA_USB2 0x82
/* ATA commands */