Yes , we have employed configReadXX function to read the config space.
----- Original Message -----
From: "Alexander von Below" <email@hidden>
To: "Darwin Drivers Mailing List" <email@hidden>
Sent: Wednesday, August 24, 2005 7:02 PM
Subject: Intel 80314 PCI Chip, accessing I2C Registers
>
> Dear List,
>
> we are developing a driver for an Intel 80314 based PCI-X card. We
> have Linux code as a "Tour Guide", and they do something that does
> not appear to be possible in mach, but I would like to as the List to
> confirm that.
>
> The Linux code is mapping the cards memory into user space, and then
> accesses the I2C Bus configuration registers in this mapped memory.
>
> We have also mapped the cards memory areas into user space (using
> IOConnectMapMemory), and that seems to work - almost. But when we
> read the I2C registers from user space in this mapped memory, all we
> read is 0x00. If we write somthing there, they are still 0x00.
>
> Our suspicion is, that it does not work this way in Mach/Darwin. Do
> we have to call our driver for this, and employ the IOPCIDevice
> configReadXX functions there?
>
> Thanks a lot
>
> Alex
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-drivers mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden