patch-2.4.25 linux-2.4.25/drivers/net/pcmcia/xircom_cb.c

Next file: linux-2.4.25/drivers/net/pppoe.c
Previous file: linux-2.4.25/drivers/net/pcmcia/pcnet_cs.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/net/pcmcia/xircom_cb.c linux-2.4.25/drivers/net/pcmcia/xircom_cb.c
@@ -341,6 +341,11 @@
 	printk("tx status 0x%08x 0x%08x \n",card->tx_buffer[0],card->tx_buffer[4]);
 	printk("rx status 0x%08x 0x%08x \n",card->rx_buffer[0],card->rx_buffer[4]);
 #endif	
+	/* Handle shared irq and hotplug */
+	if (status == 0 || status == 0xffffffff) {
+		spin_unlock(&card->lock);
+		return;
+	}
 
 	if (link_status_changed(card)) {
 		int newlink;

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