]> git.pld-linux.org Git - packages/eagle-usb.git/commitdiff
- small patch fixing badness in /proc/driver/eagle-usb/* on PPC
authoradasi <adasi@pld-linux.org>
Sat, 13 Mar 2004 11:30:03 +0000 (11:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eagle-usb-ppc.patch -> 1.1

eagle-usb-ppc.patch [new file with mode: 0644]

diff --git a/eagle-usb-ppc.patch b/eagle-usb-ppc.patch
new file mode 100644 (file)
index 0000000..9968c1f
--- /dev/null
@@ -0,0 +1,13 @@
+--- eagle-usb-1.9.6/driver/Sm.c~       2004-03-10 00:31:35.000000000 +0100
++++ eagle-usb-1.9.6/driver/Sm.c        2004-03-10 00:31:35.000000000 +0100
+@@ -877,8 +877,8 @@
+                         ENDCASE;
+                     case 9:  /* RATE.actual*/
+                         pAdiSM->XferRate0 = pMsg->data;
+-                        pAdiSM->DownRate = le16_to_cpu (pMsg->data>>16) *32*1024;
+-                        pAdiSM->UpRate = le16_to_cpu(pMsg->data&0xFFFF) *32*1024;
++                        pAdiSM->DownRate = (pMsg->data>>16) *32*1024;
++                        pAdiSM->UpRate = (pMsg->data&0xFFFF) *32*1024;
+                         
+                         if ( !EU_TEST_FLAG(ins,EU_LOW_RATE) )
+                         {
This page took 0.024886 seconds and 4 git commands to generate.