Date: Sun, 7 Jan 2001 12:36:27 -0800 (PST) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pccard pccard.c Message-ID: <200101072036.f07KaRA08995@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2001/01/07 12:36:27 PST
Modified files:
sys/dev/pccard pccard.c
Log:
For bus_setup_intr, cookiep is a pointer to storage for the parent
bus to use. We need to set it here.
This fixes the problem where a probe routine establishes and
disestablishes the interrupt and then we get a panic in the probe
routine.
However, we pass the pointer to the interrupt hanlder count to the
parent bus, which writes its own cookie there, so there may be some
problems with that which isn't apparent at the moment.
Commit made from: laptop running NEWCARD with sn driver (which works,
but gets the wrong ethernet address).
Revision Changes Path
1.32 +2 -2 src/sys/dev/pccard/pccard.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101072036.f07KaRA08995>
