Created
March 30, 2012 16:18
-
-
Save postwait/2252575 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/usr/src/uts/common/io/igb/igb_main.c | |
+++ b/usr/src/uts/common/io/igb/igb_main.c | |
@@ -27,6 +27,10 @@ | |
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. | |
*/ | |
+/* | |
+ * Copyright 2012, OmniTI Computer Consulting, Inc. All rights reserved. | |
+ */ | |
+ | |
#include "igb_sw.h" | |
static char ident[] = "Intel 1Gb Ethernet"; | |
@@ -1048,6 +1052,9 @@ igb_init_locks(igb_t *igb) | |
mutex_init(&igb->link_lock, NULL, | |
MUTEX_DRIVER, DDI_INTR_PRI(igb->intr_pri)); | |
+ | |
+ mutex_init(&igb->rx_pending_lock, NULL, | |
+ MUTEX_DRIVER, DDI_INTR_PRI(igb->intr_pri)); | |
} | |
/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment