From owner-freebsd-mobile Mon Jun 4 17: 4:25 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 87AFA37B401 for ; Mon, 4 Jun 2001 17:04:21 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id f5504EK56413; Mon, 4 Jun 2001 17:04:14 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.11.1/8.11.1) id f5504Cv72980; Mon, 4 Jun 2001 17:04:12 -0700 (PDT) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200106040701.f5471oE20963@harmony.village.org> Date: Mon, 04 Jun 2001 17:04:12 -0700 (PDT) From: John Baldwin To: Warner Losh Subject: RE: HEADS UP: PCI card support added to OLDCARD Cc: mobile@FreeBSD.ORG 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 On 04-Jun-01 Warner Losh wrote: > I've added pci card support to OLDCARD. I've changed the default > interrupt routing for both manamement (aka CSC) interrupts and for > function interrupts. I'm using it right now. > > One important thing to NOTE. You must now use the same IRQ for > manangement and function interrupts. The management interrupt is > another matter. You will need to boot the machine once to find the > irq, and add it to your /etc/pccard.conf. I hope to correct this > problem soon. I didn't touch /etc/pccard.conf, but changed my pccardd_flags line from "-i 3 -i 11" to "-I -i 11" and recompiled pccardd. When I insert a card I get an interrupt storm until I eject the card. The good news is that newcard works fairly well on my laptop atm for PCMCIA cards at least. :) Oldcard messages: pci_cfgintr_unique: hard-routed to irq 11 pci_cfgintr: 0:4 INTA routed to irq 11 pcic0: irq 11 at device 4.0 on pci0 pcic0: PCI Memory allocated: 0x44000000 pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][pci only] pccard0: on pcic0 pci_cfgintr_unique: hard-routed to irq 11 pci_cfgintr: 0:4 INTA routed to irq 11 pcic1: irq 11 at device 4.1 on pci0 pcic1: PCI Memory allocated: 0x44001000 pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][pci only] pccard1: on pcic1 Newcard messages: pccbb0: mem 0x44000000-0x44000fff at device 4.0 on p ci0 pci_cfgintr_unique: hard-routed to irq 11 pci_cfgintr: 0:4 INTA routed to irq 11 cardbus0: on pccbb0 pccard0: <16-bit PCCard bus> on pccbb0 pccbb1: mem 0x44001000-0x44001fff at device 4.1 on p ci0 pci_cfgintr_unique: hard-routed to irq 11 pci_cfgintr: 0:4 INTA routed to irq 11 cardbus1: on pccbb1 pccard1: <16-bit PCCard bus> on pccbb1 ... wi0: at port 0x100-0x13f irq 11 function 0 config 1 on pccard0 wi0: Ethernet address: 00:02:2d:0d:1d:67 Old oldcard messages: pcic-pci0: at device 4.0 on pci0 pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC p ci int + CSC serial isa irq] pcic-pci1: at device 4.1 on pci0 pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC p ci int + CSC serial isa irq] pcic0: at port 0x3e0 iomem 0xd0000 irq 10 on isa0 pccard0: on pcic0 pccard1: on pcic0 pcic0: management irq 10 ... pccard: card inserted, slot 0 wi0 at port 0x240-0x27f irq 3 slot 0 on pccard0 wi0: Ethernet address: 00:02:2d:0d:1d:67 -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message