|
|
|
|
43
|
static inline __attribute__ (( always_inline )) int
|
43
|
static inline __attribute__ (( always_inline )) int
|
44
|
ata_command ( struct ata_device *ata, struct ata_command *command ) {
|
44
|
ata_command ( struct ata_device *ata, struct ata_command *command ) {
|
45
|
DBG ( "ATA cmd %02x dev %02x fl %02x LBA %llx count %04x\n",
|
45
|
DBG ( "ATA cmd %02x dev %02x fl %02x LBA %llx count %04x\n",
|
46
|
- command.cb.cmd_stat, command.cb.device, command.cb.flags,
|
|
|
47
|
- ( unsigned long long ) command.cb.lba.native,
|
|
|
48
|
- command.cb.count.native );
|
|
|
|
|
46
|
+ command->cb.cmd_stat, command->cb.device, command->cb.flags,
|
|
|
47
|
+ ( unsigned long long ) command->cb.lba.native,
|
|
|
48
|
+ command->cb.count.native );
|
49
|
|
49
|
|
50
|
return ata->command ( ata, command );
|
50
|
return ata->command ( ata, command );
|
51
|
}
|
51
|
}
|