From owner-freebsd-hackers Tue Feb 19 13:38:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 5F61337B402 for ; Tue, 19 Feb 2002 13:38:41 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 3DED9AE27F; Tue, 19 Feb 2002 13:38:41 -0800 (PST) Date: Tue, 19 Feb 2002 13:38:41 -0800 From: Alfred Perlstein To: hackers@freebsd.org Cc: tech-kern@netbsd.org Subject: USB structure rename Message-ID: <20020219213841.GR12136@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I plan on committing the following delta to FreeBSD: http://www.mu.org/~bright/usb.diff The idea is to rename the structure fields within the USB ioctl range to match what's commonly used, basically the prefix is added as necessary. The main reason this came about is the 'class' field in one of the structures breaks including the file for c++ programs. There's two alternatives to the rename: 1) rename the just the one 'class' field to 'clss'. (yuck) 2) #ifdef __cplusplus the 'class' field to '_class'. (yuck) Let's not make this a larger deal than necessary so I'm really only interested in hearing from people who: a) work on the FreeBSD USB stack. b) work on the NetBSD USB stack. c) have substantial effort invested in the current scheme. I am not interested in people who think they represent those of 'c' but who actually don't have any code using the USB stack. I'd really like to maintain source compatiblity with NetBSD so let's come to some sort of agreement please? I can even do the delta for NetBSD if it will be accepted. thanks, -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message