Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2010 18:46:37 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r202822 - head/sys/dev/bge
Message-ID:  <201001221846.o0MIkb43054033@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Fri Jan 22 18:46:37 2010
New Revision: 202822
URL: http://svn.freebsd.org/changeset/base/202822

Log:
  Use new handshake command for BCM5750 or new controllers.

Modified:
  head/sys/dev/bge/if_bge.c

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c	Fri Jan 22 18:35:50 2010	(r202821)
+++ head/sys/dev/bge/if_bge.c	Fri Jan 22 18:46:37 2010	(r202822)
@@ -2744,9 +2744,8 @@ bge_attach(device_t dev)
 		    & BGE_HWCFG_ASF) {
 			sc->bge_asf_mode |= ASF_ENABLE;
 			sc->bge_asf_mode |= ASF_STACKUP;
-			if (sc->bge_asicrev == BGE_ASICREV_BCM5750) {
+			if (BGE_IS_575X_PLUS(sc))
 				sc->bge_asf_mode |= ASF_NEW_HANDSHAKE;
-			}
 		}
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001221846.o0MIkb43054033>