Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2000 19:13:09 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Warner Losh <imp@village.org>
Cc:        smp@FreeBSD.ORG
Subject:   RE: Releasing interrupts?
Message-ID:  <XFMail.000930191309.jhb@FreeBSD.org>
In-Reply-To: <200009280749.BAA67360@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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: <TI PCI-1225 PCI-CardBus Bridge> 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: <TI PCI-1225 PCI-CardBus Bridge> 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 <jhb@FreeBSD.org> -- 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




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