RFC: PCI SD host controller driver & mmc/mmcsd modules improvements

M. Warner Losh imp at bsdimp.com
Thu Nov 6 09:41:40 PST 2008


In message: <20081106172850.GG8256 at e.0x20.net>
            Lars Engels <lme at FreeBSD.org> writes:
: On Thu, Nov 06, 2008 at 10:10:47AM -0700, M. Warner Losh wrote:
: > In message: <49131109.2020601 at FreeBSD.org>
: >             Alexander Motin <mav at FreeBSD.org> writes:
: > : Lars Engels wrote:
: > : > 1. How can I tune the PCI configuration? With pciconf -w or so?
: > : 
: > : Yes. `pciconf -r -b device addr` to read and `pciconf -w -b device addr
: > : value` to write.
: > 
: > I have changes that almost make my TI card do it.
: 
: So you're still working on this?

TI changes are different than Richo changes

: > : > 2. Unfortunately the sysctl did not change a thing with regard to the
: > : > Card reader.
: > : 
: > : Have you added it to the loader.conf and rebooted?
: > : 
: > : > 3. I added the chip ID and the second device is now recognized as a
: > : > sdhci device but still does not see any card inserted:
: > : > 
: > : > Nov  6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't specify base
: > : > clock frequency.
: > : > Nov  6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't specify
: > : > timeout clock frequency.
: > : > Nov  6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't report any
: > : > support voltages.
: > : 
: > : Looks like it is not enough compatible, or even not compatible.
: > 
: > Chances are good that you need to the workaround to turn on these
: > things.
: 
: Tell me where I can get the workaround when you have a working version
: or something to test. :)

I'll look at the linux workaround...

Warner


More information about the freebsd-mobile mailing list