Subject: 3000/xxx TC Ethernet (PMAD-AA) testers needed
To: None <port-alpha@netbsd.org>
From: Michael L. Hitch <mhitch@lightning.msu.montana.edu>
List: port-alpha
Date: 12/10/2002 22:04:28
I finally had some time to look at the TC Ethernet card in the Alpha
3000/xxx last weekend, and think I've got it fixed. If anyone wants to
verify the fix, here's the patch. I can also provide a 1.6 GENERIC kernel
if needed.
Index: if_le_tc.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/tc/if_le_tc.c,v
retrieving revision 1.15
diff -u -r1.15 if_le_tc.c
--- if_le_tc.c 2002/10/02 16:53:03 1.15
+++ if_le_tc.c 2002/12/10 04:15:00
@@ -97,7 +97,8 @@
* It's on the turbochannel proper, or a kn02
* baseboard implementation of a TC option card.
*/
- lesc->sc_r1 = (struct lereg1 *)(d->ta_addr + LE_OFFSET_LANCE);
+ lesc->sc_r1 = (struct lereg1 *)
+ TC_DENSE_TO_SPARSE(TC_PHYS_TO_UNCACHED(d->ta_addr + LE_OFFSET_LANCE));
sc->sc_mem = (void *)(d->ta_addr + LE_OFFSET_RAM);
sc->sc_copytodesc = lance_copytobuf_contig;
--
Michael L. Hitch mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University Bozeman, MT USA