http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9dfb9d8
)
Fixed debug code
author
Michael Brown
<mcb30@etherboot.org>
Sun, 21 May 2006 16:04:41 +0000
(16:04 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Sun, 21 May 2006 16:04:41 +0000
(16:04 +0000)
src/drivers/block/ata.c
patch
|
blob
|
history
diff --git
a/src/drivers/block/ata.c
b/src/drivers/block/ata.c
index
0e4c779
..
8bd88fe
100644
(file)
--- a/
src/drivers/block/ata.c
+++ b/
src/drivers/block/ata.c
@@
-43,9
+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 ) {
DBG ( "ATA cmd %02x dev %02x fl %02x LBA %llx count %04x\n",
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,
- ( unsigned long long ) command
.
cb.lba.native,
- command
.
cb.count.native );
+ command
->cb.cmd_stat, command->cb.device, command->
cb.flags,
+ ( unsigned long long ) command
->
cb.lba.native,
+ command
->
cb.count.native );
return ata->command ( ata, command );
}
return ata->command ( ata, command );
}