Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2001 23:10:29 -0800
From:      Richard Johnson <raj@cisco.com>
To:        freebsd-mobile@freebsd.org
Subject:   Question re. pcic driver
Message-ID:  <15343.30181.937921.21800@kitab.cisco.com>

next in thread | raw e-mail | index | archive | help
When I was running 4.1.1 I could leave my pccard controller in
"auto-selected" mode and it would my PCMCIA Aironet card just fine.
Under 4.4 it doesn't find my card and it appears to be
"auto-selecting" the controller as "cardbus" instead of PCMCIA.  I'm
wondering if there's a way to force it to use PCMCIA?

Here's the output when I go into BIOS and force it to "pcic
compatible".  This work fine:

Nov 11 13:06:46 kitab /kernel: Copyright (c) 1992-2001 The FreeBSD Project.
Nov 11 13:06:46 kitab /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Nov 11 13:06:46 kitab /kernel: The Regents of the University of California. All rights reserved.
Nov 11 13:06:46 kitab /kernel: FreeBSD 4.4-RELEASE #2: Tue Nov  6 10:50:53 PST 2001
Nov 11 13:06:46 kitab /kernel: raj@kitab.cisco.com:/usr/src/sys/compile/KITAB1
Nov 11 13:06:46 kitab /kernel: Timecounter "i8254"  frequency 1193182 Hz
Nov 11 13:06:46 kitab /kernel: CPU: Pentium/P55C (quarter-micron) (233.29-MHz 586-class CPU)
Nov 11 13:06:46 kitab /kernel: Origin = "GenuineIntel"  Id = 0x581  Stepping = 1
Nov 11 13:06:46 kitab /kernel: Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
Nov 11 13:06:46 kitab /kernel: real memory  = 67174400 (65600K bytes)
Nov 11 13:06:46 kitab /kernel: config> di sio1
Nov 11 13:06:46 kitab /kernel: config> di sio0
Nov 11 13:06:46 kitab /kernel: config> di ppc0
Nov 11 13:06:46 kitab /kernel: config> di sn0
Nov 11 13:06:46 kitab /kernel: config> di lnc0
Nov 11 13:06:46 kitab /kernel: config> di ie0
Nov 11 13:06:46 kitab /kernel: config> di fe0
Nov 11 13:06:46 kitab /kernel: config> di ed0
Nov 11 13:06:46 kitab /kernel: config> di cs0
Nov 11 13:06:46 kitab /kernel: config> di bt0
Nov 11 13:06:46 kitab /kernel: config> di ata1
Nov 11 13:06:46 kitab /kernel: config> di aic0
Nov 11 13:06:46 kitab /kernel: config> di aha0
Nov 11 13:06:46 kitab /kernel: config> di adv0
Nov 11 13:06:46 kitab /kernel: config> q
Nov 11 13:06:46 kitab /kernel: avail memory = 60784640 (59360K bytes)
Nov 11 13:06:46 kitab /kernel: Preloaded elf kernel "kernel" at 0xc0484000.
Nov 11 13:06:46 kitab /kernel: Preloaded userconfig_script "/boot/kernel.conf" at 0xc048409c.
Nov 11 13:06:46 kitab /kernel: Intel Pentium detected, installing workaround for F00F bug
Nov 11 13:06:46 kitab /kernel: md0: Malloc disk
Nov 11 13:06:46 kitab /kernel: Using $PIR table, 5 entries at 0xc00f8e80
Nov 11 13:06:46 kitab /kernel: apm0: <APM BIOS> on motherboard
Nov 11 13:06:46 kitab /kernel: apm: found APM BIOS v1.2, connected at v1.2
Nov 11 13:06:46 kitab /kernel: npx0: <math processor> on motherboard
Nov 11 13:06:46 kitab /kernel: npx0: INT 16 interface
Nov 11 13:06:46 kitab /kernel: pcib0: <Host to PCI bridge> on motherboard
Nov 11 13:06:46 kitab /kernel: pci0: <PCI bus> on pcib0
Nov 11 13:06:46 kitab /kernel: pci0: <NeoMagic MagicGraph 128XD SVGA controller> at 4.0
Nov 11 13:06:46 kitab /kernel: chip1: <Toshiba Fast Infra Red controller> port 0xffe0-0xffff irq 11 at device 17.0 on pci0
Nov 11 13:06:46 kitab /kernel: isa0: <ISA bus> on motherboard
Nov 11 13:06:46 kitab /kernel: orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
Nov 11 13:06:46 kitab /kernel: fdc0: direction bit not set
Nov 11 13:06:46 kitab /kernel: fdc0: cmd 3 failed at out byte 1 of 3
Nov 11 13:06:46 kitab /kernel: ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
Nov 11 13:06:46 kitab /kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
Nov 11 13:06:46 kitab /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
Nov 11 13:06:46 kitab /kernel: kbd0 at atkbd0
Nov 11 13:06:46 kitab /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Nov 11 13:06:46 kitab /kernel: psm0: model Generic PS/2 mouse, device ID 0
Nov 11 13:06:46 kitab /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Nov 11 13:06:46 kitab /kernel: sc0: <System console> at flags 0x100 on isa0
Nov 11 13:06:46 kitab /kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Nov 11 13:06:46 kitab /kernel: pcic0: <Intel i82365SL-A/B> at port 0x3e0 iomem 0xd0000 on isa0
Nov 11 13:06:46 kitab /kernel: pcic0: Polling mode
Nov 11 13:06:46 kitab /kernel: pccard0: <PC Card bus (classic)> on pcic0
Nov 11 13:06:46 kitab /kernel: pccard1: <PC Card bus (classic)> on pcic0
Nov 11 13:06:46 kitab /kernel: ad0: 9590MB <IBM-DJSA-210> [19485/16/63] at ata0-master BIOSPIO
Nov 11 13:06:46 kitab /kernel: Mounting root from ufs:/dev/ad0s2a
Nov 11 13:06:46 kitab /kernel: pccard: card inserted, slot 1
Nov 11 13:06:46 kitab /kernel: an0: <Aironet PC4500/PC4800> at port 0x240-0x27f irq 7 slot 1 on pccard1
Nov 11 13:06:46 kitab /kernel: an0: Ethernet address: 00:40:96:59:ff:be
Nov 11 13:06:47 kitab savecore: no core dump
Nov 11 13:06:47 kitab ntpd[230]: ntpd 4.0.99b Tue Sep 18 09:51:17 PDT 2001 (1)
Nov 11 13:06:47 kitab ntpd[230]: using kernel phase-lock loop 2040
Nov 11 13:07:24 kitab papd[324]: restart (1.5pre7)
Nov 11 17:52:27 kitab reboot: rebooted by raj
Nov 11 17:52:28 kitab syslogd: exiting on signal 15


