summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/bge/bge_main2.c
diff options
context:
space:
mode:
authoryong tan - Sun Microsystems - Beijing China <Yong.Tan@Sun.COM>2010-06-22 14:06:24 +0800
committeryong tan - Sun Microsystems - Beijing China <Yong.Tan@Sun.COM>2010-06-22 14:06:24 +0800
commit46ffce64a6596f99fe79e2c7ee3f2f9c3a67ca25 (patch)
treec54feadd4bd3cc0e5b9dee107c0af459c825f36c /usr/src/uts/common/io/bge/bge_main2.c
parent4a7446ccb390fe3ba041227a0c5ea6d5a2f22698 (diff)
downloadillumos-gate-46ffce64a6596f99fe79e2c7ee3f2f9c3a67ca25.tar.gz
6956591 bge driver stops working in nv140
Diffstat (limited to 'usr/src/uts/common/io/bge/bge_main2.c')
-rw-r--r--usr/src/uts/common/io/bge/bge_main2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/bge/bge_main2.c b/usr/src/uts/common/io/bge/bge_main2.c
index a4b19b68c5..f191f313c0 100644
--- a/usr/src/uts/common/io/bge/bge_main2.c
+++ b/usr/src/uts/common/io/bge/bge_main2.c
@@ -20,8 +20,7 @@
*/
/*
- * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#include "bge_impl.h"
@@ -3504,6 +3503,8 @@ bge_attach(dev_info_t *devinfo, ddi_attach_cmd_t cmd)
if (err != 0)
goto attach_fail;
+ mac_link_update(bgep->mh, LINK_STATE_UNKNOWN);
+
/*
* Register a periodical handler.
* bge_chip_cyclic() is invoked in kernel context.