public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63d5420
)
trs80: correct devhd return value
author
Alan Cox
<alan@linux.intel.com>
Sat, 22 Apr 2017 18:07:35 +0000
(19:07 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 22 Apr 2017 18:07:35 +0000
(19:07 +0100)
Kernel/platform-trs80/devhd.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-trs80/devhd.c
b/Kernel/platform-trs80/devhd.c
index
a194810
..
81381c7
100644
(file)
--- a/
Kernel/platform-trs80/devhd.c
+++ b/
Kernel/platform-trs80/devhd.c
@@
-141,7
+141,7
@@
int hd_transfer(uint8_t minor, bool is_read, uint8_t rawflag)
}
}
}
- return
1
;
+ return
ct << 8
;
bad:
if (err & 1)
kprintf("hd%d: error %x\n", minor, hd_err);