Subject: Re: support for unconfigured PCI devices, esp. SD card reader
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Michael Lorenz <macallan@netbsd.org>
List: port-i386
Date: 07/30/2007 12:08:50
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jul 30, 2007, at 06:49, Jared D. McNeill wrote:

> On 30-Jul-07, at 2:55 AM, Paul Goyette wrote:
>
>> Here's the code that Nicolas Joly wrote, with slight mod's by me, to 
>> locate which device addresses respond on the SMBus.  Note that 
>> there's still no way to figure out what these devices are, only 
>> determine if they exist or not.
>
> The SMBus specification talks about discoverable devices; have you 
> looked into this at all? WIth this type of support in our SMBus 
> framework we will be able to do direct configuration on ARP-capable 
> devices.
>
> I'm very cautious about indirect configuration for I2C devices...

Indeed, there are quite a few iic devices that don't provide any way to 
identify them other than the - rather ambiguous - bus address. All we 
can probe for is if there's a device present at a given address but not 
much more.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRq4NEspnzkX8Yg2nAQIRcAf/b/0/H3tVXi2emkbxzsX3Yws460o9uaZP
wzE8tHcOZeSEmsD1RW2AVXaJzOSno+7EcPJmrke1lvUOzB6w/1a3KKJEcMwYMYFC
CXIduO0teiXO/0WsgrkHCM9aOrNo68DWg3uUFeTuh0W6jaSFyuoVPkxtv/4REgql
vKi/455EjCXx/SJHGms/XcsNQAWnWfhiOT8lr1QH1fgpLUwZ3biPs1MQfbt4eVwr
ACHzEHBAU80MTwquAYwkvHRdFVf7+BNbqRqoP0Fo5lclTAj4Qe2L6jXnQIqlkKsE
ib8jkeE+VsB7G9OxeV+4fxaIzpcEiI6OUU03jnROIpNp2/Q3TNOw3Q==
=Cx2M
-----END PGP SIGNATURE-----