ne2k clone only working with pcmcia-cs

Arne Ahrend aahrend at web.de
Thu Jul 28 17:04:02 EDT 2005


My old PCMCIA ne2k compatible ethernet card reported by pccard ident as

Socket 0:
  product info: "Ethernet", "Adapter", "2.0", ""
  manfid: 0x0149, 0xc1ab
  function: 6 (network)

cannot be used with the kernel and hotplug based PCMCIA support
under 2.6.13-rc3, but gives the following messages in
dmesg (I loaded the pcmcia module with pc_debug=5 to
coax more information out of it):

ds: ds_event(0x000004, 0, 0xc75e5c2c)
cs: warning: no high memory space available!
cs: unable to map card memory!
cs: unable to map card memory!
ds: invalid CIS or invalid resources
ds: ds_event(0x000008, 1, 0xc75e5c2c)
ds: ds_event(0x000004, 0, 0xc75e5c2c)
cs: unable to map card memory!
cs: unable to map card memory!
ds: invalid CIS or invalid resources

I am using sysfsutils 1.3.0, pcmciautils 007 and module-init-tools-3.2-pre8.
The problem is not depending on wether debugging or the legacy interface
are compiled in. 

This is by no means a serious problem for me (pcmcia-cs works, I also
have a faster 32 bit card, the laptop is quite old), but still it it would
give this nice and warm fuzzy feeling, if it did work :->


Starting pcmcia-cs produces:

ds: ds_open(socket 0)
ds: ds_open(socket 1)
ds: ds_open(socket 2)
ds: ds_open(socket 2)
cs: IO port probe 0x3d4-0x4ff: excluding 0x3ec-0x403 0x4cc-0x4d3
cs: IO port probe 0x3d4-0x4ff: excluding 0x3ec-0x403 0x4cc-0x4d3
cs: IO port probe 0x3c0-0x3d2: clean.
cs: IO port probe 0x3c0-0x3d2: clean.
cs: IO port probe 0x100-0x3af: excluding 0x200-0x207 0x378-0x37f
cs: IO port probe 0x100-0x3af: excluding 0x200-0x207 0x378-0x37f
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
eth0: NE2000 Compatible: io 0x320, irq 3, hw_addr 00:E0:98:12:F5:47

and the daemon log says

Jul 28 21:23:04 westley cardmgr[2673]: watching 2 sockets
Jul 28 21:23:05 westley cardmgr[2674]: starting, version is 3.2.5
Jul 28 21:23:06 westley cardmgr[2674]: socket 0: NE2000 Compatible Ethernet
Jul 28 21:23:07 westley cardmgr[2674]: executing: 'modprobe pcnet_cs'
Jul 28 21:23:07 westley cardmgr[2674]: executing: './network start eth0'

It appears that it does not need any cis overrides. To be on the safe side I
copied INE2K.cis  NE2K.dat into /lib/firmware anyway.

I use the config.opts file distributed with pcmciautils-007 with the following add on to
step around statically configured resources:

exclude port 0x220-0x22f, port 0x300-0x307, port 0x388-0x38f, port 0x800-0x807
exclude irq 5

Here is the dmesg output for this machine:

Linux version 2.6.13-rc3 (root at phoenix) (gcc version 4.0.1 (Debian 4.0.1-2)) #1 Thu Jul 28 20:52:04 CEST 2005
BIOS-provided physical RAM map:
 BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e801: 0000000000100000 - 0000000008000000 (usable)
128MB LOWMEM available.
On node 0 totalpages: 32768
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 28672 pages, LIFO batch:15
  HighMem zone: 0 pages, LIFO batch:1
