summaryrefslogtreecommitdiff
path: root/sys/dev/sdmmc
AgeCommit message (Collapse)Author
2008-02-25Fix broken cast on 64bit platformsUwe Stuehler
2008-02-24Sync sys/netbt with NetBSDUwe Stuehler
ok deraadt@
2007-11-29unbreak the zaurus kernel build by adding a missing headerTodd T. Fries
co-discovered by robert@
2007-10-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' whereKenneth R Westerback
obvious.
2007-09-17Only the most obvious bzero() -> M_ZERO changes. No cast changes, noKenneth R Westerback
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
2007-09-11KNFGilles Chehade
prompted and "much better" by marco@, ok pyr@
2007-09-10more MALLOC/FREE -> malloc/free and M_ZERO changesGilles Chehade
ok pyr@
2007-09-06Don't try disabling bus power before setting the voltage onJonathan Gray
the buggy ENE controller. Tested by Alexey Suslikov <alexey.suslikov@gmail.com> who pointed out a similiar workaround in Linux. ok miod@, nit and ok kettenis@
2007-06-19Pass the correct flag to sbt_start() in sbt_start_cmd()Uwe Stuehler
2007-06-19better debug outputUwe Stuehler
2007-06-06Oops, dispatch packets to the correct hci_input_xxx() functionUwe Stuehler
2007-06-06Let it compile with SBT_DEBUGUwe Stuehler
2007-06-03Implement transmission of ACL and SCO packetsUwe Stuehler
2007-06-02split up large CMD53 reads and writesUwe Stuehler
2007-06-02retry reading HCI packets a few times before giving upUwe Stuehler
2007-05-31don't print debug messagesUwe Stuehler
2007-05-31Clean up and fix sbt_write_packet()Uwe Stuehler
2007-05-31An SDIO Bluetooth driver, only initial bits and therefore not enabled yetUwe Stuehler
2007-05-31Add SDIO card interrupt handling codeUwe Stuehler
2007-05-26Bug fixes and initial card interrupt support in sdhcUwe Stuehler
- Fix data transfers where c_datalen is not a multiple of 4 - Fix the handling of MMC commands with c_datalen < c_blklen - Change the order of register writes in sdhc_start_command() and only write block count if we transfer multiple blocks - Enable the SDIO card interrupt (but don't acknowledge it yet)
2007-05-26Wait until an I/O function becomes ready after enabling it, and makeUwe Stuehler
sdmmc_io_rw_extended() non-incremental, by default.
2007-05-26Use M_TEMP, not M_DEVBUF for temporary memoryUwe Stuehler
2007-05-11regenMarcus Glocker
2007-05-11Add vendor and product; AboCom Systems, Inc. SDW11G.Marcus Glocker
2007-04-11((cast)ptr)++ is not a valid lvalue, despite being tolerated by gcc, soMiod Vallat
replace the post-increment with a proper statement. ok uwe@
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