Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2007 15:53:54 +0800
From:      =?GB2312?B?zuLK5cCk?= <wsk@gddsn.org.cn>
To:        Hidetoshi Shimokawa <simokawa@FreeBSD.ORG>, current@freebsd.org, mobile@freebsd.org
Subject:   Re: kernel panic with pccard insert on recent 7.0 CURRENT
Message-ID:  <4674E892.8020201@gddsn.org.cn>
In-Reply-To: <626eb4530706160525o54234621s2de098e64cdeb4fe@mail.gmail.com>
References:  <46734A3E.3010903@gddsn.org.cn> <626eb4530706160525o54234621s2de098e64cdeb4fe@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hidetoshi Shimokawa Wrote:
> I think the following patch fix the problem.
>
> RCS file: /home/ncvs/src/sys/dev/pccard/pccard.c,v
> retrieving revision 1.118
> diff -u -r1.118 pccard.c
> --- pccard.c 31 May 2007 19:29:20 -0000 1.118
> +++ pccard.c 16 Jun 2007 12:23:35 -0000
> @@ -1238,7 +1238,7 @@
> if (pf->intr_filter != NULL || pf->intr_handler != NULL)
> panic("Only one interrupt handler per function allowed");
> err = bus_generic_setup_intr(dev, child, irq, flags, pccard_filter,
> - pccard_intr, pf, cookiep);
> + intr ? pccard_intr : NULL, pf, cookiep);
> if (err != 0)
> return (err);
> pf->intr_filter = filt;
>
yup, It work for me with your patch anyway. thanks for your patch and
help ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4674E892.8020201>