Date: Thu, 23 Aug 2001 23:22:41 -0600 From: Warner Losh <imp@harmony.village.org> To: Ted Faber <faber@ISI.EDU> Cc: Kevin Oberman <oberman@es.net>, Michael Collette <metrol@earthlink.net>, FreeBSD <freebsd-mobile@FreeBSD.ORG>, FreeBSD <freebsd-stable@FreeBSD.ORG> Subject: Re: IRQ Problems with Stable Message-ID: <200108240522.f7O5MfW91255@harmony.village.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108240522.f7O5MfW91255>