Browse Source

Updated debug message to reflect change in data structure.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
2e49441535
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/drivers/block/ata.c

+ 3
- 2
src/drivers/block/ata.c View File

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

Loading…
Cancel
Save