Commit Graph

17 Commits

Author SHA1 Message Date
nonaka
7e6a2d093f - mention MMC SPI mode.
- support SD 4bit bus width mode.
2010-04-06 15:10:09 +00:00
nonaka
821373d09b Added sdhc at cardbus support. 2010-03-27 03:04:51 +00:00
dyoung
c1b390d493 A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
2010-02-24 22:37:54 +00:00
uebayasi
0eddd68d7f According to SD Host Controller Simplified Specification Version 2.00, 2.2.10.
Host Control Register (Offset 028h), the "Data Transfer Width" bit is in Host
Control Register (Offset 028h), not Power Control Register (Offset 029h).
2010-01-12 08:41:16 +00:00
dyoung
cd6e1fbf91 Expand PMF_FN_* macros. 2010-01-08 19:53:10 +00:00
pooka
faa8e1b3e3 Convert tsleep(&lbolt) to kpause(). Make ltsleep/mtsleep on lbolt
illegal.  I examined all places where lbolt is referenced to make
sure there were pointer aliases of it passed to tsleep, but put a
KASSERT in m/ltsleep() just to be sure.
2009-12-05 22:34:43 +00:00
nonaka
c6e1f64d7a Always sector size is treated as 512 bytes. 2009-11-28 10:00:24 +00:00
uebayasi
384f20ea46 Typo in comment. 2009-10-02 04:33:58 +00:00
hubertf
d0ffc7ee11 Remove trailing whitespace,
from KIYOHARA Takashi on current-users@
2009-06-28 11:17:39 +00:00
nonaka
84b5216c59 It is avoided that the error occurs when the card attaches it,
when wedge is supported.
2009-05-29 22:27:40 +00:00
nonaka
b822210843 SDHC card was able to be used. 2009-05-24 12:59:54 +00:00
cegger
82fdd59cb5 fix crash with LOCKDEBUG+DIAGNOSTIC kernels:
sdhc_bus_clock() calls mutex_enter().
then in DIAGNOSTIC section, sdhc_bus_clock() calls sdhc_card_detect().
sdhc_card_detect() calls mutex_enter() on the same mutex again.
when LOCKDEBUG is enabled, you get

Mutex error: lockdebug_wantlock: locking against myself
2009-05-17 14:36:46 +00:00
cegger
3261738b4d struct cfdata * -> cfdata_t, no functional changes intended. 2009-05-06 08:20:49 +00:00
nonaka
35df2d384d fix build broken.
Pointed by Takeshi Nakayama.
2009-04-26 13:05:55 +00:00
nonaka
9445e9e796 Added some command definitions. 2009-04-26 07:21:13 +00:00
nonaka
e1c4491975 regen 2009-04-21 03:10:41 +00:00
nonaka
e0297d1ead Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.
2009-04-21 03:00:29 +00:00