<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/mmc, branch release/9.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2013-03-09T02:36:32Z</updated>
<entry>
<title>MFC: r227309 (partial)</title>
<updated>2013-03-09T02:36:32Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2013-03-09T02:36:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7b1b32ed4582e7bcdd416c4718d0d79ebaea192d'/>
<id>urn:sha1:7b1b32ed4582e7bcdd416c4718d0d79ebaea192d</id>
<content type='text'>
Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.

The SYSCTL_NODE macro defines a list that stores all child-elements of
that node. If there's no SYSCTL_DECL macro anywhere else, there's no
reason why it shouldn't be static.
</content>
</entry>
<entry>
<title>MFC r243387: Use %u for unsigned serial number</title>
<updated>2012-11-27T16:20:44Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2012-11-27T16:20:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8fbd05589dbfd7dcca982b822eec0b6b988b25b1'/>
<id>urn:sha1:8fbd05589dbfd7dcca982b822eec0b6b988b25b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC: r236491</title>
<updated>2012-06-05T20:53:46Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2012-06-05T20:53:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=532801030de17a5f1546e82073fa7548016eaa42'/>
<id>urn:sha1:532801030de17a5f1546e82073fa7548016eaa42</id>
<content type='text'>
Add missing prototypes. While at it, sort them alphabetically.
</content>
</entry>
<entry>
<title>MFC: r236156</title>
<updated>2012-06-02T19:11:44Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2012-06-02T19:11:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4030bc086e9c25cad783312a31aeca8ee8ffc992'/>
<id>urn:sha1:4030bc086e9c25cad783312a31aeca8ee8ffc992</id>
<content type='text'>
- Fix some typos in mmc_acquire_bus() and mmc_send_csd().
- Fix some math errors in mmc_decode_csd_sd().
- Fix incorrect arguments to mmc_send_app_op_cond() in mmc_go_discovery().
- Add reporting of CSD for debug purposes.
- Add detection (and skipping) of password-locked cards.
- Add setting of block length on card if necessary.

Submitted by:	Patrick Kelsey
</content>
</entry>
<entry>
<title>MFC: r234524</title>
<updated>2012-05-26T09:31:23Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2012-05-26T09:31:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8c4bd7c2f5b869bc77e891bba788220354c1176d'/>
<id>urn:sha1:8c4bd7c2f5b869bc77e891bba788220354c1176d</id>
<content type='text'>
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 &lt;SD SD01G 8.0 SN 276886905 MFG 08/2008 by 3 SD&gt; 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
</content>
</entry>
<entry>
<title>Fix integer overflow on 32bit systems when calculating media size,</title>
<updated>2011-08-14T16:17:00Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2011-08-14T16:17:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1f89a4dc85278418e732d96bb303a832fee5581d'/>
<id>urn:sha1:1f89a4dc85278418e732d96bb303a832fee5581d</id>
<content type='text'>
reintroduced by r222475.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>Fix read_ivar implementation for MMC and SD.</title>
<updated>2011-05-30T06:23:51Z</updated>
<author>
<name>Jayachandran C.</name>
<email>jchandra@FreeBSD.org</email>
</author>
<published>2011-05-30T06:23:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bcd91d25daaf08ef7c5987f3ec86eb0b28daf191'/>
<id>urn:sha1:bcd91d25daaf08ef7c5987f3ec86eb0b28daf191</id>
<content type='text'>
1. Both mmc_read_ivar() and sdhci_read_ivar() use the expression
'*(int *)result = val' to assign to result which is uintptr_t *.
This does not work on big-endian 64 bit systems.

2. The media_size ivar is declared as 'off_t' which does not fit
into uintptr_t in 32bit systems, change this to long.

Submitted by:	kanthms at netlogicmicro com (initial version)
</content>
</entry>
<entry>
<title>Fix 32bit bit fields handling. This fixes card serial number fetching.</title>
<updated>2011-01-17T19:31:34Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2011-01-17T19:31:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8b09b5b170e71e2350265fa1deadd89ff6946254'/>
<id>urn:sha1:8b09b5b170e71e2350265fa1deadd89ff6946254</id>
<content type='text'>
It was just a cosmetic issue, because that number is only reported in logs.

Reported by:	Michael Butler on current@
</content>
</entry>
<entry>
<title>Wait for commands to complete 10 times longer. This makes my A-DATA 32GB SDHC</title>
<updated>2011-01-04T00:08:39Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2011-01-04T00:08:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4daf3d2552a944f90d274b6f924c2a35dabfd5d6'/>
<id>urn:sha1:4daf3d2552a944f90d274b6f924c2a35dabfd5d6</id>
<content type='text'>
card being detected.

Reviewed by:	imp
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Report relative card address to NewBus as location string.</title>
<updated>2010-05-23T09:44:48Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2010-05-23T09:44:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b5bc46d8d5c51aac1c3c6c2e8c12c8d0500e1c91'/>
<id>urn:sha1:b5bc46d8d5c51aac1c3c6c2e8c12c8d0500e1c91</id>
<content type='text'>
</content>
</entry>
</feed>
