Commit df682e08 authored by Jeffrey Lee's avatar Jeffrey Lee

Fix SD slots not always appearing on iconbar

Detail:
  c/module - A typo in the startup code resulted in the service_SDIOSlotAttached 'integrated' parameter being calculated incorrectly.
Admin:
  Tested on Pandora
  2nd SD slot now appears on iconbar if slot is empty on boot (previously would only appear if slot occupied)


Version 0.03. Tagged as 'SDFS-0_03'
parent 14356c66
/* (0.02)
/* (0.03)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.02
#define Module_MajorVersion_CMHG 0.03
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 16 Jul 2012
#define Module_Date_CMHG 30 Sep 2012
#define Module_MajorVersion "0.02"
#define Module_Version 2
#define Module_MajorVersion "0.03"
#define Module_Version 3
#define Module_MinorVersion ""
#define Module_Date "16 Jul 2012"
#define Module_Date "30 Sep 2012"
#define Module_ApplicationDate "16-Jul-12"
#define Module_ApplicationDate "30-Sep-12"
#define Module_ComponentName "SDFS"
#define Module_ComponentPath "cddl/RiscOS/Sources/FileSys/SDFS/SDFS"
#define Module_FullVersion "0.02"
#define Module_HelpVersion "0.02 (16 Jul 2012)"
#define Module_LibraryVersionInfo "0:2"
#define Module_FullVersion "0.03"
#define Module_HelpVersion "0.03 (30 Sep 2012)"
#define Module_LibraryVersionInfo "0:3"
......@@ -20,6 +20,7 @@
*/
/*
* Copyright 2012 Ben Avison. All rights reserved.
* Portions Copyright 2012 Jeffrey Lee.
* Use is subject to license terms.
*/
......@@ -165,7 +166,7 @@ _kernel_oserror *module_initialise(const char *cmd_tail, int podule_base, void *
{
service_SDIOSlotAttached((slot_spec & SDIOEnumerate_BusMask) >> SDIOEnumerate_BusShift,
(slot_spec & SDIOEnumerate_SlotMask) >> SDIOEnumerate_SlotShift,
slot_spec * SDIOEnumerate_Integrated);
slot_spec & SDIOEnumerate_Integrated);
uint32_t unit_handle = 0;
uint32_t unit_spec[2];
uint32_t unit_size[2];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment