summaryrefslogtreecommitdiffstats
path: root/sys/modules/aha
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2012-04-21 01:51:16 +0000
committermarius <marius@FreeBSD.org>2012-04-21 01:51:16 +0000
commitc8b1a4baafceb8e9d879c23f22b2fa3f8a7b054d (patch)
treed0c619f112f182684c8944dcdb6f62f47452356a /sys/modules/aha
parent8f2d167ee3384a1ea35ebbf014d8f022d332df59 (diff)
downloadFreeBSD-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/aha')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud