From owner-freebsd-smp Sat Sep 30 19:13:17 2000 Delivered-To: freebsd-smp@freebsd.org Received: from mail.rdc1.va.home.com (ha1.rdc1.va.home.com [24.2.32.66]) by hub.freebsd.org (Postfix) with ESMTP id 7CB2B37B691 for ; Sat, 30 Sep 2000 19:13:09 -0700 (PDT) Received: from laptop.baldwin.cx ([24.6.244.187]) by mail.rdc1.va.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20001001021308.NTMC26082.mail.rdc1.va.home.com@laptop.baldwin.cx>; Sat, 30 Sep 2000 19:13:08 -0700 Content-Length: 2519 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: <200009280749.BAA67360@harmony.village.org> Date: Sat, 30 Sep 2000 19:13:09 -0700 (PDT) From: John Baldwin To: Warner Losh Subject: RE: Releasing interrupts? Cc: smp@FreeBSD.ORG Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 28-Sep-00 Warner Losh wrote: > I've also noticed that with OLDCARD when I eject a card and insert > another card that the new card doesn't get interrupts. This is with > drivers that are known goon and worked before. Grr. I'd test it on my laptop, but pccard isnt' attaching to my pcic_pci controller. I've tried the following patch but no go: Index: pccard/pccard_nbk.c =================================================================== RCS file: /usr/cvs/src/sys/pccard/pccard_nbk.c,v retrieving revision 1.23 diff -u -r1.23 pccard_nbk.c --- pccard/pccard_nbk.c 2000/09/28 07:22:30 1.23 +++ pccard/pccard_nbk.c 2000/09/28 16:19:48 @@ -390,4 +390,5 @@ DRIVER_MODULE(pccard, pcic, pccard_driver, pccard_devclass, 0, 0); DRIVER_MODULE(pccard, pc98pcic, pccard_driver, pccard_devclass, 0, 0); DRIVER_MODULE(pccard, cbb, pccard_driver, pccard_devclass, 0, 0); +DRIVER_MODULE(pccard, pcic_pci, pccard_driver, pccard_devclass, 0, 0); MODULE_VERSION(pccard, 1); cvs diff: Diffing dev/pccard Index: dev/pccard/pccard.c =================================================================== RCS file: /usr/cvs/src/sys/dev/pccard/pccard.c,v retrieving revision 1.18 diff -u -r1.18 pccard.c --- dev/pccard/pccard.c 2000/09/22 01:15:26 1.18 +++ dev/pccard/pccard.c 2000/09/28 03:15:01 @@ -789,5 +789,6 @@ DRIVER_MODULE(pccard, pc98pcic, pccard_driver, pccard_devclass, 0, 0); DRIVER_MODULE(pccard, pccbb, pccard_driver, pccard_devclass, 0, 0); DRIVER_MODULE(pccard, tcic, pccard_driver, pccard_devclass, 0, 0); +DRIVER_MODULE(pccard, pcic_pci, pccard_driver, pccard_devclass, 0, 0); MODULE_VERSION(pccard, 1); MODULE_DEPEND(pccard, pcic, 1, 1, 1); dmesg output: pcic-pci0: at device 4.0 on pci0 pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci 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 pci int + CSC serial isa irq] > I've not tried to debug this, but since the interrupt threads went in > with the latest SMPng I thought I'd post here. If this is the wrong > place, lemme know. > > I'll debug it later today. Dang. I had hoped to get NEWCARD > probe/attaching cards tonight. Such is the price of current. > > Warner -- 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-smp" in the body of the message