Date: Mon, 27 Aug 2001 01:00:21 -0600 From: Warner Losh <imp@harmony.village.org> To: Peter Jeremy <peter.jeremy@alcatel.com.au> Cc: FreeBSD Stable List <freebsd-stable@FreeBSD.ORG> Subject: Re: 4.4 RC safe for laptops now? Message-ID: <200108270700.f7R70MW16419@harmony.village.org> In-Reply-To: Your message of "Mon, 27 Aug 2001 16:29:11 %2B1000." <20010827162911.K506@gsmx07.alcatel.com.au> References: <20010827162911.K506@gsmx07.alcatel.com.au> <200108261249.f7QCnM821461@panix1.panix.com> <200108262244.f7QMisW13936@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010827162911.K506@gsmx07.alcatel.com.au> Peter Jeremy writes: : I've now updated to about 16 hours ago - this includes : /sys/pccard/pcic_pci.c 1.54.2.10. I can now eject and insert cards : without hangs, but still no interrupt handling. I've tried: 16 hours ago is too old. You want: >>imp 2001/08/26 18:00:28 PDT >> >> Modified files: >> sys/pccard pcic_pci.c >> Log: >> A number of fixes for the TI-1130 and ISA interrupt routing cases: >> >> o For TI PCI-1130, you need to set bit 5 of register 91 if you want >> ANY pci interrupts. Then set bits 3 and/or 4 as appropriate. This >> will fix those people with 1030, 1130 and 1131 in their machines >> trying to do PCI interrupts. >> o Fix case where we were trying to automatically fail back to ISA >> interrupt routing. We were dereferencing a NULL pointer. This >> was true of ANY chipset. >> o The bus_setup_intr method needs to be pcic_setup_intr so that "FAST" >> interrupts fail on PCI case (modems act flakey if we don't force >> them to fall back to normal interrupts). Also needed so that the >> proper ISA IRQ can be set in the ExCA register. This fixes the >> people whose ISA routing was failing[*]. >> o When we find a generic yenta/pccard bridge, go ahead and print its >> vendor ID in boot verbose. >> >> Machine with theses symptoms and a serial console by: jedgar >> >> [*] Looks like my pc98 machine has some interrupt source on IRQ 15 >> that gave about 30 interrupts per second, which masked this problem on >> my PC-9821Nr15. >> >> Revision Changes Path >> 1.82 +24 -14 src/sys/pccard/pcic_pci.c which is only about 12 hours old :-) . Notice the first item. That's almost certainly why you aren't getting function interrupts. I was turning off the route function interrupts to PCI bit, but selecting no other interrupts via the ExCA registers. Result, no interrupts. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108270700.f7R70MW16419>