public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e82a9fe
)
coco2cart: bug: sdc driver still not returning no of bytes read/writen
author
Brett Gordon
<beretta42@gmail.com>
Tue, 14 Aug 2018 02:07:14 +0000
(22:07 -0400)
committer
Brett Gordon
<beretta42@gmail.com>
Tue, 14 Aug 2018 02:07:14 +0000
(22:07 -0400)
With this fix it boots again on the CoCo2 w/ SDC
Kernel/platform-coco2cart/devsdc.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-coco2cart/devsdc.c
b/Kernel/platform-coco2cart/devsdc.c
index
dbfe2e1
..
ee8cf44
100644
(file)
--- a/
Kernel/platform-coco2cart/devsdc.c
+++ b/
Kernel/platform-coco2cart/devsdc.c
@@
-58,7
+58,7
@@
typedef void (*sdc_transfer_function_t)( unsigned char *addr);
/* blkdev method: transfer sectors */
-static uint
8
_t sdc_transfer(uint8_t minor, bool is_read, uint8_t rawflag)
+static uint
16
_t sdc_transfer(uint8_t minor, bool is_read, uint8_t rawflag)
{
uint8_t nb = 0;
uint32_t lba; /* holds 32 bit lsn */