Re: [PATCH] fastboot: Introduce an asynchronous function call mechanism

From: Willy Tarreau
Date: Sun Oct 12 2008 - 23:45:33 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/