natsemi.c & 2.4.6 on Alpha [patch]
I'm not quite sure where to send this, but I figure someone here will
know.
This past weekend I upgraded my Alpha (LX) to kernel 2.4.6. Only
problem was that my network card (NetGear FA-311) did not work.
I have found and fixed the problem, a one-liner 32-bit-ism in the
driver. Short patch follows:
--- /usr/src/linux/drivers/net/natsemi.c-orig Mon Jul 16 18:03:32 2001
+++ /usr/src/linux/drivers/net/natsemi.c Mon Jul 16 07:56:25 2001
@@ -580,7 +580,7 @@
{
int i;
int retval = 0;
- int ee_addr = addr + EECtrl;
+ long ee_addr = addr + EECtrl;
int read_cmd = location | EE_ReadCmd;
writel(EE_Write0, ee_addr);
Suggestions on where to send this patch, or kind offers to forward it
to the correct place, gratefully accepted.
-Doug
--
Doug Larrick doug@ties.org doug.larrick@compaq.com AIM: DougLarick
Reply to: