Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix the setting of sc->bge_flags for 5717 and ne...
details: https://anonhg.NetBSD.org/src/rev/df5ae09a677a
branches: trunk
changeset: 787787:df5ae09a677a
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Jul 03 15:21:35 2013 +0000
description:
Fix the setting of sc->bge_flags for 5717 and newer devices. Reported by
Mike Belopuhov.
diffstat:
sys/dev/pci/if_bge.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4b1459076c8d -r df5ae09a677a sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c Wed Jul 03 15:08:01 2013 +0000
+++ b/sys/dev/pci/if_bge.c Wed Jul 03 15:21:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bge.c,v 1.254 2013/07/03 05:49:36 msaitoh Exp $ */
+/* $NetBSD: if_bge.c,v 1.255 2013/07/03 15:21:35 msaitoh Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.254 2013/07/03 05:49:36 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.255 2013/07/03 15:21:35 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -3400,7 +3400,7 @@
/* Jumbo frame on BCM5719 A0 does not work. */
if ((BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5719) &&
(sc->bge_chipid == BGE_CHIPID_BCM5719_A0))
- sc->bge_flags |= ~BGE_JUMBO_CAPABLE;
+ sc->bge_flags &= ~BGE_JUMBO_CAPABLE;
break;
case BGE_ASICREV_BCM5755:
case BGE_ASICREV_BCM5761:
Home |
Main Index |
Thread Index |
Old Index