<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mmc/core/sd.c, branch linux-2.6.24.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.24.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.24.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-09-23T19:51:30Z</updated>
<entry>
<title>MMC core learns about SPI</title>
<updated>2007-09-23T19:51:30Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2007-08-08T16:11:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af51715079e7fb6b290e1881d63d815dc4de5011'/>
<id>urn:sha1:af51715079e7fb6b290e1881d63d815dc4de5011</id>
<content type='text'>
Teach the MMC/SD/SDIO core about using SPI mode.

 - Use mmc_host_is_spi() so enumeration works through SPI signaling
   and protocols, not just the native versions.

 - Provide the SPI response type flags with each request issued,
   including requests from the new lock/unlock code.

 - Understand that cmd-&gt;resp[0] and mmc_get_status() results for SPI
   return different values than for "native" MMC/SD protocol; this
   affects resetting, checking card lock status, and some others.

 - Understand that some commands act a bit differently ... notably:
     * OP_COND command doesn't return the OCR
     * APP_CMD status doesn't have an R1_APP_CMD analogue

Those changes required some new and updated primitives:

 - Provide utilities to access two SPI-only requests, and one
   request that wasn't previously needed:
     * mmc_spi_read_ocr() ... SPI only
     * mmc_spi_set_crc() ... SPI only (override by module parm)
     * mmc_send_cid() ... for use without broadcast mode

 - Updated internal routines:
     * Previous mmc_send_csd() modified into mmc_send_cxd_native();
       it uses native "R2" responses, which include 16 bytes of data.
     * Previous mmc_send_ext_csd() becomes new mmc_send_cxd_data()
       helper for command-and-data access
     * Bugfix to that mmc_send_cxd_data() code:  dma-to-stack is
       unsafe/nonportable, so kmalloc a bounce buffer instead.

 - Modified mmc_send_ext_csd() now uses mmc_send_cxd_data() helper

 - Modified mmc_send_csd(), and new mmc_spi_send_cid(), routines use
   those helper routines based on whether they're native or SPI

The newest categories of cards supported by the MMC stack aren't expected
to work yet with SPI:  MMC or SD cards with over 4GB data, and SDIO.
All those cards support SPI mode, so eventually they should work too.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Pierre Ossman &lt;drzeus@drzeus.cx&gt;
</content>
</entry>
<entry>
<title>mmc: replace BUG_ON with WARN_ON</title>
<updated>2007-09-23T19:23:07Z</updated>
<author>
<name>Pierre Ossman</name>
</author>
<published>2007-08-09T11:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d84075c8aed771d47d7ac6e96b098559da361c25'/>
<id>urn:sha1:d84075c8aed771d47d7ac6e96b098559da361c25</id>
<content type='text'>
Replace all cases of BUG_ON with WARN_ON where there is a chance
(with varying degrees of slim) that the kernel can continue without
incidence.

Signed-off-by: Pierre Ossman &lt;drzeus@drzeus.cx&gt;
</content>
</entry>
<entry>
<title>mmc: improve error code feedback</title>
<updated>2007-09-23T07:14:43Z</updated>
<author>
<name>Pierre Ossman</name>
</author>
<published>2007-07-22T21:08:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=adf66a0dc5e8be8d4e64f3c2114f9b175558235b'/>
<id>urn:sha1:adf66a0dc5e8be8d4e64f3c2114f9b175558235b</id>
<content type='text'>
Now that we use "normal" error codes, improve the reporting and response
to error codes in the core.

Signed-off-by: Pierre Ossman &lt;drzeus@drzeus.cx&gt;
</content>
</entry>
<entry>
<title>mmc: remove custom error codes</title>
<updated>2007-09-23T06:46:48Z</updated>
<author>
<name>Pierre Ossman</name>
</author>
<published>2007-07-22T20:18:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17b0429dde9ab60f9cee8e07ab28c7dc6cfe6efd'/>
<id>urn:sha1:17b0429dde9ab60f9cee8e07ab28c7dc6cfe6efd</id>
<content type='text'>
Convert the MMC layer to use standard error codes and not its own,
incompatible values.

