From owner-freebsd-arch@FreeBSD.ORG Thu Nov 20 22:07:54 2014 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C6FF1EE; Thu, 20 Nov 2014 22:07:54 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1AD093EE; Thu, 20 Nov 2014 22:07:53 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id sAKM7quI098957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Nov 2014 14:07:53 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id sAKM7qHh098956; Thu, 20 Nov 2014 14:07:52 -0800 (PST) (envelope-from jmg) Date: Thu, 20 Nov 2014 14:07:52 -0800 From: John-Mark Gurney To: John Baldwin Subject: Re: I'd like to axe some drivers Message-ID: <20141120220752.GI24601@funkthat.com> Mail-Followup-To: John Baldwin , arch@freebsd.org References: <201411201631.27556.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201411201631.27556.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Thu, 20 Nov 2014 14:07:53 -0800 (PST) Cc: arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 22:07:54 -0000 John Baldwin wrote this message on Thu, Nov 20, 2014 at 16:31 -0500: > I'm >< close to removing timeout/untimeout from the tree. As part of this I > have updated several older drivers to use callout(9), but most of those > patches were untested. Keeping old code around that no one uses does add > future work as tree-wide API changes are made as well as things like locking > (note that several of these drivers weren't locked until I recently changed > them). To that end, here is my short list of things that I think we can bid > farewell to in 11. Note that many of these are for ISA devices. > > asr(4): This is a driver for a set of older Adaptec PCI RAID adapters. This > driver is _really_ crufty and is the only thing I didn't convert to > callout(9) because it has no notion of software state for a given > request. It is also 32-bit only since it stuff kernel pointers into > 32 bit fields in hardware-defined structures. > > mcd(4): This is a driver for a pre-ATAPI ISA CD-ROM adapter. As noted in > the manpage, this driver is only useful as a backend to cdcontrol to > play audio CDs since it doesn't use DMA, so its data performance is > "abysmal" (and that was true in the mid 90's). > > scd(4): Similar to mcd(4), this is a pre-ATAPI ISA CD-ROM adapter. (Note > that the more-popular matcd(4) driver that was used for the CD-ROM > controller on certain SoundBlaster cards was removed in 2002.) > > si(4): This is a driver for an older ISA/EISA/PCI multiport serial card. > It doesn't use bus_space. It was hacked up to use new tty, but > still uses Giant. I have a partial set of outstanding patches to > this to fix it to use bus_space, but when I sent them out for > testing on current and stable, no one replied. > > wds(4): This is an ISA SCSI HBA that does not use DMA (only PIO). I > actually had one of these a long time ago to use with a SCSI > ZIP drive. Even if I still have it in a box somewhere, I'm not > digging it out. > > wl(4): This is a driver for an ancient pre-802.11 wireless adapter. It > also includes wlconfig(8). Warner promises he won't test any > patches for this. It's older and slower than wi(4) and that driver > hasn't really worked in years. (One could make the case for axing > an(4) and wi(4) as well, but I'm just pushing for wl(4).) > > spic(4): At one point the Sony VAIO was "the" cool laptop, and this driver > controlled the "jogdial" found on it and presented it as a mouse. > This is a tiny driver and is less invasive in terms of future > maintenance than others perhaps, but my recent calls for testing > on current@ and stable@ found no takers. It's a fairly obscure > device and not one that exists on any recently shipped hardware. > > ie(4): Unfortunately, someone actually found one of these and tested it > several years ago when I added locking to it. It is the only ISA > NIC driver that doesn't have a pccard attachment (you can in theory > still use a pccard NIC in a cardbus slot (though not ExpressCard)). > This also only does 10Mb using PIO (no DMA). It doesn't use > bus_space. I'm fine w/ removing these... Should we do some house cleaning on amd64's GENERIC too? amd64's GENERIC has a lot of ISA or 100Mbit ethernet cards that are clearly not going to be used on these machines... My recommended list to remove: ae, bfe, dc, fxp, hme?, pcn, rl, tx, vr, wb, xl, cs, ed, ex, ep, fe, sn, xe All of these are modules, so if someone really needs them, they can load the module... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."