Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 11:22:02 -0700
From:      Warner Losh <imp@harmony.village.org>
To:        "Erik H. Bakke" <ebakke@trolltech.com>
Cc:        "Nick Hibma" <n_hibma@webweaving.org>, "Sheldon Hearn" <sheldonh@starjuice.net>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/usb usbdevs.h usbdevs_data.h 
Message-ID:  <200112121822.fBCIM2M37109@harmony.village.org>
In-Reply-To: Your message of "Wed, 12 Dec 2001 10:58:02 %2B0100." <001b01c182f3$7cbadf50$5b3bcbd5@breiflabb> 
References:  <001b01c182f3$7cbadf50$5b3bcbd5@breiflabb>  <20011212022504.T2265-100000@heather.subatomica.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112121822.fBCIM2M37109>