lkml.org 
[lkml]   [2008]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2008-10-13 05:47    [W:0.101 / U:5.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site