patch-2.4.0-test11 linux/drivers/net/pcmcia/xircom_tulip_cb.c
Next file: linux/drivers/net/pppoe.c
Previous file: linux/drivers/net/pcmcia/Config.in
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Nov 7 11:09:19 2000
- Orig file:
v2.4.0-test10/linux/drivers/net/pcmcia/xircom_tulip_cb.c
- Orig date:
Tue Oct 31 12:42:26 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/net/pcmcia/xircom_tulip_cb.c linux/drivers/net/pcmcia/xircom_tulip_cb.c
@@ -466,7 +466,7 @@
restore_flags(flags);
return;
}
- newcsr6 &= 0x726cfeca; /* mask out the reserved CSR6 bits that always */
+ newcsr6 &= 0x726cfecb; /* mask out the reserved CSR6 bits that always */
/* read 0 on the Xircom cards */
newcsr6 |= 0x320c0000; /* or in the reserved bits that always read 1 */
currcsr6 = inl(ioaddr + CSR6);
@@ -1350,7 +1350,7 @@
tp->tx_ring[0].length = 0x08000000 | 192;
/* Lie about the address of our setup frame to make the */
/* chip happy */
- tp->tx_ring[0].buffer1 = (virt_to_bus(tp->setup_frame) + 4);
+ tp->tx_ring[0].buffer1 = virt_to_bus(tp->setup_frame);
tp->tx_ring[0].status = DescOwned;
tp->cur_tx++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)