Port-mac68k archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: MI SONIC Ethernet driver for mac68k
Ah, I notice there is an obvious bug in dp83932var.h.
I guess sonic chip on your LC card is in 16bit mode, right?
--- dp83932var.h.orig 2008-04-19 03:15:15.000000000 +0900
+++ dp83932var.h 2008-04-19 03:15:07.000000000 +0900
@@ -231,7 +231,7 @@
#define SONIC_CDCAMADDR(sc)
\
((sc)->sc_cddma + \
- ((sc)->sc_32bit ? SONIC_CDCAMOFF32 : SONIC_CDCAMOFF32))
+ ((sc)->sc_32bit ? SONIC_CDCAMOFF32 : SONIC_CDCAMOFF16))
#define SONIC_CDTXSYNC16(sc, x, ops)
\
bus_dmamap_sync((sc)->sc_dmat, (sc)->sc_cddmamap, \
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index