summaryrefslogtreecommitdiff
path: root/sys/dev/sdmmc
AgeCommit message (Collapse)Author
2007-03-24Dump command and response when debugging is enabledUwe Stuehler
2007-03-18Define MMC_STOP_TRANSMISSION command (CMD12)Uwe Stuehler
2007-03-18DHC automatically sends a CMD12 after multiple-block transfers, but otherUwe Stuehler
controllers don't. Put in a temporary hack for pxammc on Zaurus.
2007-03-18Support the PXA27x SD/SDIO/MMC controller on ZaurusUwe Stuehler
We use the suggested workaround for the problem E40 in the PXA27x errata sheet. Unfortunately this limits the bus speed to 9.75Mhz.
2007-01-31Workaround for the problem where the SD card reader stops responding afterClaudio Jeker
a card is ejected. Problem identified and patch provided by Matthew R. Dempsky < mrd at alkemio dot org >: > According to the Simplified SD Host Controller spec, this change > shouldn't affect anything. All of the bits in the Software Reset > register are labeled as ignoring 0-bit writes, and yet somehow it > changes behavior. This seems to reliably fix the problems seen on many X40 laptops. Tested by many, OK beck@, "should be good to go" henning@
2007-01-28Restore spl level before exiting on error.Kenneth R Westerback
Noted by Matthew R. Dempsky.
2006-12-20syncTheo de Raadt
2006-12-20add atheros idsTheo de Raadt
2006-11-29move CSD/CID decoding to sdmmc_mem.cUwe Stuehler
2006-11-29make interrupt handler stay quiet in case of shared interruptsUwe Stuehler
2006-11-29oops, don't always enable debuggingUwe Stuehler
2006-11-29Show debug messages depending on current debug level, which may beUwe Stuehler
changed with ddb or sdio(8).
2006-11-29add ioctl hack to support the sdio(8) userland toolUwe Stuehler
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
ok miod@ marco@ deraadt@
2006-10-19s/Mhz/MHz/ in comments and printf() stringsTom Cosgrove
ok jsg@
2006-10-17dont pass a copy of sdmmcs scsi_link struct on the stack to the midlayer.David Gwynne
it triggered a panic on detach of the scsibus when it tried to use the adapters scsi_link struct that was no longer there. issue found by and this fix tested by pedro@ ok krw@ looks right deraadt@
2006-08-23Protect scsi_done() with splbio(), discussed with and okay dlg@, marco@Pedro Martelletto
and fgsch@, uwe@ time-out :(
2006-07-30more.Federico G. Schwindt
2006-07-30add some more definitions.Federico G. Schwindt
2006-07-30o Change sdhc_soft_reset() to pass the bits we want to reset and waitFederico G. Schwindt
until all bits are cleared. o Change sdhc_host_reset() to use the above function and use RESET_ALL. This avoid timeouts on TI controllers when initializing the controller but does not fix the command timeouts. uwe@ ok.
2006-07-19add some more debugging code.Federico G. Schwindt
2006-07-18syncTheo de Raadt
2006-07-18fix vendor typoTheo de Raadt
2006-07-18syncTheo de Raadt
2006-07-18mediatek/spectecTheo de Raadt
2006-07-18First and foremost, avoid an obious race between two or more processesUwe Stuehler
trying to get MMC commands through to the SD/MMC host controller via the emulated SCSI layer. This is achieved by ensuring exclusive access to the host controller for one process during any MMC command and during a sequence of commands at the sdmmc(4) layer. While at it, the command processing thread has been moved to sdmmc(4), so as to simplify the implementation of future host controller drivers. This should also pave the way for further cleanup of the code and for new drivers. Minor cleanups are included in this commit, as well.
2006-07-17silently return if sdmmc is disabled/not in the kernel. uwe@ ok.Federico G. Schwindt
2006-07-17correct the way hosts are alloc'ed. fixes crashes on controllers withFederico G. Schwindt
multiple slots. tested by me and ian@. uwe@ ok.
2006-07-17correct base freq mask per spec. sdhc found in the nx6125 now configuresFederico G. Schwindt
correctly. uwe@ ok.
2006-07-10print the frequency in mhz, really.Federico G. Schwindt
2006-06-29- Assign RCAs beginning at 1 since 0 is used to deselect all cards.Uwe Stuehler
- Always set the "SDIO function 0" pointer to something, even if it is a memory-only card to avoid further special cases in SDIO drivers.
2006-06-29Oops! Clear the "function 0" pointer when the card goes away.Uwe Stuehler
2006-06-29Thanks to ian@ who experimented a lot with his TI PCI7621 SDHC, we knowUwe Stuehler
that the controller "kind-of" works, but it does not indicate completion of the host controller reset. Thus we cannot know whether the reset was successful or not, so don't return an error if the reset timed out.
2006-06-19Appease the printf gods here tooMiod Vallat
2006-06-03prettier function declarationMartin Reindl
2006-06-03regenUwe Stuehler
2006-06-03correct product id for the SyChip deviceUwe Stuehler
2006-06-03- only call config_found for function number > 0Uwe Stuehler
- always display the product information in sdmmc_print()
2006-06-02regenUwe Stuehler
2006-06-02more products from http://mmc.drzeus.cx/wiki/SDIOUwe Stuehler
2006-06-02s/CID/CIS/Uwe Stuehler
2006-06-02Implement power hook (without looking at the capabilities yet).Uwe Stuehler
2006-06-01Multiply the capacity for cards with block size >512 bytes (e.g. 2G cards).Uwe Stuehler
2006-06-01SDIO card identificationUwe Stuehler
2006-06-01fewer debug messagesUwe Stuehler
2006-06-01regenUwe Stuehler
2006-06-01The Spectec device is probably a SDW-820. Keep product names shortUwe Stuehler
and descriptive.
2006-06-01regenUwe Stuehler
2006-06-01Start a list of SD vendors and products.Uwe Stuehler
2006-05-28don't #undef SDMMC_DEBUGUwe Stuehler