From owner-freebsd-arch@FreeBSD.ORG Wed Sep 6 03:52:28 2006 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 515ED16A4DE for ; Wed, 6 Sep 2006 03:52:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id B48DD43D4C for ; Wed, 6 Sep 2006 03:52:27 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k863oSL2018810 for ; Tue, 5 Sep 2006 21:50:28 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 05 Sep 2006 21:50:47 -0600 (MDT) Message-Id: <20060905.215047.-494097326.imp@bsdimp.com> To: arch@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 05 Sep 2006 21:50:28 -0600 (MDT) Cc: Subject: USB changes X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 03:52:28 -0000 The time has come to reduce the #ifdefs that have grown to infest the usb code. The other BSDs have already done this to a greater or lessor extent. Many of the #ifdef sections have decayed and no longer work on the target system. There's been a number of cases where bugs have resulted, and they generally make the code harder to read and understand. I'd like to remove many of the ifdefs, as well as expand many of the portability hacks that are there. I'll do my best to make sure that each of the changes bring the files closer to style(9) as well as not change the md5 of the .o file. Comments? Warner