And here's the output when I change it to "auto-selected".  This
doesn't work at all:


Nov 11 21:10:34 kitab /kernel: Copyright (c) 1992-2001 The FreeBSD Project.
Nov 11 21:10:34 kitab /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Nov 11 21:10:34 kitab /kernel: The Regents of the University of California. All rights reserved.
Nov 11 21:10:34 kitab /kernel: FreeBSD 4.4-RELEASE #2: Tue Nov  6 10:50:53 PST 2001
Nov 11 21:10:34 kitab /kernel: raj@kitab.cisco.com:/usr/src/sys/compile/KITAB1
Nov 11 21:10:34 kitab /kernel: Timecounter "i8254"  frequency 1193182 Hz
Nov 11 21:10:34 kitab /kernel: CPU: Pentium/P55C (quarter-micron) (233.29-MHz 586-class CPU)
Nov 11 21:10:34 kitab /kernel: Origin = "GenuineIntel"  Id = 0x581  Stepping = 1
Nov 11 21:10:34 kitab /kernel: Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
Nov 11 21:10:34 kitab /kernel: real memory  = 67174400 (65600K bytes)
Nov 11 21:10:34 kitab /kernel: config> di sio1
Nov 11 21:10:34 kitab /kernel: config> di sio0
Nov 11 21:10:34 kitab /kernel: config> di ppc0
Nov 11 21:10:34 kitab /kernel: config> di sn0
Nov 11 21:10:34 kitab /kernel: config> di lnc0
Nov 11 21:10:34 kitab /kernel: config> di ie0
Nov 11 21:10:34 kitab /kernel: config> di fe0
Nov 11 21:10:34 kitab /kernel: config> di ed0
Nov 11 21:10:34 kitab /kernel: config> di cs0
Nov 11 21:10:34 kitab /kernel: config> di bt0
Nov 11 21:10:34 kitab /kernel: config> di ata1
Nov 11 21:10:34 kitab /kernel: config> di aic0
Nov 11 21:10:34 kitab /kernel: config> di aha0
Nov 11 21:10:34 kitab /kernel: config> di adv0
Nov 11 21:10:34 kitab /kernel: config> q
Nov 11 21:10:34 kitab /kernel: avail memory = 60784640 (59360K bytes)
Nov 11 21:10:34 kitab /kernel: Preloaded elf kernel "kernel" at 0xc0484000.
Nov 11 21:10:34 kitab /kernel: Preloaded userconfig_script "/boot/kernel.conf" at 0xc048409c.
Nov 11 21:10:34 kitab /kernel: Intel Pentium detected, installing workaround for F00F bug
Nov 11 21:10:34 kitab /kernel: md0: Malloc disk
Nov 11 21:10:34 kitab /kernel: Using $PIR table, 5 entries at 0xc00f8e80
Nov 11 21:10:34 kitab /kernel: apm0: <APM BIOS> on motherboard
Nov 11 21:10:34 kitab /kernel: apm: found APM BIOS v1.2, connected at v1.2
Nov 11 21:10:34 kitab /kernel: npx0: <math processor> on motherboard
Nov 11 21:10:34 kitab /kernel: npx0: INT 16 interface
Nov 11 21:10:34 kitab /kernel: pcib0: <Host to PCI bridge> on motherboard
Nov 11 21:10:34 kitab /kernel: pci0: <PCI bus> on pcib0
Nov 11 21:10:34 kitab /kernel: pci0: <NeoMagic MagicGraph 128XD SVGA controller> at 4.0
Nov 11 21:10:34 kitab /kernel: chip1: <Toshiba Fast Infra Red controller> port 0xffe0-0xffff irq 11 at device 17.0 on pci0
Nov 11 21:10:34 kitab /kernel: pci_cfgintr_virgin: using routable interrupt 3
Nov 11 21:10:34 kitab /kernel: pci_cfgintr: 0:19 INTA routed to irq 3
Nov 11 21:10:34 kitab /kernel: pcic0: <Toshiba ToPIC97 PCI-CardBus Bridge> irq 3 at device 19.0 on pci0
Nov 11 21:10:34 kitab /kernel: pcic0: PCI Memory allocated: 0x44000000
Nov 11 21:10:34 kitab /kernel: pccard0: <PC Card bus (classic)> on pcic0
Nov 11 21:10:34 kitab /kernel: pci_cfgintr_search: linked (1) to configured irq 3 at 0:19:0
Nov 11 21:10:34 kitab /kernel: pci_cfgintr: 0:19 INTB routed to irq 3
Nov 11 21:10:34 kitab /kernel: pcic1: <Toshiba ToPIC97 PCI-CardBus Bridge> irq 3 at device 19.1 on pci0
Nov 11 21:10:34 kitab /kernel: pcic1: PCI Memory allocated: 0x44001000
Nov 11 21:10:34 kitab /kernel: pccard1: <PC Card bus (classic)> on pcic1
Nov 11 21:10:34 kitab /kernel: isa0: <ISA bus> on motherboard
Nov 11 21:10:34 kitab /kernel: orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
Nov 11 21:10:34 kitab /kernel: fdc0: direction bit not set
Nov 11 21:10:34 kitab /kernel: fdc0: cmd 3 failed at out byte 1 of 3
Nov 11 21:10:34 kitab /kernel: ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
Nov 11 21:10:34 kitab /kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
Nov 11 21:10:34 kitab /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
Nov 11 21:10:34 kitab /kernel: kbd0 at atkbd0
Nov 11 21:10:34 kitab /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Nov 11 21:10:34 kitab /kernel: psm0: model Generic PS/2 mouse, device ID 0
Nov 11 21:10:34 kitab /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Nov 11 21:10:34 kitab /kernel: sc0: <System console> at flags 0x100 on isa0
Nov 11 21:10:34 kitab /kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Nov 11 21:10:34 kitab /kernel: ad0: 9590MB <IBM-DJSA-210> [19485/16/63] at ata0-master BIOSPIO
Nov 11 21:10:34 kitab /kernel: Mounting root from ufs:/dev/ad0s2a
Nov 11 21:10:34 kitab /kernel: pccard: card inserted, slot 1
Nov 11 21:10:35 kitab savecore: no core dump
Nov 11 21:10:35 kitab ntpd[154]: ntpd 4.0.99b Tue Sep 18 09:51:17 PDT 2001 (1)
Nov 11 21:10:35 kitab ntpd[154]: using kernel phase-lock loop 2040
Nov 11 21:10:35 kitab mountd[160]: gethostbyname failed for rjohnson-home-ss20
Nov 11 21:10:35 kitab mountd[160]: bad host rjohnson-home-ss20, skipping
Nov 11 21:10:35 kitab mountd[160]: bad exports list line /usr	rjohnson-home-ss20
Nov 11 21:10:42 kitab papd[247]: restart (1.5pre7)
Nov 11 21:10:42 kitab afpd[249]: main: atp_open: Can't assign requested address

