pci-to-pcmcia connection with "AirPrime 5220 EVDO"

Khamar, Kalpit K (Kalpit) kkhamar at lucent.com
Fri Nov 19 20:22:45 EST 2004


Hi Dave,
Thanks for the quick response.
I have i guess unic case for PCI bus because i am using backplane of 12 PCI slots ( only one being used by PCI-to-PCMCIA adapter) and 2 ISA-PCI slot and one of that slot has SBC ( single board computer ) because of that i am getting two PCI bridge. Below is my lspci -v for that two PCI bridge.


00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: d4000000-d6ffffff

00:14.0 PCI bridge: Digital Equipment Corporation DECchip 21150 (rev 06) (prog-if 00 [Normal decode])
        Flags: bus master, medium devsel, latency 32
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        Memory behind bridge: d8100000-d81fffff
        Capabilities: [dc] Power Management version 1

Device 00:14.0 , Secondary bus do not have I/O bridge value.

Also not sure what are the memory valus i should keep in /etc/pcmcia/config.opts
Below is the config.opts file which i have right now.

#
# Local PCMCIA Configuration File
#
#----------------------------------------------------------------------
#
# System resources available for PCMCIA cards
#
# NOTE: these settings have no effect on resources assigned to a
# CardBus bridge device itself; this file only affects resources
# assigned to cards.  Also, interrupt settings here will only affect
# ISA bus interrupts assigned to 16-bit cards.  PCI interrupts
# generally can't be reconfigured.
#
# With the kernel PCMCIA subsystem, these settings also have no effect
# at all on resources used for 32-bit CardBus cards.  Those are set by
# the PCI hotplug subsystem.
#

include port 0x100-0x4ff, port 0xc00-0xcff
include memory 0xc0000-0xfffff
include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff

# High port numbers do not always work...
# include port 0x1000-0x17ff

# Extra port range for IBM Token Ring
include port 0xa00-0xaff

# Resources we should not use, even if they appear to be available


# First built-in serial port
exclude irq 4
# Second built-in serial port
#exclude irq 3
# First built-in parallel port
exclude irq 7
# PS/2 Mouse controller port, comment this out if you don't have a PS/2
# based mouse
exclude irq 12
# Radeon ICP MCE's if you touch ports 380 to 3ff
exclude port 0x380-0x3ff

#----------------------------------------------------------------------

# Examples of options for loadable modules

# To fix sluggish network with IBM ethernet adapter...
#module "pcnet_cs" opts "mem_speed=600"

# Options for IBM Token Ring adapters
#module "ibmtr_cs" opts "mmiobase=0xd0000 srambase=0xd4000"

# Options for Raylink/WebGear driver: uncomment only one line...
# Generic ad-hoc network
module "ray_cs" opts "essid=ADHOC_ESSID hop_dwell=128 beacon_period=256 translate=1"

# Infrastructure network for older cards
#module "ray_cs" opts "net_type=1 essid=ESSID1"
# Infrastructure network for WebGear
#module "ray_cs" opts "net_type=1 essid=ESSID1 translate=1 hop_dwell=128 beacon_period=256"

# Options for WaveLAN/IEEE driver (AccessPoint mode)...
#module "wvlan_cs" opts "station_name=MY_PC"
# Options for WaveLAN/IEEE driver (ad-hoc mode)...
#module "wvlan_cs" opts "port_type=3 channel=1 station_name=MY_PC"

# Options for Xircom Netwave driver...
#module "netwave_cs" opts "domain=0x100 scramble_key=0x0"



Please let me know what exactly i should change in this file.
Thanks again for your help and time.
Regards,
Kalpit


Below is lspci -v output

# lspci -v
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
        Flags: bus master, medium devsel, latency 32
        Memory at d0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [a0] AGP version 1.0

00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: d4000000-d6ffffff

00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
        Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
        Flags: bus master, medium devsel, latency 32
        I/O ports at f000 [size=16]

00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
        Flags: bus master, medium devsel, latency 32, IRQ 9
        I/O ports at e000 [size=32]

00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
        Flags: medium devsel, IRQ 9

00:08.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
        Subsystem: Intel Corp. 82559 Fast Ethernet LAN on Motherboard
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at d8200000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at e400 [size=64]
        Memory at d8000000 (32-bit, non-prefetchable) [size=1M]
        Capabilities: [dc] Power Management version 2


00:14.0 PCI bridge: Digital Equipment Corporation DECchip 21150 (rev 06) (prog-if 00 [Normal decode])
        Flags: bus master, medium devsel, latency 32
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        Memory behind bridge: d8100000-d81fffff
        Capabilities: [dc] Power Management version 1

01:00.0 VGA compatible controller: ATI Technologies Inc Rage XL AGP 2X (rev 65) (prog-if 00 [VGA])
        Subsystem: ATI Technologies Inc Xpert 98 RXL AGP 2X
        Flags: bus master, stepping, medium devsel, latency 32, IRQ 11
        Memory at d4000000 (32-bit, non-prefetchable) [size=16M]
        I/O ports at d000 [size=256]
        Memory at d6000000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [50] AGP version 1.0
        Capabilities: [5c] Power Management version 1

02:03.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
        Subsystem: ENE Technology Inc CB1410 Cardbus Controller
        Flags: bus master, medium devsel, latency 168, IRQ 10
        Memory at d8100000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
        Memory window 0: d8101000-d8102000 (prefetchable)
        Memory window 1: d8120000-d813f000
        I/O window 0: 00000000-00000003
        I/O window 1: 00000000-00000003
        16-bit legacy interface ports at 0001


-----Original Message-----
From: David Hinds [mailto:dhinds at sonic.net]
Sent: Friday, November 19, 2004 5:16 PM
To: Khamar, Kalpit K (Kalpit)
Cc: 'linux-pcmcia at lists.infradead.org'
Subject: Re: pci-to-pcmcia connection with "AirPrime 5220 EVDO"


On Fri, Nov 19, 2004 at 12:19:08PM -0500, Khamar, Kalpit K (Kalpit) wrote:

> # lspci
> 00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
> 00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
> 00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
> 00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
> 00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
> 00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
> 00:08.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
> 00:14.0 PCI bridge: Digital Equipment Corporation DECchip 21150 (rev 06)
> 01:00.0 VGA compatible controller: ATI Technologies Inc Rage XL AGP 2X (rev 65)
> 02:03.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)

In 'lspci -v', find the PCI bus bridge with secondary bus = 2,
probably device 00:14.0.  Take the IO and memory ranges listed for
that bridge, edit /etc/pcmcia/config.opts, and replace all the default
port and memory ranges with just the ones from 'lspci'.

-- Dave



More information about the linux-pcmcia mailing list