summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_wbreg.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-09-03 01:48:40 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-09-03 01:48:40 +0000
commite7bba369270be4970e14ade700d432e3dfc05f41 (patch)
tree3a451413c50ac99d78a82dc6906c133414c280ab /sys/dev/pci/if_wbreg.h
parent0d14089618f70bc7a99f8af5c4ed211438e799dc (diff)
o make this look more like an OpenBSD driver (removed static's)
o partial merge with freebsd, alpha support (currently untested)
Diffstat (limited to 'sys/dev/pci/if_wbreg.h')
-rw-r--r--sys/dev/pci/if_wbreg.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wbreg.h b/sys/dev/pci/if_wbreg.h
index 6a51029125b..7de8a70f0df 100644
--- a/sys/dev/pci/if_wbreg.h
+++ b/sys/dev/pci/if_wbreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wbreg.h,v 1.1 1999/03/11 18:20:13 jason Exp $ */
+/* $OpenBSD: if_wbreg.h,v 1.2 1999/09/03 01:48:39 jason Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -31,7 +31,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $FreeBSD: if_wbreg.h,v 1.2 1999/01/16 06:25:59 wpaul Exp $
+ * $FreeBSD: if_wbreg.h,v 1.4 1999/07/11 00:56:07 wpaul Exp $
*/
/*
@@ -589,3 +589,11 @@ struct wb_softc {
#ifndef ETHER_CRC_LEN
#define ETHER_CRC_LEN 4
#endif
+#ifndef ETHER_ALIGN
+#define ETHER_ALIGN 2
+#endif
+
+#ifdef __alpha__
+#undef vtophys
+#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va)
+#endif