aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2012-04-21 01:51:16 +0000
committerMarius Strobl <marius@FreeBSD.org>2012-04-21 01:51:16 +0000
commit7aa65846327fe5bc7e5961c2f7fd0c61f2ec0b01 (patch)
treed0c619f112f182684c8944dcdb6f62f47452356a /sys/modules
parentc13aac3896d9a2998e0532e9fdf8056fc6a949ac (diff)
downloadsrc-7aa65846327fe5bc7e5961c2f7fd0c61f2ec0b01.tar.gz
src-7aa65846327fe5bc7e5961c2f7fd0c61f2ec0b01.zip
o Fixes:
- When switching to 4-bit operation, send a SET_CLR_CARD_DETECT command to disconnect the card-detect pull-up resistor from the DAT3 line before sending the SET_BUS_WIDTH command. - Add the missing "reserved" zero entry to the mantissa table used to decode various CSD fields. This was causing SD cards to report that they could run at 30 MHz instead of the maximum 25 MHz mandated in the spec. o Enhancements: - At the MMC layer, format various info from the CID into a string that uniquely identifies the card instance (manufacturer number, serial number, product name and revision, etc). Export it as an instance variable. - At the MMCSD layer, display the formatted card ID string, and also report the clock speed of the hardware (not the card's max speed), and the number of bits and number of blocks per transfer. It comes out like this now: mmcsd0: 968MB <SD SD01G 8.0 SN 276886905 MFG 08/2008 by 3 SD> at mmc0 22.5MHz/4bit/128-block o Use DEVMETHOD_END. o Use NULL instead of 0 for pointers. PR: 156496 Submitted by: Ian Lepore MFC after: 1 week
Notes
Notes: svn path=/head/; revision=234524
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/mmcsd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/mmcsd/Makefile b/sys/modules/mmcsd/Makefile
index 7a02cb2fe300..30ce37dacff1 100644
--- a/sys/modules/mmcsd/Makefile
+++ b/sys/modules/mmcsd/Makefile
@@ -3,6 +3,6 @@
.PATH: ${.CURDIR}/../../dev/mmc
KMOD= mmcsd
-SRCS= mmcsd.c mmcbus_if.h device_if.h bus_if.h
+SRCS= bus_if.h device_if.h mmcbr_if.h mmcbus_if.h mmcsd.c
.include <bsd.kmod.mk>