James C. McPherson wrote:
> Masopust, Christian wrote:
>
>> Dear all,
>>
>> first of all I'd like to say that I'm very new to driver development in
>> Solaris X86....
>>
>> What I like to do is accessing the "sensors" of my motherboard which has an
>> Intel-Chipset (ICH7).
>>
>> I already know about ddi_... have read the "device driver tutorial" and
>> also searched
>> the driver-discuss archive.
>>
>> What I'm currently needing is how to find out the correct settings of
>> "reg" within
>> my driver.conf, I know the address of the SMBus is 0x3fe (on my motherboard)
>> but I don't know about the size (according to "man isa")...
>>
>> any help? any hint where to search? or even better... any driver
>> already there? :-))
>>
>
> What you need to get stuck into are the i2c drivers. At
> present, iirc, they're only compiled for Sparc- however
> they *should* at least compile ok on x86/x64. I lacked
> the time to come up with a test suite or a utility which
> would use them, however.
>
Each individual i2c controller is different. I don't know how ICH7
exposes I2C. Looking at NetBSD code is probably a pretty good way to
find out thought -- the I2C implementation on that platform is fairly
robust, and might give you some clue.
There are, I believe, folks working on the sensors for x86 platforms
already, btw.
-- Garrett
>
> On http://src.opensolaris.org, have a look through
>
> usr/src/uts/sun4u/sys/i2c
> usr/src/uts/sun4u/io/i2c
> usr/src/uts/sun4u/i2c_svc
>
>
> James C. McPherson
> --
> Senior Kernel Software Engineer, Solaris
> Sun Microsystems
> http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog
> _______________________________________________
> driver-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss