From owner-cvs-all Sun Jan 7 12:36:45 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BD6A737B400; Sun, 7 Jan 2001 12:36:27 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f07KaRA08995; Sun, 7 Jan 2001 12:36:27 -0800 (PST) (envelope-from imp) Message-Id: <200101072036.f07KaRA08995@freefall.freebsd.org> From: Warner Losh Date: Sun, 7 Jan 2001 12:36:27 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pccard pccard.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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