My IBM (Lenovo) T43p has an Intel 2915abg wifi card
that works with the iwi driver and Nevada (currently
snv_35).

However, each time I do an upgrade to a new Nevada,
I have to fiddle with the driver_aliases file and delete
the 1010 line for the e1000g entry as if that line is there, the
e1000g driver binds to the wifi card which obviously
doesn't work.

Is there some pci id that would better describe the
IBM (Lenovo) version of the Intel wifi card so I
would not have to edit the driver_aliases file after
each upgrade?  The current driver_aliases file has
the following three lines with iwi:

iwi "pci8086,4220"
iwi "pci8086,4223"
iwi "pci8086,4224"

If I run prtpci with a new pciids file, the relevant output is:

11/0x2/0 8086,4224 (8086,1010) rev 0x5
slot name: Slot1, Intel Corporation PRO/Wireless 2915ABG Network Connection
class 2/80/0: Network controller/Network controller
BAR[0]: 32-bit memory 0xb4002000 0x1000

/usr/X11/bin/scanpci -v gives:

pci bus 0x000b cardnum 0x02 function 0x00: vendor 0x8086 device 0x4224
 Intel Corporation PRO/Wireless 2915ABG MiniPCI Adapter
 CardVendor 0x8086 card 0x1010 (Intel Corporation, Card unknown)
  STATUS    0x0290  COMMAND 0x0006
  CLASS     0x02 0x80 0x00  REVISION 0x05
  BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x08
  BASE0     0xb4002000  addr 0xb4002000  MEM
  MAX_LAT   0x18  MIN_GNT 0x03  INT_PIN 0x01  INT_LINE 0x0b
  BYTE_0    0x80  BYTE_1  0x80  BYTE_2  0x00  BYTE_3  0x00

The relevant output of prtconf -pv is:

            Node 0x00001a
                assigned-addresses:  
820b1010.00000000.b4002000.00000000.00001000
                reg:  
000b1000.00000000.00000000.00000000.00000000.020b1010.00000000.00000000.00000000.00001000
                compatible: 'pci8086,4224.8086.1010.5' + 
'pci8086,4224.8086.1010' + 'pci8086,1010' + 'pci8086,4224.5' + 'pci8086,4224' + 
'pciclass,028000' + 'pciclass,0280'
                model:  'Network controller'


Looking at Dan Mick's blog about PCI device identification and driver
binding in Solaris, it seems like the following might work:

iwi "pci8086,4224.8086.1010.5"

Is the above an appropriate entry for /etc/driver_aliases and would
it be used in preference to the typical e1000g "pci8086,1010" line?

What I would like to happen  is for the machine to
recognize the 2915 and attach iwi rather than e1000g
after the upgrade (it has happened a number of times)
adds the line:

e1000g "pci8086,1010"

to /etc/driver_aliases.

Thanks,

Stuart
This message posted from opensolaris.org

Reply via email to