summaryrefslogtreecommitdiff
path: root/sys/net/if_media.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2007-09-19 03:50:26 +0000
committerBrad Smith <brad@cvs.openbsd.org>2007-09-19 03:50:26 +0000
commit9cfe0b067991d24e6bf4748c1eb4e7b119f49102 (patch)
tree0d69a6719a7c761ef0c1eaa85caf90b95695bdf8 /sys/net/if_media.h
parentf545539f9b9eae3fceedafd2f4ec5549dd132a2c (diff)
Use the proper baudrate for 10Gb hw now that it can fit into the buadrate
field. ok claudio@ dlg@
Diffstat (limited to 'sys/net/if_media.h')
-rw-r--r--sys/net/if_media.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h
index ca06b448a31..54a4d872712 100644
--- a/sys/net/if_media.h
+++ b/sys/net/if_media.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_media.h,v 1.25 2007/09/17 17:34:22 brad Exp $ */
+/* $OpenBSD: if_media.h,v 1.26 2007/09/19 03:50:25 brad Exp $ */
/* $NetBSD: if_media.h,v 1.22 2000/02/17 21:53:16 sommerfeld Exp $ */
/*-
@@ -533,9 +533,9 @@ struct ifmedia_baudrate {
{ IFM_ETHER|IFM_1000_CX, IF_Mbps(1000) }, \
{ IFM_ETHER|IFM_1000_T, IF_Mbps(1000) }, \
{ IFM_ETHER|IFM_HPNA_1, IF_Mbps(1) }, \
- { IFM_ETHER|IFM_10G_LR, IF_Mbps(1000) }, \
- { IFM_ETHER|IFM_10G_SR, IF_Mbps(1000) }, \
- { IFM_ETHER|IFM_10G_CX4, IF_Mbps(1000) }, \
+ { IFM_ETHER|IFM_10G_LR, IF_Gbps(10) }, \
+ { IFM_ETHER|IFM_10G_SR, IF_Gbps(10) }, \
+ { IFM_ETHER|IFM_10G_CX4, IF_Gbps(10) }, \
\
{ IFM_FDDI|IFM_FDDI_SMF, IF_Mbps(100) }, \
{ IFM_FDDI|IFM_FDDI_MMF, IF_Mbps(100) }, \