Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Nov 2008 17:25:14 +0100
From:      Lars Engels <lars.engels@0x20.net>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        freebsd-arm@FreeBSD.org, freebsd-current@freebsd.org, imp@FreeBSD.org, freebsd-mobile@FreeBSD.org
Subject:   Re: RFC: PCI SD host controller driver & mmc/mmcsd  modules improvements
Message-ID:  <20081106172514.jbrq7aa8g0cowk4k@0x20.net>
In-Reply-To: <49131109.2020601@FreeBSD.org>
References:  <48DEA8E7.2080503@FreeBSD.org> <20081106153059.1sf731434swc84so@0x20.net> <49130918.5030904@FreeBSD.org> <20081106163729.clcw2eulgk0k4w0c@0x20.net> <49131109.2020601@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format and has been PGP signed.

--=_7e4bwz4uewow
Content-Type: text/plain;
	charset=UTF-8;
	DelSp="Yes";
	format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Quoting Alexander Motin <mav@FreeBSD.org>:

> 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.

Okay, so do you think I need to take the device of the first sdhci =20
device or firewire's device like in the thread you mentioned?
I should then set the value to 0x20 I guess? Which address do I need to use?
FYI here is the pciconf -lv output with firewire and sdhci:

fwohci0@pci0:2:6:2:     class=3D0x0c0010 card=3D0x30c3103c chip=3D0x08321180=
 =20
rev=3D0x03 hdr=3D0x00
     vendor     =3D 'Ricoh Company, Ltd.'
     device     =3D 'unknown IEEE 1394 (4 pin firewire) chip)'
     class      =3D serial bus
     subclass   =3D FireWire
sdhci0@pci0:2:6:3:      class=3D0x080500 card=3D0x30c3103c chip=3D0x08221180=
 =20
rev=3D0x20 hdr=3D0x00
     vendor     =3D 'Ricoh Company, Ltd.'
     device     =3D 'R5C832, R5C843 SDA Standard Compliant SD Host Controlle=
r'
     class      =3D base peripheral
none2@pci0:2:6:4:       class=3D0x088000 card=3D0x30c3103c chip=3D0x08431180=
 =20
rev=3D0x10 hdr=3D0x00
     vendor     =3D 'Ricoh Company, Ltd.'
     device     =3D 'unknown Ricoh MMC Host Controller'
     class      =3D base peripheral


>> 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?

Yes, but without result.

>> 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.

Too bad...

--=_7e4bwz4uewow
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Unterschrift
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEABECAAYFAkkTGmoACgkQKc512sD3afiOtgCgwq1zN5MV8FYunnnjJ/2nV4ST
tBsAnRylL/9oSiPuaCuCrONRoV4KsmkO
=jRvX
-----END PGP SIGNATURE-----

--=_7e4bwz4uewow--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081106172514.jbrq7aa8g0cowk4k>