public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b71689
)
fdc765: fix reporting
author
Alan Cox
<alan@linux.intel.com>
Sun, 2 Dec 2018 23:46:00 +0000
(23:46 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 2 Dec 2018 23:46:00 +0000
(23:46 +0000)
Kernel/dev/devfdc765.c
patch
|
blob
|
history
diff --git
a/Kernel/dev/devfdc765.c
b/Kernel/dev/devfdc765.c
index
65f71b2
..
70264f0
100644
(file)
--- a/
Kernel/dev/devfdc765.c
+++ b/
Kernel/dev/devfdc765.c
@@
-155,7
+155,8
@@
static int devfd_transfer(bool is_read, uint8_t is_raw)
}
if (tries == 3)
{
- kprintf("fd%d: I/O error %d:%d\n", is_read, lba);
+ /* FIXME: will be the drive num once we fix that */
+ kprintf("fd%d: I/O error %d:%d - %d\n", 0, is_read, lba, fd765_status[0]);
udata.u_error = EIO;
break;
}