From owner-cvs-all Wed Dec 12 10:22: 8 2001 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 86A5537B405; Wed, 12 Dec 2001 10:22:04 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id fBCIM3a86605; Wed, 12 Dec 2001 11:22:03 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id fBCIM2M37109; Wed, 12 Dec 2001 11:22:02 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200112121822.fBCIM2M37109@harmony.village.org> To: "Erik H. Bakke" Subject: Re: cvs commit: src/sys/dev/usb usbdevs.h usbdevs_data.h Cc: "Nick Hibma" , "Sheldon Hearn" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Wed, 12 Dec 2001 10:58:02 +0100." <001b01c182f3$7cbadf50$5b3bcbd5@breiflabb> References: <001b01c182f3$7cbadf50$5b3bcbd5@breiflabb> <20011212022504.T2265-100000@heather.subatomica.com> Date: Wed, 12 Dec 2001 11:22:02 -0700 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <001b01c182f3$7cbadf50$5b3bcbd5@breiflabb> "Erik H. Bakke" writes: : If the IDs were defined in the driver, using a USB framework supplied macro, : they could be easily extracted by a text processor tool, and this global : list could be generated from that. : : I think that would give us the best of both worlds. For pccard, we don't need a global list of all things (in fact, we don't generate one now). We use it for generation of the id numbers and cis strings. That's its real value. It automatically generates these things and so drivers are able, with a simple macro, to define the card, reguardless of the method needed to pick it. So doing something like that for pccard would be hard. I suspect that usb is similar. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message