Add USB modes.
This commit is contained in:
parent
0b8608ef08
commit
5d4e90d775
@ -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";
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user