summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2008-05-05 23:56:21 +0000
committerclaudio <claudio@openbsd.org>2008-05-05 23:56:21 +0000
commitcbe49eb16eb61a64d67698b23384ee6cb8475d97 (patch)
treee7b7496d70c96d8fc4e221aa5bd11d7144a1a482 /sys
parentWe will never use __BUS_SPACE_HAS_STREAM_METHODS so remove all the code (diff)
downloadwireguard-openbsd-cbe49eb16eb61a64d67698b23384ee6cb8475d97.tar.xz
wireguard-openbsd-cbe49eb16eb61a64d67698b23384ee6cb8475d97.zip
Correct defines for NXE_DB_PEGID_RX|TX. OK dlg@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_nxe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_nxe.c b/sys/dev/pci/if_nxe.c
index 382c19d2f43..33c29e9b1fc 100644
--- a/sys/dev/pci/if_nxe.c
+++ b/sys/dev/pci/if_nxe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nxe.c,v 1.53 2007/10/15 11:24:48 dlg Exp $ */
+/* $OpenBSD: if_nxe.c,v 1.54 2008/05/05 23:56:21 claudio Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -84,8 +84,8 @@ int nxedebug = 0;
#define NXE_DB 0x00000000
#define NXE_DB_PEGID 0x00000003
-#define NXE_DB_PEGID_TX 0x00000001 /* rx unit */
-#define NXE_DB_PEGID_RX 0x00000002 /* tx unit */
+#define NXE_DB_PEGID_RX 0x00000001 /* rx unit */
+#define NXE_DB_PEGID_TX 0x00000002 /* tx unit */
#define NXE_DB_PRIVID 0x00000004 /* must be set */
#define NXE_DB_COUNT(_c) ((_c)<<3) /* count */
#define NXE_DB_CTXID(_c) ((_c)<<18) /* context id */