patch-2.4.21 linux-2.4.21/drivers/net/macmace.c
Next file: linux-2.4.21/drivers/net/mii.c
Previous file: linux-2.4.21/drivers/net/mac8390.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-06-13 07:51:35.000000000 -0700
- Orig file:
linux-2.4.20/drivers/net/macmace.c
- Orig date:
2002-11-28 15:53:14.000000000 -0800
diff -urN linux-2.4.20/drivers/net/macmace.c linux-2.4.21/drivers/net/macmace.c
@@ -332,8 +332,8 @@
return -ENOMEM;
}
- mp->rx_ring_phys = (unsigned char *) virt_to_bus(mp->rx_ring);
- mp->tx_ring_phys = (unsigned char *) virt_to_bus(mp->tx_ring);
+ mp->rx_ring_phys = (unsigned char *) virt_to_bus((void *)mp->rx_ring);
+ mp->tx_ring_phys = (unsigned char *) virt_to_bus((void *)mp->tx_ring);
/* We want the Rx buffer to be uncached and the Tx buffer to be writethrough */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)