diff options
author | marius <marius@FreeBSD.org> | 2012-04-21 01:51:16 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2012-04-21 01:51:16 +0000 |
commit | c8b1a4baafceb8e9d879c23f22b2fa3f8a7b054d (patch) | |
tree | d0c619f112f182684c8944dcdb6f62f47452356a /sys/modules | |
parent | 8f2d167ee3384a1ea35ebbf014d8f022d332df59 (diff) | |
download | FreeBSD-src-c8b1a4baafceb8e9d879c23f22b2fa3f8a7b054d.zip FreeBSD-src-c8b1a4baafceb8e9d879c23f22b2fa3f8a7b054d.tar.gz |
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
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/mmcsd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/mmcsd/Makefile b/sys/modules/mmcsd/Makefile index 7a02cb2..30ce37d 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> |