Michael Li wrote:

>Vincent R Wang ??:
>  
>
>>Gregg Levine wrote:
>>
>>  
>>    
>>
>>>Hello!
>>>I normally design and build odd examples of peripherals for the
>>>generic PC. Within the past year or so I've started exploring Solaris,
>>>and Open Solaris.
>>>
>>>And I am looking at building something on a prototype board based PCI
>>>thing that would be usable through Solaris.
>>>
>>>And naturally that is the reason behind the subject, "Does a generic
>>>PCI device driver exist?"?
>>>
>>> 
>>>
>>>    
>>>      
>>>
>>There is no existing generic driver for a PCI device. But there're tools 
>>that you can use to peek/poke your PCI device.
>>
>>/usr/X11/bin/scanpci -v can be used to iterate through the PCI device 
>>tree and dump the important registers in the config space.
>>
>> From the console, kmdb -K, then ::rdpcicfg and ::wrpcicfg can be used 
>>to read/write any register in the config space of any PCI device.
>>  
>>    
>>
>Another useful tool is "/usr/sbin/pcitool" in OpenSolaris, which enable 
>you to access PCI device configure space, I/O space through a simple 
>CLI, see pcitool(1M).
>  
>
IIRC pcitool requires the package named SUNWiotu which is "Sun internal 
use only". It's not in /usr/sbin/ by default.
Yes we can send the CLI to Gregg. It will work but it's not supported 
officially. It is labled "use at your own risk".

Vincent.
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to