kernel panic with pccard insert on recent 7.0 CURRENT

吴叔坤 wsk at gddsn.org.cn
Sun Jun 17 07:54:48 UTC 2007


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 ;-)


More information about the freebsd-current mailing list