From owner-freebsd-stable@FreeBSD.ORG Thu Aug 29 17:03:28 2013 Return-Path: Delivered-To: freebsd-stable@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 C0CD4F93 for ; Thu, 29 Aug 2013 17:03:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-oa0-f50.google.com (mail-oa0-f50.google.com [209.85.219.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 854352885 for ; Thu, 29 Aug 2013 17:03:28 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id i4so963619oah.9 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=J+LIp5wNGuLMCSiNH8wll8zjdfEuHCuN6gUeGP2tTMwNcNDuhnIMFfVAch7s2DKkVl 9VfGAmXeSFpX86EeeBjIq74L9xV1ivlEXrRpDbJlCG+YDK+7sNht3ukFCA1koD32bs9e KVN5gizMVK1OmhCtVNVXct3+jyogRzt5zdYAWQ+RoNGc17Vms5WFffSUrn0QSstoCJvp c1vjqOSFUVvcgz7b4zHuBUGzar+tADKSsZxJ6qhCUEoQDmnMwStnCij1aT15nuaCQlup 6kAUNj1H+AUJa5Sw78esB3wPLdJs1bZjvHvP7TRr0wXbrnU+rr3ZqS1aRr37YKtddZpE g3oQ== X-Gm-Message-State: ALoCoQnN/MIjjF4feX8penWD8CsakOSLtmwV7nmEghoFD6Wr7RVStT4YKCjW19LdYORXaeErI6Yy 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" , John Baldwin , Kimmo Paasiala , freebsd-current , freebsd-hardware@freebsd.org, Warner Losh X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 17:03:28 -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