summaryrefslogtreecommitdiffstats
path: root/sys/dev/sdmmc
AgeCommit message (Expand)AuthorFilesLines
2020-06-19Add support for BCM4359 SDIO variants such as the AP6359SA module foundkettenis1-1/+5
2020-06-14Make sure SDHC_HOST_CTL2 is consistently controlled using 2-byte accesses,patrick1-2/+2
2020-05-22Add pre/post hooks for bus clock changes to sdhc(4). These will bepatrick2-2/+10
2020-05-15Some newer bwfm(4) chips from Cypress hold their regulatorypatrick1-1/+12
2020-05-13sdhc(4), sdmmc(4): tsleep(9) -> tsleep_nsec(9); ok patrick@cheloha2-18/+19
2020-04-29According to the SDIO Simplified Specification 3.0, a tuple lengthpatrick1-7/+1
2020-04-27fix SDHC_DEBUG build, remove procname printf'sians1-5/+4
2020-04-19Add comments to clarify the hex IDs of some bwfm(4) devices on SD bus.stsp1-7/+7
2020-04-19Add support for hardware where an SDHC controller lives on a bus thatkettenis1-1/+2
2020-04-19Add support for hardware where an SDHC controller lives on a bus thatkettenis1-21/+107
2020-03-14On fdt platforms attempt to load system specific .txt and .bin filesjsg1-15/+71
2020-03-13Recognize BCM43341 as a BCM43340 variant.patrick1-1/+2
2020-03-07Use snprintf(9) to create the names for the firmware and NVRAM files. Thispatrick1-55/+38
2020-03-06Fixup bwfm(4) register bit regarding SDIO device suspend/resume.patrick1-2/+2
2020-03-06Process the NVRAM in bwfm(4) itself. So far we have relied on somepatrick1-6/+30
2020-02-25Make bwfm(4) call if_input() only once per interrupt.patrick1-14/+18
2020-02-20Relax the grip the dead hand of QBUS (a.k.a. MAXPHYS) has on thekrw1-1/+3
2020-02-12Bring a few stragglers into line with the idiom used by the other 40+krw1-6/+6
2020-01-26Shuffle some names around to make reading the code less headachekrw1-4/+4
2020-01-25Drivers that implement their own *minphys() don't need to call thekrw1-3/+1
2020-01-22Recognize BCM4345 rev 9, which requires a different firmware,patrick1-3/+8
2020-01-22delete wasteful ;;deraadt1-3/+3
2019-12-31Convert infinite sleeps to {m,t}sleep_nsec(9).mpi2-5/+5
2019-04-02Don't detach non-removable devices during resume on "sdhc* at acpi?".stsp4-5/+11
2019-02-07Consistently use m_freem(9). This fixes possible leaks in a fewpatrick1-2/+2
2019-02-04Turns out we do need to handle control messages that exceed MLEN, sokettenis1-6/+15
2018-12-29Allow passing the maximum size of a segment that a SD/MMC hostpatrick3-4/+8
2018-12-22Avoid using m_trailingspace(9) on an mbuf allocated with MGET(9) as it relieskettenis1-2/+4
2018-11-09M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forclaudio1-2/+2
2018-09-06Implement 64-bit DMA support in sdhc(4).patrick2-10/+39
2018-08-09Implement out-of-band interrupt support in the bwfm(4) SDIO backend.patrick1-1/+45
2018-08-09Allow passing per-function cookies through the SD/MMC bus to SDIOpatrick4-4/+11
2018-08-09Correct the bitmask that returns the function count. We missed a bitpatrick1-2/+2
2018-07-24Add support fotr the BCM4335/4339 SDIO chip to bwfm(4). This one is a bitkettenis1-8/+16
2018-07-17TX packets, which can be either Ethernet or control packets, must bepatrick1-93/+108
2018-07-16Add support for the BCM43455 SDIO chip to bwfm(4).patrick1-1/+6
2018-07-16In certain modes SDIO-connected bwfm(4) chips might expect us to readpatrick1-3/+3
2018-06-18Run the code to handle interrupts directly from the interrupt handlerkettenis1-3/+2
2018-06-17Add curly braces to the if-condition to make sure the bus widthpatrick1-3/+3
2018-06-04in non-DIAGNOSTIC kernels, rw_assert_wrlock becomes a nop which leaves thederaadt1-5/+3
2018-06-044-bit bus width is mandatory for SDIO cards that support High Speedpatrick3-7/+28
2018-06-04Switch to SDIO High Speed mode if the host controller supports it.patrick2-5/+37
2018-05-30Implement SDIO DMA support. This is achieved by wrapping thepatrick1-11/+53
2018-05-30For the upcoming SDIO DMA support we need to use DMA-able bufferpatrick1-25/+64
2018-05-30Clear the DMA select bits in case we use PIO instead of DMA. Somepatrick1-2/+3
2018-05-27BCM43430 SDIO works if we load the appropriate firmware.kettenis1-1/+10
2018-05-26BCM4356 SDIO works if we load the appropriate firmware.kettenis1-1/+5
2018-05-25So far the SDIO stack issued one transfer for every 64 byte to bepatrick2-40/+66
2018-05-25For SDIO multi-blocks we must not use the AUTO CMD12 feature,patrick1-3/+4
2018-05-24Release rwlock on bwfm(4) SDIO initialization error. Fixes hang foundpatrick1-8/+12