summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2008-01-16 19:30:20 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2008-01-16 19:30:20 +0000
commit2c9cd77dfb76942480fde4b9025e1691b097919a (patch)
tree764bded8e7c2b02206648fabba8369992b513387
parent888f639385cf2c01f6056cfeb4ba52c98b2c25ca (diff)
Set the baudrate with IF_Gbps(10); and remove an
XXX comment now that if_baudrate is 64bits. ok reyk@
-rw-r--r--sys/dev/pci/if_myx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_myx.c b/sys/dev/pci/if_myx.c
index 86507342688..96dab1118fd 100644
--- a/sys/dev/pci/if_myx.c
+++ b/sys/dev/pci/if_myx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_myx.c,v 1.5 2007/06/01 18:07:08 reyk Exp $ */
+/* $OpenBSD: if_myx.c,v 1.6 2008/01/16 19:30:19 thib Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@openbsd.org>
@@ -288,7 +288,7 @@ myx_attach(struct device *parent, struct device *self, void *aux)
ifp->if_capabilities |= IFCAP_CSUM_IPv4 | IFCAP_CSUM_TCPv4 |
IFCAP_CSUM_UDPv4;
#endif
- ifp->if_baudrate = ULONG_MAX; /* XXX fix if_baudrate */
+ ifp->if_baudrate = IF_Gbps(10);
ifmedia_init(&sc->sc_media, 0,
myx_media_change, myx_media_status);