From owner-freebsd-hardware@FreeBSD.ORG Thu Aug 29 17:03:28 2013 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F2321F98 for ; Thu, 29 Aug 2013 17:03:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B706B2888 for ; Thu, 29 Aug 2013 17:03:28 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wo10so777842obc.27 for ; Thu, 29 Aug 2013 10:03:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=SJDQgzFwJfs4GkD0feBRAHCot6kR8PbIW029am1uuZw=; b=jy6tnHUZayOnO5ElIukA6veXRR8X6iLD6avhyD9qgf0ops51lsUb2ncL9nOyysAMWN QXykKRbQRDrWLbY+7HwWo+7hlX+gJ55c+sld4m3jIlXJZryEoM5mBLTslLOUZOoNQs3H lPDIL2bjBjTMmm6+ewS8M/+oKeskd5TMD0DUhiCSU2j5jdnJCU+oog0pwaT9ET0lNjJ/ xGUvULsfRvE1wxKZk56idGgH2YqGlzchkAsjwzcNcE62FXzENVfIxz8fdJmWK6aO2dC7 U7XvuX/ff6fRjPB6del47UlzuGEL0i98YR/SrlJ2XaeIHM/SFza+aKn9ay+0oFzaYL7V ybnA== X-Gm-Message-State: ALoCoQkqpDuY5LN6A/9TuvawFmpk54RMwOyyyKIWyeZEQzEXBW0P93sZZPX6wHZAB6oNE2HAaYLT X-Received: by 10.60.52.81 with SMTP id r17mr3360989oeo.3.1377795807801; Thu, 29 Aug 2013 10:03:27 -0700 (PDT) Received: from monkey-bot.int.fusionio.com ([209.117.142.2]) by mx.google.com with ESMTPSA id uz16sm32335159obc.5.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 Aug 2013 10:03:27 -0700 (PDT) Sender: Warner Losh Subject: Re: Why are cardbus drivers cbb(4) and pccard(4) still included in GENERIC? Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Thu, 29 Aug 2013 11:03:24 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <352C0CD1-909B-445A-A1F4-3942D3A3CE3B@bsdimp.com> References: <201308291054.02641.jhb@freebsd.org> To: Adrian Chadd X-Mailer: Apple Mail (2.1085) Cc: "freebsd-stable@freebsd.org" , Kimmo Paasiala , freebsd-current , freebsd-hardware@freebsd.org, Warner Losh X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 17:03:29 -0000 On Aug 29, 2013, at 10:14 AM, Adrian Chadd wrote: > .. after tinkering in the USB world, i wonder what's wrong with this: >=20 > * created a basic markup / description language to encapsulate what = PCI/USB probing requires; > * generated both config files _and_ .c / .h files for drivers to = include; > * have the kernel build process do .device_description -> .c/.h (for = compiling) ; devd.conf (for runtime loading); an elf section if you'd = like; and loader-mumble.conf (for loader autoloading.) It is needlessly complex? You seriously don't need 1/10th that = complexity. We've talked about solutions in the past. I even have something that = will automatically do the heavy lifting for compliant drivers (or did = before it decayed). What's needed is for someone to step in and drive it = to completion. Like I said, this has been talked to death at least half a dozen times. Warner