[PATCH] declance: Fix PMAX and PMAD support
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 4 Dec 2006 23:04:54 +0000 (15:04 -0800)
committerJeff Garzik <jeff@garzik.org>
Mon, 4 Dec 2006 23:36:02 +0000 (18:36 -0500)
commit3b6e8fe7eca12fca2cc7fde46ba2a94a86ab0815
treebf6e7f0d0ee881f1fe671104c607b568f9d2a707
parent4e1400796c93df5e7f92d766e4a4332d0c98795f
[PATCH] declance: Fix PMAX and PMAD support

The shared buffer used by the LANCE on the PMAX only supports halfword
(16-bit) accesses.  And the PMAD has the buffer wired differently.  This is
a change to fix these issues.

Tested with a DECstation 2100 (thanks Flo for making this possible) and a
DECstation 5000/133 (both the PMAD and the onboard LANCE).

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/declance.c