Re: kernel panic with pccard insert on recent 7.0 CURRENT

From: ÎâÊåÀ¤ <wsk_at_gddsn.org.cn>
Date: Sun, 17 Jun 2007 15:53:54 +0800
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
> _at__at_ -1238,7 +1238,7 _at__at_
> 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 ;-)
Received on Sun Jun 17 2007 - 05:54:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC