Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 10:37:45 -0600
From:      Nate Williams <nate@yogotech.com>
To:        Warner Losh <imp@harmony.village.org>
Cc:        Ted Faber <faber@ISI.EDU>, 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:  <15238.33497.758163.433184@nomad.yogotech.com>
In-Reply-To: <200108240522.f7O5MfW91255@harmony.village.org>
References:  <20010823155520.U610@ted.isi.edu> <20010823110421.E610@ted.isi.edu> <200108231415.f7NEFMR21307@ptavv.es.net> <200108231601.f7NG1ZW85483@harmony.village.org> <200108232207.f7NM7qW88962@harmony.village.org> <200108240522.f7O5MfW91255@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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).

No joy on my ThinkPad.  It now hangs at bootup after applying this patch
and setting the variable 'hw.pcic.init_routing' to 1 in
/boot/loader.conf.

Is there an easy way of 'unsetting' the variable now?



Nate

> 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

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?15238.33497.758163.433184>