Subject: Re: Cisco aironet 350 _mini-pci_ driver.
To: Martin Husemann <martin@duskware.de>
From: Adrien Auzanneau <ada@netbsd-fr.org>
List: current-users
Date: 12/08/2002 09:15:12
Hello martin,

On (08/12/02 00:50), Martin Husemann wrote:
> 
> Can you please use "pcictl /dev/pci0 list" and "pcictl /dev/pci0 dump -d 1"
> (substituting the right PCI bus for /dev/pci0 and the device number you find
> by the list command for 1) to get a dump of your card and post it here?

$ pcictl /dev/pci2 list

002:00:0: Texas Instruments product 0xac55 (CardBus bridge, revision 0x01)
002:00:1: Texas Instruments product 0xac55 (CardBus bridge, revision 0x01)
002:02:0: Aironet Wireless Communications product 0xa504 (miscellaneous network)
002:08:0: Intel PRO/100 VE Network Controller (ethernet network, revision 0x42)


$ pcictl /dev/pci2 dump -d 2

PCI configuration registers:
  Common header:
    0x00: 0xa50414b9 0x0090011f 0x02800000 0x00004008

    Vendor Name: Aironet Wireless Communications (0x14b9)
    Device ID: 0xa504
    Command register: 0x011f
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: on
      Special cycles: on
      MWI transactions: on
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): on
      Fast back-to-back transactions: off
    Status register: 0x0090
      Capability List support: on
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: on
      Data parity error detected: off
      DEVSEL timing: fast (0x0)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: network (0x02)
    Subclass Name: miscellaneous (0x80)
    Interface: 0x00
    Revision ID: 0x00
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x40
    Cache Line Size: 0x08

  Type 0 ("normal" device) header:
    0x10: 0x00008001 0xd0200000 0xd0400000 0x00000000
    0x20: 0x00000000 0x00000000 0x00002002 0x500014b9
    0x30: 0x00000000 0x00000040 0x00000000 0x0404010b

    Base address register at 0x10
      type: i/o
      base: 0x00008000, not sized
    Base address register at 0x14
      type: 32-bit nonprefetchable memory
      base: 0xd0200000, not sized
    Base address register at 0x18
      type: 32-bit nonprefetchable memory
      base: 0xd0400000, not sized
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00002002
    Subsystem vendor ID: 0x14b9
    Subsystem ID: 0x5000
    Expansion ROM Base Address: 0x00000000
    Capability list pointer: 0x40
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x04
    Minimum Grant: 0x04
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x0b

  Capability register at 0x40
    type: 0x01 (Power Management, rev. 1.0)
  Capability register at 0x48
    type: 0x03 (VPD)

  Device-dependent header:
    0x40: 0x06024801 0xc8004000 0x807c0003 0x78000000
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00000000
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000



Thanks a lot for your help.
Have a nice day.

PS: you can find all the files related to this problem (dmesg,
if_an_pci.c, pcictl_dump et pcictl_list) on:
http://ada.netbsd-fr.org/nbsd/tmp/

-- 
Adrien Auzanneau.
http://ada.netbsd-fr.org/