summaryrefslogtreecommitdiff
path: root/sys/dev/sdmmc
AgeCommit message (Expand)Author
2019-12-31Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-04-02Don't detach non-removable devices during resume on "sdhc* at acpi?".Stefan Sperling
2019-02-07Consistently use m_freem(9). This fixes possible leaks in a fewPatrick Wildt
2019-02-04Turns out we do need to handle control messages that exceed MLEN, soMark Kettenis
2018-12-29Allow passing the maximum size of a segment that a SD/MMC hostPatrick Wildt
2018-12-22Avoid using m_trailingspace(9) on an mbuf allocated with MGET(9) as it reliesMark Kettenis
2018-11-09M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forClaudio Jeker
2018-09-06Implement 64-bit DMA support in sdhc(4).Patrick Wildt
2018-08-09Implement out-of-band interrupt support in the bwfm(4) SDIO backend.Patrick Wildt
2018-08-09Allow passing per-function cookies through the SD/MMC bus to SDIOPatrick Wildt
2018-08-09Correct the bitmask that returns the function count. We missed a bitPatrick Wildt
2018-07-24Add support fotr the BCM4335/4339 SDIO chip to bwfm(4). This one is a bitMark Kettenis
2018-07-17TX packets, which can be either Ethernet or control packets, must bePatrick Wildt
2018-07-16Add support for the BCM43455 SDIO chip to bwfm(4).Patrick Wildt
2018-07-16In certain modes SDIO-connected bwfm(4) chips might expect us to readPatrick Wildt
2018-06-18Run the code to handle interrupts directly from the interrupt handlerMark Kettenis
2018-06-17Add curly braces to the if-condition to make sure the bus widthPatrick Wildt
2018-06-04in non-DIAGNOSTIC kernels, rw_assert_wrlock becomes a nop which leaves theTheo de Raadt
2018-06-044-bit bus width is mandatory for SDIO cards that support High SpeedPatrick Wildt
2018-06-04Switch to SDIO High Speed mode if the host controller supports it.Patrick Wildt
2018-05-30Implement SDIO DMA support. This is achieved by wrapping thePatrick Wildt
2018-05-30For the upcoming SDIO DMA support we need to use DMA-able bufferPatrick Wildt
2018-05-30Clear the DMA select bits in case we use PIO instead of DMA. SomePatrick Wildt
2018-05-27BCM43430 SDIO works if we load the appropriate firmware.Mark Kettenis
2018-05-26BCM4356 SDIO works if we load the appropriate firmware.Mark Kettenis
2018-05-25So far the SDIO stack issued one transfer for every 64 byte to bePatrick Wildt
2018-05-25For SDIO multi-blocks we must not use the AUTO CMD12 feature,Patrick Wildt
2018-05-24Release rwlock on bwfm(4) SDIO initialization error. Fixes hang foundPatrick Wildt
2018-05-23Implement a separate initialization stage so that we can still usePatrick Wildt
2018-05-23Extend list of supported bwfm(4) SDIO chips.Patrick Wildt
2018-05-21Make the way we print "not configured" lines for SDIO devices a bit nicer.Mark Kettenis
2018-05-21Consistently suffix the pre-processed NVRAM binary that the bwfm(4)'sPatrick Wildt
2018-05-19Akin to the PCI attachment driver we can extract the chip's dmesg(8)Patrick Wildt
2018-05-18After reading the first frame, which we can do in two reads (softwarePatrick Wildt
2018-05-17The Broadcom FullMAC firmware has a few ways of doing flow control. OnePatrick Wildt
2018-05-16After having finished transmitting the last mbuf, don't just return toPatrick Wildt
2018-05-16Implement a BCDC control packet mechanism based on the command requestPatrick Wildt
2018-05-01Bump the clock frequency to a higher level that every card (per spec)Patrick Wildt
2018-03-30Add some sensible error checking in the hibernate io path, helpfullyJonathan Matthew
2018-03-20Add hibernate IO path for sdmmc(4). This requires some help from theJonathan Matthew
2018-03-19Make it possible for the sdhc(4) attachment glue to specify the base clockMark Kettenis
2018-02-11Use the new APIs for setting block lengths and reading from/writing toPatrick Wildt
2018-02-11Add sdmmc_io_set_blocklen() which allows to set the block length of anPatrick Wildt
2018-02-11Add sdmmc_io_read_region_1() and sdmmc_io_write_region_1() as anPatrick Wildt
2018-02-11Since the BCDC header has a variable data offset, so the ethernet packetPatrick Wildt
2018-02-11Update the packet header length as well as the mbuf length onPatrick Wildt
2018-02-10fix build with SDHC_DEBUG defined, no binary change otherwiseJonathan Matthew
2018-02-09Implement the bwfm(4) SDIO bus logic. This is the bus layer thatPatrick Wildt
2018-02-07Outsource setting the backplane window into a specific function so itPatrick Wildt
2018-02-07Move SDIO bus and protocol definitions from the shared headerPatrick Wildt