patch-2.2.17 linux/drivers/net/hd6457x.c

Next file: linux/drivers/net/hdlc.c
Previous file: linux/drivers/net/hd64570.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.16/drivers/net/hd6457x.c linux/drivers/net/hd6457x.c
@@ -342,7 +342,7 @@
 	
 #ifdef DEBUG_PKT
 				printk(KERN_DEBUG "%s RX:", port->hdlc.name);
-				for (i=920; i<skb->len; i++)
+				for (i=0; i<skb->len; i++)
 					printk(" %02X", skb->data[i]);
 				printk("\n");
 #endif
@@ -406,7 +406,7 @@
 	u8 stat;
 
 #ifndef ALL_PAGES_ALWAYS_MAPPED
-	u8 page = get_page(card);
+	u8 page = sca_get_page(card);
 #endif
   
 	while((stat = sca_intr_status(card)) != 0) {
@@ -606,7 +606,7 @@
 #ifdef DEBUG_RINGS
 	default:
 #if !defined(PAGE0_ALWAYS_MAPPED) && !defined(ALL_PAGES_ALWAYS_MAPPED)
-		page=get_page(card);
+		page=sca_get_page(card);
 		openwin(card, 0);
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)