Hi,

this tells the network layer that we can DMA from high memory
if the host controller supports it.

        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-06-24 00:37:32+02:00, [EMAIL PROTECTED]
  - enable 64bit DMA on platforms that support it


 kaweth.c |    5 +++++
 1 files changed, 5 insertions(+)


diff -Nru a/drivers/usb/net/kaweth.c b/drivers/usb/net/kaweth.c
--- a/drivers/usb/net/kaweth.c  Tue Jun 24 00:38:15 2003
+++ b/drivers/usb/net/kaweth.c  Tue Jun 24 00:38:15 2003
@@ -56,9 +56,11 @@
 #include <linux/usb.h>
 #include <linux/types.h>
 #include <linux/ethtool.h>
+#include <linux/pci.h>
 #include <asm/uaccess.h>
 #include <asm/semaphore.h>
 #include <asm/byteorder.h>
+#include <asm/dma-mapping.h>
 
 #define DEBUG
 
@@ -1078,6 +1080,9 @@
        SET_MODULE_OWNER(netdev);
 
        usb_set_intfdata(intf, kaweth);
+
+       if (dma_supported (&intf->dev, 0xffffffffffffffffULL))
+               kaweth->net->features |= NETIF_F_HIGHDMA;
 
        if (register_netdev(netdev) != 0) {
                kaweth_err("Error calling init_etherdev.");

===================================================================


This BitKeeper patch contains the following changesets:
1.1987
## Wrapped with gzip_uu ##


begin 664 bkpatch6461
M'XL(`%B!]SX``\5476O;,!1]MG[%A<)HZ6Q?2;;L>$MHUZ^$95OIVK=!D6TE
M-HD_L.6V`__X*4EI26F[K7N8D$#X2-?GG'O0#ERUJHFL:IG?J(;LP+AJ=629
M?=&EJG1*U2VZPJF:N<$NJLI@;E85RMU<<"\;I5IW([EMAIL PROTECTED](P
M<!M9U.$/7_3/6D76Q<[EMAIL PROTECTED](XR6<[5=Z5A."3QXB#MU-)9-)7,5K_L
M'^">(5)*F8_<%]3O6<BYUU.!<6JV*0L&LU@,R(;4P3/LMTMQ%'[EMAIL PROTECTED]/8HQ<P
M),=`'3H(`T#NHG"[EMAIL PROTECTED]/!R:=BG8"/Y!/[EMAIL PROTECTED](,J9;Q4(+PX
MUW#\Y1"J$NJEU+.J*5K0F=30=G5=-1IR33Z#$<#)^:.7Q/[+00A*)*-G!*3-
M2G7K=FU\WV0G>=3BX8!ASUE(>2^$2"EZ,DXD]5,1OF+85M52Z:W*IC6,,\8#
MMO)'L'"=DY=N/!^;M[-^+4&_8;T)%`8]<A'P=:#$X&F<F/<'<?+_;YPVKG\#
MN[E=3Y./\Q<;\(:L3?P0*-G)RV1II,/'95YV=VZ=Y$XV(A-!MT#9%FY:2+N0
M=9V7\_41BB$")S^(E<[EMAIL PROTECTED]"KOO\E+/[%&J;MX#WLV>C*OI=&^/6-:&
MOCTR4NS13$G=-:[EMAIL PROTECTED]>GU^/)V=AX]>'Q.4LRE2S:[EMAIL PROTECTED]'OI"I0GY
)!;[EMAIL PROTECTED]
`
end



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to