Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Make sure we unlock before exit.
details: https://anonhg.NetBSD.org/src/rev/8f7e2a6655c0
branches: trunk
changeset: 755814:8f7e2a6655c0
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Jun 22 21:30:55 2010 +0000
description:
Make sure we unlock before exit.
diffstat:
sys/dev/usb/if_axe.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 88ebf5af8323 -r 8f7e2a6655c0 sys/dev/usb/if_axe.c
--- a/sys/dev/usb/if_axe.c Tue Jun 22 20:51:04 2010 +0000
+++ b/sys/dev/usb/if_axe.c Tue Jun 22 21:30:55 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_axe.c,v 1.32 2010/04/05 07:21:48 joerg Exp $ */
+/* $NetBSD: if_axe.c,v 1.33 2010/06/22 21:30:55 pgoyette Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000-2003
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.32 2010/04/05 07:21:48 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.33 2010/06/22 21:30:55 pgoyette Exp $");
#if defined(__NetBSD__)
#include "opt_inet.h"
@@ -350,6 +350,7 @@
allmulti:
rxmode |= AXE_RXCMD_ALLMULTI;
axe_cmd(sc, AXE_CMD_RXCTL_WRITE, 0, rxmode, NULL);
+ axe_lock_mii(sc);
return;
} else
rxmode &= ~AXE_RXCMD_ALLMULTI;
Home |
Main Index |
Thread Index |
Old Index