DMI not present.
Allocating PCI resources starting at 08000000 (gap: 08000000:f8000000)
Built 1 zonelists
Kernel command line: 3 root=/dev/hda6 ro vga=0x318 
Initializing CPU#0
CPU 0 irqstacks, hard=c0320000 soft=c031f000
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 267.326 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 127068k/131072k available (1408k kernel code, 3560k reserved, 623k data, 116k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 535.04 BogoMIPS (lpj=267524)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 008001bf 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 008001bf 00000000 00000000 00000000 00000000 00000000 00000000
Intel Pentium with F0 0F bug - workaround enabled.
CPU: After all inits, caps: 008001bf 00000000 00000000 00000000 00000000 00000000 00000000
CPU: Intel Mobile Pentium MMX stepping 01
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xeb030, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:08.0
PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:07.0
PCI: IRQ 0 for device 0000:00:0a.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: IRQ 0 for device 0000:00:0a.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Bus 1, cardbus bridge: 0000:00:0a.0
  IO window: 00002000-00002fff
  IO window: 00003000-00003fff
  PREFETCH window: 08000000-09ffffff
  MEM window: 0a000000-0bffffff
PCI: Bus 5, cardbus bridge: 0000:00:0a.1
  IO window: 00004000-00004fff
  IO window: 00005000-00005fff
  PREFETCH window: 0c000000-0dffffff
  MEM window: 0e000000-0fffffff
PCI: IRQ 0 for device 0000:00:0a.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: setting IRQ 10 as level-triggered
PCI: Assigned IRQ 10 for device 0000:00:0a.0
PCI: IRQ 0 for device 0000:00:0a.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Assigned IRQ 10 for device 0000:00:0a.1
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
inotify syscall
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
vesafb: framebuffer at 0xc0000000, mapped to 0xc8800000, using 4096k, total 4096k
vesafb: mode is 1024x768x24, linelength=3072, pages=0
vesafb: protected mode interface info at c000:75d2
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:8:8:8, shift=0:16:8:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
[drm] Initialized drm 1.0.0 20040925
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
io scheduler anticipatory registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1108-0x110f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: TOSHIBA MK4309MAT, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: HITACHI CDR-S300, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 8452080 sectors (4327 MB), CHS=8944/15/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
input: AT Translated Set 2 keyboard on isa0060/serio0
Using IPI Shortcut mode
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 116k freed
Adding 188956k swap on /dev/hda5.  Priority:-1 extents:1
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
alps.c: Enabling hardware tapping
input: PS/2 Mouse on isa0060/serio1
input: AlpsPS/2 ALPS GlidePoint on isa0060/serio1
mice: PS/2 mouse device common for all mice
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.12
PCI: Found IRQ 10 for device 0000:00:0a.0
Yenta: CardBus bridge found at 0000:00:0a.0 [0000:0000]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:0a.0, mfunc 0x01671c78, devctl 0x66
Yenta: ISA IRQ mask 0x0a98, PCI irq 10
Socket status: 30000006
PCI: Found IRQ 10 for device 0000:00:0a.1
Yenta: CardBus bridge found at 0000:00:0a.1 [0000:0000]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:0a.1, mfunc 0x01671c78, devctl 0x66
Yenta: ISA IRQ mask 0x0a98, PCI irq 10
Socket status: 30000006
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.3
PCI: Assigned IRQ 10 for device 0000:00:07.2
uhci_hcd 0000:00:07.2: Intel Corporation 82371AB/EB/MB PIIX4 USB
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 10, io base 0x0000f300
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ip_conntrack version 2.1 (1024 buckets, 8192 max) - 212 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device



lspci -vv gives:

0000:00:00.0 Host bridge: Intel Corp. 430TX - 82439TX MTXC (rev 01)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 32

0000:00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0

0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Region 4: I/O ports at 1100 [size=16]

0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 240
        Interrupt: pin D routed to IRQ 10
        Region 4: I/O ports at f300 [size=32]

0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin ? routed to IRQ 9

0000:00:08.0 VGA compatible controller: S3 Inc. ViRGE/MX (rev 06) (prog-if 00 [VGA])
        Subsystem: Unknown device abcd:1100
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (1000ns min, 63750ns max)
        Region 0: Memory at c0000000 (32-bit, non-prefetchable) [size=64M]
        Expansion ROM at 10000000 [disabled] [size=64K]

0000:00:0a.0 CardBus bridge: Texas Instruments PCI1220 (rev 02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 168, Cache Line Size: 0x08 (32 bytes)
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at 10010000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
        Memory window 0: 08000000-09fff000 (prefetchable)
        Memory window 1: 0a000000-0bfff000
        I/O window 0: 00002000-00002fff
        I/O window 1: 00003000-00003fff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
        16-bit legacy interface ports at 0001

0000:00:0a.1 CardBus bridge: Texas Instruments PCI1220 (rev 02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 168, Cache Line Size: 0x08 (32 bytes)
        Interrupt: pin B routed to IRQ 10
        Region 0: Memory at 10011000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=05, subordinate=08, sec-latency=176
        Memory window 0: 0c000000-0dfff000 (prefetchable)
        Memory window 1: 0e000000-0ffff000
        I/O window 0: 00004000-00004fff
        I/O window 1: 00005000-00005fff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
        16-bit legacy interface ports at 0001



List of modules:

pcmcia 32004 4 - Live 0xc8d38000
firmware_class 7232 1 pcmcia, Live 0xc8cf2000
i2c_piix4 7376 0 - Live 0xc8cef000
ipt_state 1376 3 - Live 0xc8cdc000
iptable_filter 2080 1 - Live 0xc8c24000
ipt_MASQUERADE 2368 2 - Live 0xc8ca8000
iptable_nat 18812 2 ipt_MASQUERADE, Live 0xc8ce9000
ip_tables 19136 4 ipt_state,iptable_filter,ipt_MASQUERADE,iptable_nat, Live 0xc8cd6000
ip_conntrack_ftp 71152 0 - Live 0xc8d1a000
ip_conntrack 36920 4 ipt_state,ipt_MASQUERADE,iptable_nat,ip_conntrack_ftp, Live 0xc8d0f000
uhci_hcd 29712 0 - Live 0xc8ce0000
usbcore 100892 2 uhci_hcd, Live 0xc8cf5000
yenta_socket 20780 4 - Live 0xc8ccf000
rsrc_nonstatic 10656 1 yenta_socket, Live 0xc8c80000
pcmcia_core 36308 3 pcmcia,yenta_socket,rsrc_nonstatic, Live 0xc8cbd000
rtc 10200 0 - Live 0xc8c5e000
8250_pci 16896 0 - Live 0xc8cb7000
8250 18244 1 8250_pci, Live 0xc8ca2000
serial_core 18112 1 8250, Live 0xc8c70000
snd_es18xx 24004 0 - Live 0xc8c9b000
snd_pcm_oss 47136 0 - Live 0xc8caa000
snd_mixer_oss 15392 1 snd_pcm_oss, Live 0xc8c76000
snd_pcm 77256 2 snd_es18xx,snd_pcm_oss, Live 0xc8c87000
snd_page_alloc 7848 1 snd_pcm, Live 0xc8c6d000
snd_opl3_lib 8224 1 snd_es18xx, Live 0xc8c62000
snd_timer 20804 2 snd_pcm,snd_opl3_lib, Live 0xc8c66000
mousedev 9568 0 - Live 0xc8c1a000
snd_hwdep 6560 1 snd_opl3_lib, Live 0xc8c46000
snd_mpu401_uart 5568 1 snd_es18xx, Live 0xc8c43000
snd_rawmidi 19904 1 snd_mpu401_uart, Live 0xc8c4a000
snd_seq_device 6508 2 snd_opl3_lib,snd_rawmidi, Live 0xc8c21000
snd 44804 10 snd_es18xx,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device, Live 0xc8c52000
soundcore 6944 1 snd, Live 0xc8c1e000
psmouse 29380 0 - Live 0xc8c3a000
ide_cd 35524 0 - Live 0xc8c30000
cdrom 34880 1 ide_cd, Live 0xc8c26000




With the card in socket 0, but no pcmcia-cs running iomem looks thus:

00000000-0009efff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000cbbff : Video ROM
000cc000-000ccfff : Adapter ROM
000e2000-000e27ff : Adapter ROM
000e7000-000e7fff : Adapter ROM
000f0000-000fffff : System ROM
00100000-07ffffff : System RAM
  00100000-002600a1 : Kernel code
  002600a2-002fbda7 : Kernel data
08000000-09ffffff : PCI CardBus #01
0a000000-0bffffff : PCI CardBus #01
0c000000-0dffffff : PCI CardBus #05
0e000000-0fffffff : PCI CardBus #05
10000000-1000ffff : 0000:00:08.0
10010000-10010fff : 0000:00:0a.0
  10010000-10010fff : yenta_socket
10011000-10011fff : 0000:00:0a.1
  10011000-10011fff : yenta_socket
c0000000-c3ffffff : 0000:00:08.0
  c0000000-c03fffff : vesafb

And here is what changes with pcmcia-cs active:

--- iomem-0     2005-07-28 21:40:35.000000000 +0200
+++ iomem-cs    2005-07-28 21:24:40.000000000 +0200
@@ -17,5 +17,6 @@
   10010000-10010fff : yenta_socket
 10011000-10011fff : 0000:00:0a.1
   10011000-10011fff : yenta_socket
+60000000-60000fff : pcmcia_socket0
 c0000000-c3ffffff : 0000:00:08.0
   c0000000-c03fffff : vesafb



This is ioports without pcmcia-cs:

0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0220-022f : ES18xx
02f8-02ff : serial
0300-0301 : MPU401 UART
0376-0376 : ide1
0388-0389 : OPL2/3 (left)
038a-038b : OPL2/3 (right)
03c0-03df : vesafb
03f6-03f6 : ide0
03f8-03ff : serial
0800-0807 : ES18xx - CTRL
0cf8-0cff : PCI conf1
1000-103f : 0000:00:07.3
1100-110f : 0000:00:07.1
  1100-1107 : ide0
  1108-110f : ide1
1400-141f : 0000:00:07.3
  1400-1407 : piix4-smbus
2000-2fff : PCI CardBus #01
3000-3fff : PCI CardBus #01
4000-4fff : PCI CardBus #05
5000-5fff : PCI CardBus #05
f300-f31f : 0000:00:07.2
  f300-f31f : uhci_hcd


and the diff with pcmcia-cs:

--- ioports-0   2005-07-28 21:40:42.000000000 +0200
+++ ioports-cs  2005-07-28 21:24:28.000000000 +0200
@@ -13,6 +13,7 @@
 0220-022f : ES18xx
 02f8-02ff : serial
 0300-0301 : MPU401 UART
+0320-033f : pcmcia_socket0
 0376-0376 : ide1
 0388-0389 : OPL2/3 (left)
 038a-038b : OPL2/3 (right)



systool -v -c pcmcia_socket without pcmcia-cs gives:

Class = "pcmcia_socket"

  Class Device = "pcmcia_socket0"
  Class Device path = "/sys/class/pcmcia_socket/pcmcia_socket0"
    available_resources_io= 
    available_resources_mem= 
    available_resources_setup_done= "yes"
    card_eject          = <store method only>
    card_insert         = <store method only>
    card_irq_mask       = "0x0a98"
    card_type           = "16-bit"
    card_vcc            = "5.0V"
    card_voltage        = "5.0V"
    card_vpp            = "5.0V"

    Device = "0000:00:0a.0"
    Device path = "/sys/devices/pci0000:00/0000:00:0a.0"
      class               = "0x060700"
      config              =  4c 10 17 ac 07 00 10 02  02 00 07 06 08 a8 82 00
                             00 00 01 10 a0 00 00 02  00 01 04 b0 00 00 00 08
                             00 f0 ff 09 00 00 00 0a  00 f0 ff 0b 00 20 00 00
                             fc 2f 00 00 00 30 00 00  fc 3f 00 00 ff 01 c0 05
                             00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             60 d0 44 08 00 00 00 00  00 00 00 00 72 1c 67 01
                             c0 02 66 61 00 00 00 00  00 00 00 00 00 00 00 00
                             01 00 21 7e 00 80 80 00  03 08 00 00 0e 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
      device              = "0xac17"
      irq                 = "10"
      local_cpus          = "1"
      modalias            = "pci:v0000104Cd0000AC17sv00000000sd00000000bc06sc07i00"
      resource            = "0x0000000010010000 0x0000000010010fff 0x0000000000000200
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000002000 0x0000000000002fff 0x0000000000000100
0x0000000000003000 0x0000000000003fff 0x0000000000000100
0x0000000008000000 0x0000000009ffffff 0x0000000000001200
0x000000000a000000 0x000000000bffffff 0x0000000000000200
0x0000000000000000 0x0000000000000000 0x0000000000000000"
      subsystem_device    = "0x0000"
      subsystem_vendor    = "0x0000"
      vendor              = "0x104c"


  Class Device = "pcmcia_socket1"
  Class Device path = "/sys/class/pcmcia_socket/pcmcia_socket1"
    available_resources_io= 
    available_resources_mem= 
    available_resources_setup_done= "yes"
    card_eject          = <store method only>
    card_insert         = <store method only>
    card_irq_mask       = "0x0a98"

    Device = "0000:00:0a.1"
    Device path = "/sys/devices/pci0000:00/0000:00:0a.1"
      class               = "0x060700"
      config              =  4c 10 17 ac 07 00 10 02  02 00 07 06 08 a8 82 00
                             00 10 01 10 a0 00 00 02  00 05 08 b0 00 00 00 0c
                             00 f0 ff 0d 00 00 00 0e  00 f0 ff 0f 00 40 00 00
                             fc 4f 00 00 00 50 00 00  fc 5f 00 00 ff 02 c0 05
                             00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             60 d0 44 08 00 00 00 00  00 00 00 00 72 1c 67 01
                             c0 02 66 61 00 00 00 00  00 00 00 00 00 00 00 00
                             01 00 21 7e 00 80 80 00  03 08 00 00 0e 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                             00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
      device              = "0xac17"
      irq                 = "10"
      local_cpus          = "1"
      modalias            = "pci:v0000104Cd0000AC17sv00000000sd00000000bc06sc07i00"
      resource            = "0x0000000010011000 0x0000000010011fff 0x0000000000000200
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000004000 0x0000000000004fff 0x0000000000000100
0x0000000000005000 0x0000000000005fff 0x0000000000000100
0x000000000c000000 0x000000000dffffff 0x0000000000001200
0x000000000e000000 0x000000000fffffff 0x0000000000000200
0x0000000000000000 0x0000000000000000 0x0000000000000000"
      subsystem_device    = "0x0000"
      subsystem_vendor    = "0x0000"
      vendor              = "0x104c"


And the difference with pcmcia-cs:

--- sys-pcmcia-0        2005-07-28 21:31:06.000000000 +0200
+++ sys-pcmcia-cs       2005-07-28 21:25:11.000000000 +0200
@@ -2,8 +2,22 @@
 
   Class Device = "pcmcia_socket0"
   Class Device path = "/sys/class/pcmcia_socket/pcmcia_socket0"
-    available_resources_io= 
-    available_resources_mem= 
+    available_resources_io= "0x00000100 - 0x000001ff
+0x00000208 - 0x0000021f
+0x00000230 - 0x000002ff
+0x00000308 - 0x00000377
+0x00000380 - 0x00000387
+0x00000390 - 0x000003af
+0x000003c0 - 0x000003d2
+0x000003d4 - 0x000003eb
+0x00000404 - 0x000004cb
+0x000004d4 - 0x000004ff
+0x00000808 - 0x000008ff
+0x00000a00 - 0x00000aff
+0x00000c00 - 0x00000cff"
+    available_resources_mem= "0x000c0000 - 0x000fffff
+0x60000000 - 0x60ffffff
+0xa0000000 - 0xa0ffffff"
     available_resources_setup_done= "yes"
     card_eject          = <store method only>
     card_insert         = <store method only>
@@ -11,7 +25,9 @@
     card_type           = "16-bit"
     card_vcc            = "5.0V"
     card_voltage        = "5.0V"
-    card_vpp            = "5.0V"
+    card_vpp            = "0.0V"
+    cis                 = ___I DELETED BINARY DATA HERE FOR THE SAKE OF EMAILING___

     Device = "0000:00:0a.0"
     Device path = "/sys/devices/pci0000:00/0000:00:0a.0"
@@ -24,7 +40,7 @@
                              00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                              00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                              00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
-                             60 d0 44 08 00 00 00 00  00 00 00 00 72 1c 67 01
+                             60 f0 44 08 00 00 00 00  00 00 00 00 72 1c 67 01
                              c0 02 66 61 00 00 00 00  00 00 00 00 00 00 00 00
                              01 00 21 7e 00 80 80 00  03 08 00 00 0e 00 00 00
                              00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
@@ -55,8 +71,22 @@
 
   Class Device = "pcmcia_socket1"
   Class Device path = "/sys/class/pcmcia_socket/pcmcia_socket1"
-    available_resources_io= 
-    available_resources_mem= 
+    available_resources_io= "0x00000100 - 0x000001ff
+0x00000208 - 0x0000021f
+0x00000230 - 0x000002ff
+0x00000308 - 0x00000377
+0x00000380 - 0x00000387
+0x00000390 - 0x000003af
+0x000003c0 - 0x000003d2
+0x000003d4 - 0x000003eb
+0x00000404 - 0x000004cb
+0x000004d4 - 0x000004ff
+0x00000808 - 0x000008ff
+0x00000a00 - 0x00000aff
+0x00000c00 - 0x00000cff"
+    available_resources_mem= "0x000c0000 - 0x000fffff
+0x60000000 - 0x60ffffff
+0xa0000000 - 0xa0ffffff"
     available_resources_setup_done= "yes"
     card_eject          = <store method only>
     card_insert         = <store method only>


Kind regards,

A Ahrend






More information about the linux-pcmcia mailing list