summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_urlreg.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2007-05-06 04:08:48 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2007-05-06 04:08:48 +0000
commit8e63f77e5396994e8d3763d7bc98a2dbfbce6eb8 (patch)
treeca0079ab9cc21fbf3e78a4b4e6b251cff59231af /sys/dev/usb/if_urlreg.h
parent1b2ae2b4f3c14eba0c4feb7613aee2680e95da48 (diff)
More lockmgr -> rwlock low hanging fruit.
ok dlg@
Diffstat (limited to 'sys/dev/usb/if_urlreg.h')
-rw-r--r--sys/dev/usb/if_urlreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_urlreg.h b/sys/dev/usb/if_urlreg.h
index 650d7550476..b90238834b5 100644
--- a/sys/dev/usb/if_urlreg.h
+++ b/sys/dev/usb/if_urlreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_urlreg.h,v 1.7 2006/03/07 04:41:19 krw Exp $ */
+/* $OpenBSD: if_urlreg.h,v 1.8 2007/05/06 04:08:47 krw Exp $ */
/* $NetBSD: if_urlreg.h,v 1.1 2002/03/28 21:09:11 ichiro Exp $ */
/*
* Copyright (c) 2001, 2002
@@ -178,7 +178,7 @@ struct url_softc {
struct arpcom sc_ac; /* ethernet common */
#endif
struct mii_data sc_mii;
- struct lock sc_mii_lock;
+ struct rwlock sc_mii_lock;
int sc_link;
#define sc_media url_mii.mii_media
struct url_cdata sc_cdata;