Messages in this thread | | | Date | Mon, 13 Oct 2008 05:44:14 +0200 | From | Willy Tarreau <> | Subject | Re: [PATCH] fastboot: Introduce an asynchronous function call mechanism |
| |
Hi Arjan,
On Sun, Oct 12, 2008 at 07:44:27PM -0400, Arjan van de Ven wrote: > +#define ASYNC_POOL_SCSI 0 /* for everything using the scsi device space */ > +#define ASYNC_POOL_IDE 1 /* for everything using the ide device space */ > +#define ASYNC_POOL_USB 2 /* for everything using the usb device space */ > +#define ASYNC_POOL_MISC 4 /* for everything using the misc device space */ > +#define ASYNC_POOL_SOUND 5 /* for everything using the ALSA device space */ > +#define ASYNC_POOL_AGP 6 /* for everything using the AGP device space */ > +#define ASYNC_MAX_POOL 7
I suspect this list will grow with more general adoption. Wouldn't it be better to use an enum above ?
Willy
| |