Does anyone on Nekochan have experience or code that uses pciio_pio_read() functions to read/write PCI register values for a device driver? Probably a long shot but if there is noone around here with the info then I don't know where else to ask.
I've been looking through the SGI Device Driver docs and the examples they give just don't make sense to me at the moment.
DevDriver Chapter21
So far I can dump the contents of the Configuration space, to get the Vendor and Device ID which is cool.
But now I need to read/write values to the registers on a device and I'm rather lost on how exactly to do that.
I'm working from a modified copy of the Example PCI Driver given in the documentation.
So anyone with some solid info on this please share.
Many thanks
I've been looking through the SGI Device Driver docs and the examples they give just don't make sense to me at the moment.
DevDriver Chapter21
So far I can dump the contents of the Configuration space, to get the Vendor and Device ID which is cool.
But now I need to read/write values to the registers on a device and I'm rather lost on how exactly to do that.
I'm working from a modified copy of the Example PCI Driver given in the documentation.
So anyone with some solid info on this please share.
Many thanks
Apple Unibody MBP 2.66Ghz, 8Gb OSX 10.6
Apple MacMini 1.83Ghz, 1Gb OSX 10.5
Apple Power Mac Cube 450Mhz, 256Mb, OSX 10.3 Sweet!
Sun Ultra10 440Mhz 1Gb, SunOS 5.10
http://gothmog.homeunix.net/blog
Apple MacMini 1.83Ghz, 1Gb OSX 10.5
Apple Power Mac Cube 450Mhz, 256Mb, OSX 10.3 Sweet!
Sun Ultra10 440Mhz 1Gb, SunOS 5.10
http://gothmog.homeunix.net/blog