Signed-off-by: Pierre Ossman &lt;drzeus@drzeus.cx&gt;
</content>
</entry>
<entry>
<title>mmc: add missing printk levels</title>
<updated>2007-07-26T00:05:49Z</updated>
<author>
<name>Pierre Ossman</name>
</author>
<published>2007-07-24T19:53:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=facba9179e3cd5fa91ff40bbc555c5cd4c101092'/>
<id>urn:sha1:facba9179e3cd5fa91ff40bbc555c5cd4c101092</id>
<content type='text'>
Some printk:s were missing an explicit level.

Signed-off-by: Pierre Ossman &lt;drzeus@drzeus.cx&gt;
</content>
</entry>
<entry>
<title>mmc: be more verbose about card insertions/removal</title>
<updated>2007-07-26T00:05:04Z</updated>
<author>
<name>Pierre Ossman</name>
</author>
<published>2007-07-22T22:12:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=109b5bed18441599b5ab0e1f3623efa5715a4703'/>
<id>urn:sha1:109b5bed18441599b5ab0e1f3623efa5715a4703</id>
<content type='text'>
Let the user know that the kernel actually detected the card
by printing some basic information in dmesg.

Signed-off-by: Pierre Ossman &lt;drzeus@drzeus.cx&gt;
</content>
</entry>
<entry>
<title>mmc: Don't hold lock when releasing an added card</title>
<updated>2007-07-25T23:54:06Z</updated>
<author>
<name>Pierre Ossman</name>
</author>
<published>2007-07-22T15:52:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2986d0bf23d97d68804ccfa80965073ccf1af242'/>
<id>urn:sha1:2986d0bf23d97d68804ccfa80965073ccf1af242</id>
<content type='text'>
When the card has been added to the device model, it might be bound
to a card driver. Therefore, we have to release the host lock when
trying to remove it as we otherwise might deadlock with the driver.

Signed-off-by: Pierre Ossman &lt;drzeus@drzeus.cx&gt;
</content>
</entry>
<entry>
<title>mmc: update header file paths</title>
<updated>2007-07-25T23:53:31Z</updated>
<author>
<name>Pierre Ossman</name>
</author>
<published>2007-07-11T18:04:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=70f10482c668301c483acded13bf68780ad352b9'/>
<id>urn:sha1:70f10482c668301c483acded13bf68780ad352b9</id>
<content type='text'>
Make sure all headers in the files reflect their true position
in the tree.

Signed-off-by: Pierre Ossman &lt;drzeus@drzeus.cx&gt;
</content>
</entry>
<entry>
<title>mmc: refactor bus operations</title>
<updated>2007-07-09T19:27:56Z</updated>
<author>
<name>Pierre Ossman</name>
</author>
<published>2007-05-19T11:39:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4101c16a910b15afd190c6bc7d45864461cf5c25'/>
<id>urn:sha1:4101c16a910b15afd190c6bc7d45864461cf5c25</id>
<content type='text'>
Move bus operations to its own file for the sake of clarity. Also
delegate sysfs attributes to bus handlers in preparation for other
more exotic types.

Signed-off-by: Pierre Ossman &lt;drzeus@drzeus.cx&gt;
</content>
</entry>
<entry>
<title>mmc: get back read-only switch function</title>
<updated>2007-06-13T17:11:20Z</updated>
<author>
<name>Pierre Ossman</name>
</author>
<published>2007-06-13T17:06:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3bff2ec10b8bf2f53c954e370f9bdae93064472'/>
<id>urn:sha1:c3bff2ec10b8bf2f53c954e370f9bdae93064472</id>
<content type='text'>
Somehow the code to read the read-only switch of SD cards got lost
in the reorganisation.

Signed-off-by: Pierre Ossman &lt;drzeus@drzeus.cx&gt;
</content>
</entry>
</feed>
