2001-02-11 20:13:41

by Phil Blundell

[permalink] [raw]
Subject: small patch for unsigned char breakage in rtl8129 driver

--- 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. */



2001-02-11 20:31:22

by Alan

[permalink] [raw]
Subject: Re: small patch for unsigned char breakage in rtl8129 driver

> - char phys[4]; /* MII device addresses. */
> + signed char phys[4]; /* MII device addresses. */

8129 is deprecated for the current 8139too driver which is the only stable
driver for it. Does 8139too (from current -ac) work on ARM ?

2001-02-11 20:55:56

by Jeff Garzik

[permalink] [raw]
Subject: Re: small patch for unsigned char breakage in rtl8129 driver

Alan Cox wrote:
>
> > - char phys[4]; /* MII device addresses. */
> > + signed char phys[4]; /* MII device addresses. */
>
> 8129 is deprecated for the current 8139too driver which is the only stable
> driver for it. Does 8139too (from current -ac) work on ARM ?

I've gotten at least one report that it does

Jeff


--
Jeff Garzik | "You see, in this world there's two kinds of
Building 1024 | people, my friend: Those with loaded guns
MandrakeSoft | and those who dig. You dig." --Blondie