summaryrefslogtreecommitdiffstats
path: root/sys/dev/en/midwayreg.h
diff options
context:
space:
mode:
authorkjc <kjc@FreeBSD.org>2000-11-07 09:30:14 +0000
committerkjc <kjc@FreeBSD.org>2000-11-07 09:30:14 +0000
commitd9fa1d2620e169ee95c6a00927a090917d3fd243 (patch)
tree1623759ced4e5dd449fef3650f19e1f3c7ae1655 /sys/dev/en/midwayreg.h
parent989e1579f6128a2a20383165d0435dbec1ac3fe4 (diff)
downloadFreeBSD-src-d9fa1d2620e169ee95c6a00927a090917d3fd243.zip
FreeBSD-src-d9fa1d2620e169ee95c6a00927a090917d3fd243.tar.gz
newbusify the en atm driver.
also - sync with netbsd - fix a bug that miscalculates tx cell counts when the pointer size isn't 4 tested both ENI and Adaptec cards on both i386 and alpha.
Diffstat (limited to 'sys/dev/en/midwayreg.h')
-rw-r--r--sys/dev/en/midwayreg.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/en/midwayreg.h b/sys/dev/en/midwayreg.h
index bc52b71..aefbb88 100644
--- a/sys/dev/en/midwayreg.h
+++ b/sys/dev/en/midwayreg.h
@@ -22,9 +22,7 @@ typedef caddr_t bus_addr_t;
#define bus_space_write_4(t, h, o, v) \
((void) t, ((void)(*(volatile u_int32_t *)((h) + (o)) = (v))))
-#if defined(sparc)
#define vtophys(x) ((u_int32_t)(x)) /* sun4c dvma */
-#endif
#endif
OpenPOWER on IntegriCloud