Problems with pcmcia code

Larry W. Finger Larry.Finger at lwfinger.net
Wed Oct 22 00:54:34 BST 2003


At 02:00 PM 10/21/2003, Russell King wrote:
>Hmm, this is interesting.

..snip..

>which appears to work.
>
> > bind_request(0, 'aha152x_cs')
>
>Hmm, what does your /etc/pcmcia/config.opts say about memory ranges
>(feel free to send the file 8))

The file contents are as follows:


# Local PCMCIA Configuration File
#
#----------------------------------------------------------------------

# System resources available for PCMCIA devices

# This are the official ports to use from pcmcia-cs, but ...
# include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff
# ... ports 0x810-0x81f hurt on some DELL machines and ...
# ... ports 0x3b0-0x3df hurt on some FSC machines.
include port 0x100-0x3af, port 0x3e0-0x4ff, port 0x800-0x80f, port 
0x820-0x8ff, 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

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

# 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"

#stuff for APA-1460 SlimSCSI Card

device "aha152x_cs"
   class "scsi" module "aha152x_cs"

card "Adaptec APA-1460 SlimSCSI"
   manfid 0x012f, 0x0002
   bind "aha152x_cs"

device "8139too"
   class "network" module "8139too"

device "dfe690_cb"
   class "network" module "dfe690_cb"

card "D-Link DFE-690TXD PC Card"
   manfid 0x0149, 0x0000
   bind "dfe690_cb"

Larry




More information about the linux-pcmcia mailing list