Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-11] src/sys/dev/sdmmc



Module Name:    src
Committed By:   martin
Date:           Sun Dec  7 09:10:00 UTC 2025

Modified Files:
        src/sys/dev/sdmmc [netbsd-11]: sdhc.c sdmmc_io.c

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #115):

        sys/dev/sdmmc/sdmmc_io.c: revision 1.22
        sys/dev/sdmmc/sdhc.c: revision 1.123

sdhc: Do not set auto cmd12 enable for SDIO RW extended ops
sdmmc: Use block mode for multi block SDIO transfers.

Change from OpenBSD:
https://github.com/openbsd/src/commit/5e0782b17abc2070c235843e37de911ce3f98ef8

So far the SDIO stack issued one transfer for every 64 byte to be
copied.  This severely limits the speed over the bus.  By using
block mode we can issue block-sized transfers, which bumps the
transfer size to at least 512 bytes.  By using multi-block mode
we can copy up to 511 blocks per transfer.


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.121.2.1 src/sys/dev/sdmmc/sdhc.c
cvs rdiff -u -r1.21 -r1.21.28.1 src/sys/dev/sdmmc/sdmmc_io.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index