From owner-freebsd-mobile Tue Aug 28 17:15:22 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id 5AB0F37B403 for ; Tue, 28 Aug 2001 17:15:07 -0700 (PDT) (envelope-from jose@we.lc.ehu.es) Received: from v-ger.we.lc.ehu.es (lxpx457.lx.ehu.es [158.227.27.103]) by polaris.we.lc.ehu.es (8.11.6/8.11.6) with ESMTP id f7T0EuL26292; Wed, 29 Aug 2001 02:14:56 +0200 (MET DST) Received: (from jose@localhost) by v-ger.we.lc.ehu.es (8.11.6/8.11.6) id f7SNebL09633; Wed, 29 Aug 2001 01:40:37 +0200 (CEST) (envelope-from jose) Date: Wed, 29 Aug 2001 01:40:37 +0200 From: "Jose M. Alcaide" To: Warner Losh Cc: mobile@FreeBSD.ORG Subject: Re: MFC: ISA routing support [REPORT] Message-ID: <20010829014037.A551@v-ger.we.lc.ehu.es> References: <200108260507.f7Q570W08734@harmony.village.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="gKMricLos+KVdGMg" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200108260507.f7Q570W08734@harmony.village.org>; from imp@harmony.village.org on Sat, Aug 25, 2001 at 11:06:59PM -0600 X-Operating-System: FreeBSD 4.4-RC Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello Warner, I have just updated my laptop (Dell Inspiron 3700) to 4.4-RC. Well, the new PCI irq routing seems to work. However, I have two questions: 1. On this machine, IRQ 11 is shared among the VGA, pcic0, pcic1 and the USB controller. Now, when I insert my PCMCIA modem card, it also gets IRQ 11 assigned. I know that the PCI bus supports irq sharing, but... should I worry about sio(4) _also_ sharing IRQ 11? 2. When using PCI irq routing, I see this message after inserting my modem card: sio2: unable to activate interrupt in fast mode - using normal mode However, if I set hw.pcic.intr_path=1, that message does not appear. Is this the expected behavior? Attached you can find the "boot -v" output, the messages shown when I insert/remove the modem card, and the output of "pciconf -l". Maybe you could find this information valuable. BTW, here is yet another entry for pccard.conf: # Xircom CreditCard Modem card "Xircom" "Modem 56 V3" config auto "sio" ? Cheers, JMA -- ****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ****** ** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein ** --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="boot-v.txt" Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RC #0: Tue Aug 28 19:34:07 CEST 2001 toor@v-ger.we.lc.ehu.es:/usr/obj/usr/src/sys/V-GER Calibrating clock(s) ... TSC clock: 431390545 Hz, i8254 clock: 1193214 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium II/Pentium II Xeon/Celeron (431.38-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff real memory = 134066176 (130924K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x002c9000 - 0x07fd2fff, 131112960 bytes (32010 pages) avail memory = 127885312 (124888K bytes) bios32: Found BIOS32 Service Directory header at 0xc00ffe80 bios32: Entry = 0xffe90 (c00ffe90) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xc0ae pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f0000:e2f4 Rev = 1.0 pnpbios: Event flag at 4b4 Other BIOS signatures found: ACPI: 000f42a0 Preloaded elf kernel "kernel" at 0xc02a3000. Preloaded elf module "snd_maestro.ko" at 0xc02a30a8. Preloaded elf module "snd_pcm.ko" at 0xc02a314c. Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 pci_open(1): mode 1 addr port (0x0cf8) is 0x80003ac0 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086) Using $PIR table, 6 entries at 0xc00fbd20 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x8086, dev=0x7190, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base f4000000, size 26 found-> vendor=0x8086, dev=0x7191, revid=0x03 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x104c, dev=0xac1c, revid=0x01 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 found-> vendor=0x104c, dev=0xac1c, revid=0x01 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 found-> vendor=0x8086, dev=0x7110, revid=0x02 class=06-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7111, revid=0x01 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 00000860, size 4 found-> vendor=0x8086, dev=0x7112, revid=0x01 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=11 map[20]: type 1, range 32, base 0000dce0, size 5 found-> vendor=0x8086, dev=0x7113, revid=0x02 class=06-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[90]: type 1, range 32, base 00000840, size 4 found-> vendor=0x125d, dev=0x1978, revid=0x10 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=5 map[10]: type 1, range 32, base 0000d800, size 8 pci0: on pcib0 pcib1: at device 1.0 on pci0 found-> vendor=0x1002, dev=0x4c4d, revid=0x64 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base fd000000, size 24 map[14]: type 1, range 32, base 0000ec00, size 8 map[18]: type 1, range 32, base fcfff000, size 12 pci1: on pcib1 pci1: (vendor=0x1002, dev=0x4c4d) at 0.0 irq 11 pcic0: irq 11 at device 3.0 on pci0 pcic0: PCI Memory allocated: 0x44000000 pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq] pccard0: on pcic0 pcic1: irq 11 at device 3.1 on pci0 pcic1: PCI Memory allocated: 0x44001000 pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq] using shared irq11. pccard1: on pcic1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x860-0x86f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0860 ata0: mask=03 status0=50 status1=00 ata0: mask=03 ostat0=50 ostat2=00 ata0-slave: ATAPI probe a=00 b=00 ata0-master: ATAPI probe a=00 b=00 ata0: mask=03 status0=50 status1=00 ata0-master: ATA probe a=01 b=a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0868 ata1: mask=03 status0=50 status1=00 ata1: mask=03 ostat0=50 ostat2=00 ata1-master: ATAPI probe a=14 b=eb ata1-slave: ATAPI probe a=7f b=7f ata1: mask=03 status0=00 status1=00 ata1: devices=04 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x7112) at 7.2 irq 11 chip1: port 0x840-0x84f at device 7.3 on pci0 pcm0: port 0xd800-0xd8ff irq 5 at device 8.0 on pci0 setmap (f000, 4000), nseg=1, error=0 pcm0: Maestro DMA base: 0xf000 pcm0: ac97 codec id 0x83847609 (SigmaTel STAC9721/9723) pcm0: ac97 codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, SigmaTel 3D Enhancement pcm0: ac97 primary codec extended features AMAP setmap (17000, 4000), nseg=1, error=0 pcm0: pch[0].offset = 0x8000 setmap (1f000, 4000), nseg=1, error=0 pcm0: pch[1].offset = 0x10000 setmap (27000, 4000), nseg=1, error=0 pcm0: pch[2].offset = 0x18000 setmap (2f000, 4000), nseg=1, error=0 pcm0: pch[3].offset = 0x20000 pcic-: pcic0 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: