Is this the hack you used? This hack should work regardless you run snv
or s10u.

Thanks,
Brian


Brian Xu - Sun Microsystems - Beijing China ??:
> Hi Ryo,
>
> You can try the workaround below.
>
> If there is 'pcitool' is available,
> #rem_drv wpi
> #pcitool /pci at 0,0 -d bdf=0.1c.2,config -o 0x20 -s 4 -w 0xd010d010
> #pcitool /pci at 0,0 -d bdf=0.1c.2,config -o 4 -s 1 -w 0x46
> #add_drv -i '"pciex8086,4222"' wpi
> #ifconfig wpi0 plumb
>
> and you can create a script which hold the above code and put them in
> the /etc/rc2.d.
>
> If pcitool is not available, then it is a bit complex, you can use kmdb
> with command line login as an alternative,
> #mdb -KF
>   
>> 20::wrpcicfg 0 1c 2 d010d010
>> 4::rdpcicfg 0 1c 2
>>     
> 100044 -----the output here may be this value
>   
>> 4::wrpcicfg 0 1c 2 100046 ---make sure the last byte is 46, leaving
>>     
> other bytes as is.
> if wrpcicfg and rdpcicfg are not available, you can use,
>   
>> *pci_putl_func::call 0 1c 2 20 d010d010
>> *pci_putb_func::call 0 1c 2 4 46
>> :c
>>     
>
> Note, the attach of the wpi driver *Must* be after the pcie/pci bridge
> is hacked.
>
> Any questions, let me know.
>
> Thanks,
> Brian
>
> Ryo Murakawa ??:
>   
>> Hi, Brian-san
>>
>> Thank you for your replying and sorry for
>> forgetting the output file.
>>
>> The attached file is the result of the command.
>>
>> Best Regards.
>>
>> Ryo
>>
>>
>> ----- Original Message -----
>>   
>>     
>>> Date: Mon, 06 Aug 2007 10:44:54 +0800
>>> From: Brian Xu - Sun Microsystems - Beijing China <Brian.Xu at Sun.COM>
>>> Subject: Re: [laptop-discuss] About the error
>>> "ifconfig: SIOCSLIFNAME for ip: wpi0: permission denied"
>>> To: Ryo Murakawa <FZZ01471 at nifty.ne.jp>
>>> Cc: laptop-discuss at opensolaris.org
>>>
>>>
>>> Ryo Murakawa ??:
>>>     
>>>       
>>>> Hi,
>>>> I installed SXDE 05/07 on my hp dv5200.
>>>> This notebook has Intel 3945ABC wireless card. 
>>>> When I run  prtconf, the driver is attached.
>>>> But when I run ifconfig wpi0 plumb, I got the error
>>>> "ifconfig: SIOCSLIFNAME for ip: wpi0: permission denied"
>>>> Of course I run this command as root. So do anyone has
>>>> workaround?
>>>>
>>>> Best Regards.
>>>>  
>>>>  
>>>> This message posted from opensolaris.org
>>>>   
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> laptop-discuss mailing list
>>>> laptop-discuss at opensolaris.org
>>>>       
>>>>         
>>> Ryo,
>>>
>>> I replied to you in another email.
>>>
>>> For a workaround, a 'scanpci -v' instead of 'scanpci' is needed.
>>>
>>> Thanks,
>>> Brian
>>>     
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> laptop-discuss mailing list
>>> laptop-discuss at opensolaris.org
>>>       
>
>
>   


Reply via email to