[Bug 341444] Re: SiS190 ethernet driver fails in 64 bits Kubuntu Jaunty.

Maci gergo.nemeth at gmail.com
Mon Jul 20 17:26:31 UTC 2009


It looks like something going to be happen:

Sérgio M Basto  from bugzilla.kernel.org posted a patch for sis190
driver which - hopefully - fix our problem with this driver with 64bit
kernel.

Here is the kernel git tree:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=744c6b2976778ac6944e580fc413842df85be84e

And the patch:
--- a/drivers/net/sis190.c
+++ b/drivers/net/sis190.c
@@ -539,8 +539,8 @@ static bool sis190_try_rx_copy(struct sis190_private *tp,
        if (!skb)
                goto out;
 
-       pci_dma_sync_single_for_device(tp->pci_dev, addr, pkt_size,
-                                      PCI_DMA_FROMDEVICE);
+       pci_dma_sync_single_for_cpu(tp->pci_dev, addr, tp->rx_buf_sz,
+                               PCI_DMA_FROMDEVICE);
        skb_reserve(skb, 2);
        skb_copy_to_linear_data(skb, sk_buff[0]->data, pkt_size);
        *sk_buff = skb;

Please commit this patch as soon as possible to the stable x86_64 Ubuntu
and Kubuntu kernels to start testing the fixed driver.

-- 
SiS190 ethernet driver fails in 64 bits Kubuntu Jaunty.
https://bugs.launchpad.net/bugs/341444
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.




More information about the kernel-bugs mailing list