From owner-cvs-src@FreeBSD.ORG Thu Jan 8 02:44:38 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B50A016A4CE; Thu, 8 Jan 2004 02:44:38 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E05B043D41; Thu, 8 Jan 2004 02:44:37 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i08Aib0B058832; Thu, 8 Jan 2004 02:44:37 -0800 (PST) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i08Aib1G058831; Thu, 8 Jan 2004 02:44:37 -0800 (PST) (envelope-from wpaul) Message-Id: <200401081044.i08Aib1G058831@repoman.freebsd.org> From: Bill Paul Date: Thu, 8 Jan 2004 02:44:37 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/ndis ndis_var.h src/sys/dev/if_ndis if_ndis.c if_ndisvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 10:44:38 -0000 wpaul 2004/01/08 02:44:37 PST FreeBSD src repository Modified files: sys/compat/ndis ndis_var.h sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: Correct the definition of the ndis_miniport_interrupt structure: the ni_dpccountlock member is an ndis_kspin_lock, not an ndis_spin_lock (the latter is too big). Run if_ndis.c:ndis_tick() via taskqueue_schedule(). Also run ndis_start() via taskqueue in certain circumstances. Using these tweaks, I can now get the Broadcom BCM5701 NDIS driver to load and run. Unfortunately, the version I have seems to suffer from the same bug as the SMC 83820 driver, which is that it creates a spinlock during its DriverEntry() routine. I'm still debating the right way to deal with this. Revision Changes Path 1.13 +9 -1 src/sys/compat/ndis/ndis_var.h 1.24 +34 -9 src/sys/dev/if_ndis/if_ndis.c 1.6 +2 -0 src/sys/dev/if_ndis/if_ndisvar.h