Casper.Dik at Sun.COM wrote:
>> Yesterday I sent out a copy of my showpci program, but it got stuck
>> waiting for moderator approval because it was too big (I just attached
>> the file).
>>     
>
>
>   
>> You can now find it at
>> http://garrett.damore.org/software/solaris/showpci.tar.gz
>>     
>
> Sorry about that; I guess I don't have to approve it now :-)
>
>
> (I'm happier with it on-line than on the mailing list)
>
> Casper
>   

Hmm... I just tested it on a SunBlade 100 running Solaris 10, and it
didn't work.   Apparently the device_type property can be _either_ a
prom property or a kernel property, so you have to check both.  I'm not
used to this: in kernel space property lookups implicitly include a
check for prom properties, unless you specifically ask it _not_ to check
the prom.

Anyway, I've fixed it now, so it works on all of these machines:
SunBlade 100 (Solaris 10), Ultra 20 (Solaris 10), Tadpole Bullfrog (US3i
based machine, snv_b44).

The fix is at the same location.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191


Reply via email to