Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 16 guests | Time: 17:48
did we patched Kernel 2.6.21.1 for sis900?
paldo Support Forum    paldo    General Discussion
Reply Reply   Subscribe Topic Subscribe Topic
2 posts found.
 did we patched Kernel 2.6.21.1 for sis900?
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
Some user posted me problems with their sis chipsets, so it seems we didn't patched the kernel for sis900. I found here a patch:

http://marc.info/?l=linux-netdev&m=117761259222165&w=2

Code[In neuem Fenster öffnen]
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>


sis900.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)


diff --git a/drivers/net/sis900.c b/drivers/net/sis900.c
index a6a0f09..7e44939 100644
--- a/drivers/net/sis900.c
+++ b/drivers/net/sis900.c
@@ -1754,6 +1754,7 @@ static int sis900_rx(struct net_device *net_dev)
sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE;
} else {
struct sk_buff * skb;
+ struct sk_buff * rx_skb;

pci_unmap_single(sis_priv->pci_dev,
sis_priv->rx_ring[entry].bufptr, RX_BUF_SIZE,
@@ -1787,10 +1788,10 @@ static int sis900_rx(struct net_device *net_dev)
}

/* give the socket buffer to upper layers */
- skb = sis_priv->rx_skbuff[entry];
- skb_put(skb, rx_size);
- skb->protocol = eth_type_trans(skb, net_dev);
- netif_rx(skb);
+ rx_skb = sis_priv->rx_skbuff[entry];
+ skb_put(rx_skb, rx_size);
+ skb->protocol = eth_type_trans(rx_skb, net_dev);
+ netif_rx(rx_skb);

/* some network statistics */
if ((rx_status & BCAST) == MCAST)
-
Profile   Private Message   E-Mail
Created: 2007-05-24 12:30
Highlight selected Text   Edit   Delete   Quote Reply
 Re: did we patched Kernel 2.6.21.1 for sis900?
Administrator
 
 
 
Posts: 426
Registered: 2004-09-09
That's fixed in 2.6.21.2-paldo1 which is building right now.
Profile   Private Message   Web
Created: 2007-05-24 13:19
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a