coco2cart: bug: sdc driver still not returning no of bytes read/writen
authorBrett Gordon <beretta42@gmail.com>
Tue, 14 Aug 2018 02:07:14 +0000 (22:07 -0400)
committerBrett 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

index dbfe2e1..ee8cf44 100644 (file)
@@ -58,7 +58,7 @@ typedef void (*sdc_transfer_function_t)( unsigned char *addr);
 
 
 /* blkdev method: transfer sectors */
-static uint8_t sdc_transfer(uint8_t minor, bool is_read, uint8_t rawflag)
+static uint16_t sdc_transfer(uint8_t minor, bool is_read, uint8_t rawflag)
 {
                uint8_t nb = 0;
        uint32_t lba;             /* holds 32 bit lsn */