Updated debug message to reflect change in data structure.
authorMichael Brown <mcb30@etherboot.org>
Mon, 12 Jun 2006 01:10:08 +0000 (01:10 +0000)
committerMichael Brown <mcb30@etherboot.org>
Mon, 12 Jun 2006 01:10:08 +0000 (01:10 +0000)
src/drivers/block/ata.c

index e0df367..555a5f6 100644 (file)
@@ -43,8 +43,9 @@ block_to_ata ( struct block_device *blockdev ) {
  */
 static inline __attribute__ (( always_inline )) int
 ata_command ( struct ata_device *ata, struct ata_command *command ) {
  */
 static inline __attribute__ (( always_inline )) int
 ata_command ( struct ata_device *ata, struct ata_command *command ) {
-       DBG ( "ATA cmd %02x dev %02x fl %02x LBA %llx count %04x\n",
-             command->cb.cmd_stat, command->cb.device, command->cb.flags,
+       DBG ( "ATA cmd %02x dev %02x LBA%s %llx count %04x\n",
+             command->cb.cmd_stat, command->cb.device,
+             ( command->cb.lba48 ? "48" : "" ),
              ( unsigned long long ) command->cb.lba.native,
              command->cb.count.native );
 
              ( unsigned long long ) command->cb.lba.native,
              command->cb.count.native );