From owner-freebsd-usb@FreeBSD.ORG Fri Mar 13 11:37:58 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16F24106568A; Fri, 13 Mar 2009 11:37:58 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id E6A2C8FC23; Fri, 13 Mar 2009 11:37:57 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 9F80A46B06; Fri, 13 Mar 2009 07:37:57 -0400 (EDT) Date: Fri, 13 Mar 2009 11:37:57 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Weongyo Jeong In-Reply-To: <20090217052121.GB86244@weongyo.cdnetworks.kr> Message-ID: References: <20090217052121.GB86244@weongyo.cdnetworks.kr> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: usb@freebsd.org, Hans Petter Selasky , thompsa@freebsd.org Subject: Re: USB support in NDIS -- IFF_NEEDSGIANT? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 11:37:58 -0000 On Tue, 17 Feb 2009, Weongyo Jeong wrote: >> As you know, I've been gradually working to eliminate all non-MPSAFE >> network device driver infrastructure for 8.0, having removed non-MPSAFE >> network protocol infrastructure in 7.0. In reviewing remaining drivers >> using IFF_NEEDSGIANT, I spotted this in the NDIS code: ... >> Having taken a glance, it looks like this was added specifically to support >> USB devices attached via NDIS. > > AFAIK all of usb wireless drivers had it so I couldn't avoid it when I had > implemented. > >> With the new USB code, are NDIS drivers still supported? > > I think that it would be supported at 8.0 > >> And in the new world order, is this IFF_NEEDSGIANT still required? > > Probably we can remove the IFF_NEEDSGIANT flags at the new USB code. > >> Can I simply remove it once the old USB code is on the way out the door? > > IMHO yes I think. Dear all: A few weeks have passed, so I wanted to check in and see how this project was going -- are we at a point yet where removing IFF_NEEDSGIANT won't cause significant loss of functionality? Thanks, Robert N M Watson Computer Laboratory University of Cambridge