|
@@ -43,9 +43,9 @@ block_to_ata ( struct block_device *blockdev ) {
|
43
|
43
|
static inline __attribute__ (( always_inline )) int
|
44
|
44
|
ata_command ( struct ata_device *ata, struct ata_command *command ) {
|
45
|
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
|
50
|
return ata->command ( ata, command );
|
51
|
51
|
}
|