Here's output from "pciconf -l" with it set to "pcic compatible":

kitab#pciconf -l
chip0@pci0:0:0: class=0x060000 card=0x00011179 chip=0x06011179 rev=0x2e hdr=0x00
none0@pci0:4:0: class=0x030000 card=0x00011179 chip=0x000410c8 rev=0x01 hdr=0x00
chip1@pci0:17:0:        class=0x078000 card=0x00011179 chip=0x07011179 rev=0x22 hdr=0x00

and here's output from "pciconf -l" with it set to "auto-selected":


chip0@pci0:0:0:	class=0x060000 card=0x00011179 chip=0x06011179 rev=0x2e hdr=0x00
none0@pci0:4:0:	class=0x030000 card=0x00011179 chip=0x000410c8 rev=0x01 hdr=0x00
chip1@pci0:17:0:	class=0x078000 card=0x00011179 chip=0x07011179 rev=0x22 hdr=0x00
pcic0@pci0:19:0:	class=0x060700 card=0x00011179 chip=0x060f1179 rev=0x20 hdr=0x02
pcic1@pci0:19:1:	class=0x060700 card=0x00011179 chip=0x060f1179 rev=0x20 hdr=0x02


I just don't know enough about PCMCIA and CardBus.  Can someone
enlighten me? 

Any help will be greatly appreciated.

/raj

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15343.30181.937921.21800>