Hi, GFP_DMA has no place in USB drivers, as its meaning is inconsistent across architectures.
Regards Oliver You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the patch as usual. =================================================================== [EMAIL PROTECTED], 2003-08-06 00:31:53+02:00, [EMAIL PROTECTED] - no need for GFP_DMA pegasus.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -Nru a/drivers/usb/net/pegasus.c b/drivers/usb/net/pegasus.c --- a/drivers/usb/net/pegasus.c Wed Aug 6 00:32:31 2003 +++ b/drivers/usb/net/pegasus.c Wed Aug 6 00:32:31 2003 @@ -121,7 +121,7 @@ char *buffer; DECLARE_WAITQUEUE(wait, current); - buffer = kmalloc(size, GFP_DMA); + buffer = kmalloc(size, GFP_KERNEL); if (!buffer) { warn("%s: looks like we're out of memory", __FUNCTION__); return -ENOMEM; @@ -170,7 +170,7 @@ char *buffer; DECLARE_WAITQUEUE(wait, current); - buffer = kmalloc(size, GFP_DMA); + buffer = kmalloc(size, GFP_KERNEL); if (!buffer) { warn("%s: looks like we're out of memory", __FUNCTION__); return -ENOMEM; @@ -218,7 +218,7 @@ char *tmp; DECLARE_WAITQUEUE(wait, current); - tmp = kmalloc(1, GFP_DMA); + tmp = kmalloc(1, GFP_KERNEL); if (!tmp) { warn("%s: looks like we're out of memory", __FUNCTION__); return -ENOMEM; =================================================================== This BitKeeper patch contains the following changesets: 1.2153 ## Wrapped with gzip_uu ## begin 664 bkpatch22438 M'XL(`(`P,#\``[5476_30!!\]OV*E?H"*K9O[\Z?R"BE"06U0!3H,[+/EZ1* M[(O\`0+YQW.VI91``H4*R]*>O#OC\<[(9W!;JRJV]/;NLZK(&;S6=1-;YERT MN2J=4K6;MG!TM3*]A=:FYZYUH=P1X'ZLE*K=MLYLYGC$S,S31J[!M.K80H?O MGS1?=RJV%K.KVYN+!2%)`I?KM%RI#ZJ!)"'99I*W:NML*IVN^]=U^W;'*$5$ MYE'N^>AU+.1<=.C3+#?'G`71,O,C,@J:'%%^2,5I2`4&&&'4^2SR&)D"[EMAIL PROTECTED] M#I2[-'2I#Y3&'&./GU,64PJGJ>$<P:;D)3Q>_R618$.IH50JAZ6NX.K5_-/T M[06Y!E\P)LC\?F7$_LN+$)I2\N*(SKSJ/V[PT-VI55JWM2/O-0L:[EMAIL PROTECTED] M%G`A0RE%I&BXS,/?+.:`ME3-(77O@<<81\^01B+TAT"<A!P/R".$DU6E5I.1 M2NKB3V(#%F+((BJ,=X&[EMAIL PROTECTED],2'^)"[EMAIL PROTECTED],J[T/=C5E^$V]L]/;_<? MLC1%)@#)F[%86;M<[EMAIL PROTECTED]"+J>+=[-;IX^-Y"`#Y"A/`S" E&/:0L5A-L?MA'G\:WO]HY%K)3=T6B?2%)Z),D.^5Z'=>Y`0````` ` end ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel