[PATCH] Re: Problem with SMC Etherpower II + kernel newer 2.4.2

Jeff Garzik (jgarzik@mandrakesoft.com)
Fri, 06 Jul 2001 08:59:12 -0400


This is a multi-part message in MIME format.
--------------2280F15F93A1707F47983FF9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Here is the patch I have in CVS, against kernel 2.4.7-pre3.

-- 
Jeff Garzik      | A recent study has shown that too much soup
Building 1024    | can cause malaise in laboratory mice.
MandrakeSoft     |
--------------2280F15F93A1707F47983FF9
Content-Type: text/plain; charset=us-ascii;
 name="epic100-2.4.7.3.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="epic100-2.4.7.3.patch"

--- /spare/tmp/linux-2.4.7-pre3/drivers/net/epic100.c Mon Jul 2 21:03:04 2001 +++ linux/drivers/net/epic100.c Fri Jul 6 12:56:40 2001 @@ -48,13 +48,16 @@ * ethtool driver info support (jgarzik) LK1.1.9: - * MII ioctl support (jgarzik) + * ethtool media get/set support (jgarzik) + + LK1.1.10: + * revert MII transceiver init change (jgarzik) */ #define DRV_NAME "epic100" -#define DRV_VERSION "1.11+LK1.1.9" -#define DRV_RELDATE "July 2, 2001" +#define DRV_VERSION "1.11+LK1.1.10" +#define DRV_RELDATE "July 6, 2001" /* The user-configurable values. @@ -448,7 +451,7 @@ outl(0x0008, ioaddr + TEST1); /* Turn on the MII transceiver. */ - outl(dev->if_port == 1 ? 0x13 : 0x12, ioaddr + MIICfg); + outl(0x12, ioaddr + MIICfg); if (chip_idx == 1) outl((inl(ioaddr + NVCTL) & ~0x003C) | 0x4800, ioaddr + NVCTL); outl(0x0200, ioaddr + GENCTL);

--------------2280F15F93A1707F47983FF9--

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