Oliver Ebert ??:
> Brian,
>
> thanks a lot for your efforts. I pasted in  the scanpci -v output as
> it didn't allow to attach it as a file.
>
>   
Since the bug is in boot, what I instruct you here is just a workround. 
This workaround operates directly on the pcie-pci bridge hardware, so it 
may reset your machine if operating incorrectly, but I think there 
should not have other damages.

I don't know whether 'pcitool' is available in s10u(check with ls 
/usr/bin/pcitool), if so, you can do like this:
#rem_drv wpi
#pcitool /pci at 0,0 -d bdf=0.1c.1,config -o 0x20 -s 4 -w 0xd010d010
#pcitool /pci at 0,0 -d bdf=0.1c.1,config -o 4 -s 1 -w 0x46
#add_drv -i '"pciex8086,4222"' wpi
#ifconfig wpi0 plumb

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 1 d010d010
 >4::rdpcicfg 0 1c 1
100044    -----the output here may be this value
 >4::wrpcicfg 0 1c 1 100046    ---make sure the last byte is 46, leaving 
other bytes as is.
if wrpcicfg and rdpcicfg are not available, you can us,
 >*pci_putl_func::call 0 1c 1 20 d010d010
 >*pci_putb_func::call 0 1c 1 4 46
 >:c

The main purpose here is to enable the memory forward function in 
pcie-pci bridge, for your laptop, write 0xd010d010 in config space 
0x20-0x23, write 0x46 in config space 0x4. The <bus id,device 
id,function id> of the bridge is <0,1c,1>.

Note:
    1. the d010d010 is what I count according to your 'prtconf -v', the 
value just work for this laptop.
    2. the wpi driver must *not* attach *before* the pcie-pci bridge is 
hacked.

Any questions, pls let me know.

--Brian
> Thanks again,
>
>
>
> Oliver
>
>
>
>
> 8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
>
>
> pci bus 0x0000 cardnum 0x1c function 0x01: vendor 0x8086 device 0x27d2
>  Intel Corporation 82801G (ICH7 Family) PCI Express Port 2
>   STATUS    0x0010  COMMAND 0x0044
>   CLASS     0x06 0x04 0x00  REVISION 0x02
>   HEADER    0x81  LATENCY 0x00
>   PRIBUS    0x00  SECBUS 0x03  SUBBUS 0x03
>   SECLT     0x00  SECSTATUS 0x2000
>   PREFETCH_MEMBASE   0x0000000000000000  MEMLIM 0x00000000000fffff
>   
                         
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^not initialized.
>   NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN ISA_EN NO_SERR_EN PERR_EN
>
> ......
>
> pci bus 0x0003 cardnum 0x00 function 0x00: vendor 0x8086 device 0x4222
>  Intel Corporation  Device unknown
>  CardVendor 0x8086 card 0x1040 (Card unknown)
>   STATUS    0x0010  COMMAND 0x0046
>   CLASS     0x02 0x80 0x00  REVISION 0x02
>   BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x10
>   MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0b
>
>
> 8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> laptop-discuss mailing list
> laptop-discuss at opensolaris.org
>   


Reply via email to