From owner-freebsd-stable Thu Aug 23 22:22:53 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id BFCF237B40C; Thu, 23 Aug 2001 22:22:43 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f7O5Mgq51133; Thu, 23 Aug 2001 23:22:42 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f7O5MfW91255; Thu, 23 Aug 2001 23:22:41 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200108240522.f7O5MfW91255@harmony.village.org> To: Ted Faber Subject: Re: IRQ Problems with Stable Cc: Kevin Oberman , Michael Collette , FreeBSD , FreeBSD In-reply-to: Your message of "Thu, 23 Aug 2001 15:55:20 PDT." <20010823155520.U610@ted.isi.edu> References: <20010823155520.U610@ted.isi.edu> <20010823110421.E610@ted.isi.edu> <200108231415.f7NEFMR21307@ptavv.es.net> <200108231601.f7NG1ZW85483@harmony.village.org> <20010823110421.E610@ted.isi.edu> <200108232207.f7NM7qW88962@harmony.village.org> Date: Thu, 23 Aug 2001 23:22:41 -0600 From: Warner Losh Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010823155520.U610@ted.isi.edu> Ted Faber writes: : > Right. Using PCI interrupts means you don't get a choice. You must : > use the shared interrupt pin. : : OK. Does this place requirements on the driver that I'm not aware of : (which would be any requirements)? I'm using ed0. Nope. : > : Here's a dmesg -v showing the boot and card insertion, the kernel : > : config file, and the /etc/pccard.conf . I think everything else is : > : recent -STABLE. : > : : > : Let me know if there are things I can try or any way to help out. : > : : > : And I know you're working enormously hard on the PCCARD stuff, and I : > : really appreciate all your work. Thanks. : > : > Try hw.pcic.init_route=1 in your /boot/loader.conf file. : : I tried that, and hw.pcic.init_routing=1 as well. :-) No luck. :-( OK. : > : > If that doesn't work, I'll try a Friend's Lifebook C-5120 (or maybe it : > is a 5130) tonight. : : Great. Is there any other information I can give you to make this : easier? OK. I have a fix that might work. But I think this fix will correct a different problem (the hanging on boot on Thinkpad laptops with hw.pcic_init_routing=1). Warner Index: pcic_pci.c =================================================================== RCS file: /cache/ncvs/src/sys/pccard/pcic_pci.c,v retrieving revision 1.54.2.8 diff -u -r1.54.2.8 pcic_pci.c --- pcic_pci.c 2001/08/23 07:57:14 1.54.2.8 +++ pcic_pci.c 2001/08/24 05:13:13 @@ -672,6 +672,13 @@ sc->csc_route = pcic_intr_path; sc->func_route = pcic_intr_path; + /* + * Turn off the power to the slot before we do anything + * with it. + */ + sp->putb(sp, PCIC_INT_GEN, 0); + sp->putb(sp, PCIC_POWER, 0); + switch (device_id) { case PCI_DEVICE_ID_RICOH_RL5C465: case PCI_DEVICE_ID_RICOH_RL5C466: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message