Subject: Re: pci/pcmcia bridges?
To: HAYAKAWA@ilink.sony.co.jp, Koichi <haya@arch.sony.co.jp>
From: Rasputin <rasputin@idoru.mine.nu>
List: current-users
Date: 03/05/2003 10:23:16
* HAYAKAWA@ilink.sony.co.jp <HAYAKAWA@ilink.sony.co.jp> [0325 11:25]:
> Hello,
>
> This problem may happen due to I/O region overwrapping. Can
> you get PCI device mapping by scanpci -v?
Thanks, but I can't understand the output :)
-----------------------------------------------
pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x7180
Intel 82443LX PAC Host
STATUS 0x2290 COMMAND 0x0006
CLASS 0x06 0x00 0x00 REVISION 0x03
BIST 0x00 HEADER 0x00 LATENCY 0x40 CACHE 0x00
BASE0 0xe0000008 addr 0xe0000000 MEM PREFETCHABLE
pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x8086 device 0x7181
Intel 82443LX PAC AGP
STATUS 0x02a0 COMMAND 0x0107
CLASS 0x06 0x04 0x00 REVISION 0x03
HEADER 0x01 LATENCY 0x40
PRIBUS 0x00 SECBUS 0x01 SUBBUS 0x01 SECLT 0x40
IOBASE 0xc000 IOLIM 0xcfff SECSTATUS 0x22a0
NOPREFETCH_MEMBASE 0xe4000000 MEMLIM 0xe7ffffff
PREFETCH_MEMBASE 0xe8000000 MEMLIM 0xe9ffffff
NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT VGA_EN NO_ISA_EN SERR_EN NO_PERR_EN
pci bus 0x0000 cardnum 0x07 function 0x00: vendor 0x8086 device 0x7110
Intel 82371AB PIIX4 ISA
STATUS 0x0280 COMMAND 0x000f
CLASS 0x06 0x01 0x00 REVISION 0x01
BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00
pci bus 0x0000 cardnum 0x07 function 0x01: vendor 0x8086 device 0x7111
Intel 82371AB PIIX4 IDE
STATUS 0x0280 COMMAND 0x0005
CLASS 0x01 0x01 0x80 REVISION 0x01
BIST 0x00 HEADER 0x00 LATENCY 0x40 CACHE 0x00
BASE4 0x0000f001 addr 0x0000f000 I/O
BYTE_0 0xa307a307 BYTE_1 0x00 BYTE_2 0x00 BYTE_3 0x00
pci bus 0x0000 cardnum 0x07 function 0x02: vendor 0x8086 device 0x7112
Intel 82371AB PIIX4 USB
STATUS 0x0280 COMMAND 0x0005
CLASS 0x0c 0x03 0x00 REVISION 0x01
BIST 0x00 HEADER 0x00 LATENCY 0x40 CACHE 0x00
BASE4 0x0000d001 addr 0x0000d000 I/O
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x04 INT_LINE 0x09
pci bus 0x0000 cardnum 0x07 function 0x03: vendor 0x8086 device 0x7113
Intel 82371AB PIIX4 ACPI
STATUS 0x0280 COMMAND 0x0003
CLASS 0x06 0x80 0x00 REVISION 0x01
BYTE_0 0x4001 BYTE_1 0x00 BYTE_2 0x00 BYTE_3 0x00
pci bus 0x0000 cardnum 0x08 function 0x00: vendor 0x11c1 device 0x5803
Device unknown
CardVendor 0x11c1 card 0x5803 (Card unknown)
STATUS 0x0210 COMMAND 0x0006
CLASS 0x0c 0x03 0x10 REVISION 0x11
BIST 0x00 HEADER 0x80 LATENCY 0x40 CACHE 0x00
BASE0 0xeb006000 addr 0xeb006000 MEM
MAX_LAT 0x56 MIN_GNT 0x03 INT_PIN 0x01 INT_LINE 0x0c
pci bus 0x0000 cardnum 0x08 function 0x01: vendor 0x11c1 device 0x5803
Device unknown
CardVendor 0x11c1 card 0x5803 (Card unknown)
STATUS 0x0210 COMMAND 0x0006
CLASS 0x0c 0x03 0x10 REVISION 0x11
BIST 0x00 HEADER 0x80 LATENCY 0x40 CACHE 0x00
BASE0 0xeb007000 addr 0xeb007000 MEM
MAX_LAT 0x56 MIN_GNT 0x03 INT_PIN 0x01 INT_LINE 0x0c
pci bus 0x0000 cardnum 0x08 function 0x02: vendor 0x11c1 device 0x5803
Device unknown
CardVendor 0x11c1 card 0x5803 (Card unknown)
STATUS 0x0210 COMMAND 0x0006
CLASS 0x0c 0x03 0x10 REVISION 0x11
BIST 0x00 HEADER 0x80 LATENCY 0x40 CACHE 0x00
BASE0 0xeb004000 addr 0xeb004000 MEM
MAX_LAT 0x56 MIN_GNT 0x03 INT_PIN 0x01 INT_LINE 0x0c
pci bus 0x0000 cardnum 0x08 function 0x03: vendor 0x11c1 device 0x5803
Device unknown
CardVendor 0x11c1 card 0x5803 (Card unknown)
STATUS 0x0210 COMMAND 0x0006
CLASS 0x0c 0x03 0x10 REVISION 0x11
BIST 0x00 HEADER 0x80 LATENCY 0x40 CACHE 0x00
BASE0 0xeb005000 addr 0xeb005000 MEM
MAX_LAT 0x56 MIN_GNT 0x03 INT_PIN 0x01 INT_LINE 0x0c
pci bus 0x0000 cardnum 0x09 function 0x00: vendor 0x105a device 0x4d68
Device unknown
CardVendor 0x105a card 0x4d68 (Card unknown)
STATUS 0x0430 COMMAND 0x0007
CLASS 0x01 0x80 0x85 REVISION 0x02
BIST 0x00 HEADER 0x00 LATENCY 0x40 CACHE 0x08
BASE0 0x0000d401 addr 0x0000d400 I/O
BASE1 0x0000d801 addr 0x0000d800 I/O
BASE2 0x0000dc01 addr 0x0000dc00 I/O
BASE3 0x0000e001 addr 0x0000e000 I/O
BASE4 0x0000e401 addr 0x0000e400 I/O
BASE5 0xeb000000 addr 0xeb000000 MEM
BASEROM 0xea000000 addr 0xea000000 not-decode-enabled
MAX_LAT 0x12 MIN_GNT 0x04 INT_PIN 0x01 INT_LINE 0x09
pci bus 0x0000 cardnum 0x0a function 0x00: vendor 0x1180 device 0x0475
Ricoh RL5C475 PCI-CardBus bridge/PCMCIA
STATUS 0x0210 COMMAND 0x0007
CLASS 0x06 0x07 0x00 REVISION 0x80
BIST 0x00 HEADER 0x02 LATENCY 0x40 CACHE 0x00
BASE0 0xeb008000 addr 0xeb008000 MEM
BASE1 0x020000dc addr 0x020000d0 MEM PREFETCHABLE 64BIT
BASE2 0x20000000 addr 0x20000000 MEM
BASE3 0xfffff000 addr 0xfffff000 MEM
BASE5 0xfffff000 addr 0xfffff000 MEM
MAX_LAT 0x07 MIN_GNT 0xc0 INT_PIN 0x01 INT_LINE 0x09
pci bus 0x0000 cardnum 0x0b function 0x00: vendor 0x4a14 device 0x5000
Device unknown
CardVendor 0x4a14 card 0x5000 (Card unknown)
STATUS 0x0200 COMMAND 0x0003
CLASS 0x02 0x00 0x00 REVISION 0x00
BASE0 0x0000e801 addr 0x0000e800 I/O
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x09
pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x121a device 0x0005
3dfx Interactive Voodoo3
CardVendor 0x121a card 0x003a (3dfx Interactive Voodoo3 3000)
STATUS 0x80b0 COMMAND 0x0003
CLASS 0x03 0x00 0x00 REVISION 0x01
BASE0 0xe4000000 addr 0xe4000000 MEM
BASE1 0xe8000008 addr 0xe8000000 MEM PREFETCHABLE
BASE2 0x0000c001 addr 0x0000c000 I/O
BASEROM 0xe6000000 addr 0xe6000000 not-decode-enabled
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x0c
BYTE_0 0x01 BYTE_1 0x00 BYTE_2 0x00 BYTE_3 0x00
-----------------------------------------------
> You can move PCMCIA I/O window using RBUS_IO_BASE option for
> kernel compile option, such as
>
> options RBUS_IO_BASE=0x2000.
I think you might be onto something there - remember reading somewherer
that Lucent aOrinocos are fairly greedy fro address space.
> The default value for the option is 0x4000.
(Incidentally for those of you who are thinking 'look, just suck it and see'
I won't have physical access to the box till tonight and wanted to check I
had a good idea fo what to try before I start locking it up :) )
Thanks again.
--
Wiker's Law:
Government expands to absorb revenue and then some.
Rasputin :: Jack of All Trades - Master of Nuns