Update of /cvsroot/alsa/alsa-driver/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11593/alsa-driver/include
Modified Files: adriver.h Log Message: add usb_device->speed wrapper for compiling with 2.2.x kernels Index: adriver.h =================================================================== RCS file: /cvsroot/alsa/alsa-driver/include/adriver.h,v retrieving revision 1.78 retrieving revision 1.79 diff -u -r1.78 -r1.79 --- adriver.h 23 Mar 2004 12:48:18 -0000 1.78 +++ adriver.h 29 Mar 2004 12:33:37 -0000 1.79 @@ -355,6 +355,15 @@ #define usb_pipe_needs_resubmit(pipe) (!usb_pipeint(pipe)) #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 3, 0) +enum { + USB_SPEED_UNKNOWN = 0, + USB_SPEED_LOW, USB_SPEED_FULL, + USB_SPEED_HIGH +}; +#define snd_usb_get_speed(dev) USB_SPEED_FULL +#endif + #endif /* SND_NEED_USB_WRAPPER && CONFIG_USB */ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 24) \ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog