summaryrefslogtreecommitdiffstats
path: root/sys/dev/sdmmc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Extend the scsi_adapter minphys() callback to take a struct scsi_link *miod2009-02-161-3/+3
| | | | | | as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
* Fix crash on zaurus when sd memory card plugged by providing an attachmentgrange2009-02-062-5/+5
| | | | structure that slave devices like sbt expect.
* Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs).grange2009-01-211-2/+2
| | | | | | No functional changes. ok krw@ miod@
* Trivial lvalue abuse fixes, no binary changes.grange2009-01-131-2/+3
| | | | ok millert@ tedu@
* Explain that any check pattern will work.jsg2009-01-091-2/+2
| | | | Suggested by miod@
* Add support for SDHC cards on SDHC capable host controllers.jsg2009-01-094-9/+64
| | | | | | | Thanks to everyone who tested in particular jsing@ who found several problems in the initial diffs. ok dlg@ jsing@ miod@
* backout: would have been nice if this had been tested, to see that itderaadt2008-12-025-46/+20
| | | | crashes the moment a card is plugged in.
* Rework sdmmc locking to remove recursionblambert2008-11-245-20/+46
| | | | | | | Add SDMMC_ASSERT_LOCKED(), replacing many locking calls, and sprinkling the assertion to make sure that future changes don't catch us out "please commit" uwe@
* new workq_create interface. discovered by Vladimir Kirillovtedu2008-11-011-2/+2
|
* Fix broken cast on 64bit platformsuwe2008-02-251-3/+3
|
* Sync sys/netbt with NetBSDuwe2008-02-241-49/+150
| | | | ok deraadt@
* unbreak the zaurus kernel build by adding a missing headertodd2007-11-291-1/+2
| | | | co-discovered by robert@
* More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' wherekrw2007-10-011-4/+2
| | | | obvious.
* Only the most obvious bzero() -> M_ZERO changes. No cast changes, nokrw2007-09-171-3/+2
| | | | | MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
* KNFgilles2007-09-112-5/+5
| | | | prompted and "much better" by marco@, ok pyr@
* more MALLOC/FREE -> malloc/free and M_ZERO changesgilles2007-09-103-18/+14
| | | | ok pyr@
* Don't try disabling bus power before setting the voltage onjsg2007-09-062-3/+8
| | | | | | | | 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@
* Pass the correct flag to sbt_start() in sbt_start_cmd()uwe2007-06-191-2/+2
|
* better debug outputuwe2007-06-191-15/+30
|
* Oops, dispatch packets to the correct hci_input_xxx() functionuwe2007-06-061-9/+23
|
* Let it compile with SBT_DEBUGuwe2007-06-061-2/+2
|
* Implement transmission of ACL and SCO packetsuwe2007-06-031-11/+33
|
* split up large CMD53 reads and writesuwe2007-06-022-2/+25
|
* retry reading HCI packets a few times before giving upuwe2007-06-021-13/+30
|
* don't print debug messagesuwe2007-05-312-18/+2
|
* Clean up and fix sbt_write_packet()uwe2007-05-311-70/+11
|
* An SDIO Bluetooth driver, only initial bits and therefore not enabled yetuwe2007-05-312-1/+487
|
* Add SDIO card interrupt handling codeuwe2007-05-316-16/+206
|
* Bug fixes and initial card interrupt support in sdhcuwe2007-05-261-32/+43
| | | | | | | | - 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)
* Wait until an I/O function becomes ready after enabling it, and makeuwe2007-05-263-18/+74
| | | | sdmmc_io_rw_extended() non-incremental, by default.
* Use M_TEMP, not M_DEVBUF for temporary memoryuwe2007-05-261-3/+3
|
* regenmglocker2007-05-111-2/+7
|
* Add vendor and product; AboCom Systems, Inc. SDW11G.mglocker2007-05-111-1/+5
|
* ((cast)ptr)++ is not a valid lvalue, despite being tolerated by gcc, somiod2007-04-111-3/+5
| | | | | | replace the post-increment with a proper statement. ok uwe@
* Dump command and response when debugging is enableduwe2007-03-241-4/+30
|
* Define MMC_STOP_TRANSMISSION command (CMD12)uwe2007-03-181-1/+2
|
* DHC automatically sends a CMD12 after multiple-block transfers, but otheruwe2007-03-182-2/+28
| | | | controllers don't. Put in a temporary hack for pxammc on Zaurus.
* Support the PXA27x SD/SDIO/MMC controller on Zaurusuwe2007-03-181-2/+7
| | | | | We use the suggested workaround for the problem E40 in the PXA27x errata sheet. Unfortunately this limits the bus speed to 9.75Mhz.
* Workaround for the problem where the SD card reader stops responding afterclaudio2007-01-311-1/+2
| | | | | | | | | | | 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@
* Restore spl level before exiting on error.krw2007-01-281-2/+4
| | | | Noted by Matthew R. Dempsky.
* syncderaadt2006-12-201-2/+13
|
* add atheros idsderaadt2006-12-201-1/+8
|
* move CSD/CID decoding to sdmmc_mem.cuwe2006-11-293-98/+101
|
* make interrupt handler stay quiet in case of shared interruptsuwe2006-11-291-5/+6
|
* oops, don't always enable debugginguwe2006-11-291-3/+1
|
* Show debug messages depending on current debug level, which may beuwe2006-11-291-18/+21
| | | | changed with ddb or sdio(8).
* add ioctl hack to support the sdio(8) userland tooluwe2006-11-292-9/+121
|
* give scsi controllers a real attach args to fill in when attaching scsibus.dlg2006-11-281-3/+6
| | | | ok miod@ marco@ deraadt@
* s/Mhz/MHz/ in comments and printf() stringstom2006-10-191-2/+2
| | | | ok jsg@
* dont pass a copy of sdmmcs scsi_link struct on the stack to the midlayer.dlg2006-10-171-13/+3
| | | | | | | | 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@