summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-03-02 11:24:51 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-03-02 11:24:51 +0000
commitd1693064949928a7a88ecc8d32ccbdfb928468af (patch)
tree8227b1b66a6b91a291cacfd0f0c1e6a598db568c
parentdcfcf6ad271c86f5e0930ace2746336c80106f01 (diff)
Correct the comment describing the BGE_PCISTATE_PCI_BUSSPEED bit.
It had the sense of the bit reversed. From jdp@FreeBSD ok kettenis@
-rw-r--r--sys/dev/pci/if_bgereg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bgereg.h b/sys/dev/pci/if_bgereg.h
index 8dc13611545..851de7c39ad 100644
--- a/sys/dev/pci/if_bgereg.h
+++ b/sys/dev/pci/if_bgereg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bgereg.h,v 1.80 2008/02/20 12:17:25 brad Exp $ */
+/* $OpenBSD: if_bgereg.h,v 1.81 2008/03/02 11:24:50 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -361,7 +361,7 @@
#define BGE_PCISTATE_FORCE_RESET 0x00000001
#define BGE_PCISTATE_INTR_NOT_ACTIVE 0x00000002
#define BGE_PCISTATE_PCI_BUSMODE 0x00000004 /* 1 = PCI, 0 = PCI-X */
-#define BGE_PCISTATE_PCI_BUSSPEED 0x00000008 /* 1 = 33/66, 0 = 66/133 */
+#define BGE_PCISTATE_PCI_BUSSPEED 0x00000008 /* 1 = 66/133, 0 = 33/66 */
#define BGE_PCISTATE_32BIT_BUS 0x00000010 /* 1 = 32bit, 0 = 64bit */
#define BGE_PCISTATE_WANT_EXPROM 0x00000020
#define BGE_PCISTATE_EXPROM_RETRY 0x00000040