small patch for unsigned char breakage in rtl8129 driver

From: Philip Blundell (philb@gnu.org)
Date: Sun Feb 11 2001 - 15:12:54 EST


--- linux/drivers/net/rtl8129.c Sat Nov 4 16:42:22 2000
+++ linux/drivers/net/rtl8129.c Sat Nov 4 16:48:21 2000
@@ -271,7 +271,7 @@ struct rtl8129_private {
         unsigned char *tx_bufs; /* Tx bounce buffer region. */
         dma_addr_t rx_ring_dma;
         dma_addr_t tx_bufs_dma;
- char phys[4]; /* MII device addresses. */
+ signed char phys[4]; /* MII device addresses. */
         char twistie, twist_cnt; /* Twister tune state. */
         unsigned int tx_full:1; /* The Tx queue is full. */
         unsigned int full_duplex:1; /* Full-duplex operation requested. */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:17 EST