Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic ath(4): Use config_deactivate; don't abuse autoco...
details: https://anonhg.NetBSD.org/src/rev/ab51f04e367d
branches: trunk
changeset: 1021649:ab51f04e367d
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Jun 12 12:15:54 2021 +0000
description:
ath(4): Use config_deactivate; don't abuse autoconf private dv_flags.
diffstat:
sys/dev/ic/ath.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r ad988ee4045b -r ab51f04e367d sys/dev/ic/ath.c
--- a/sys/dev/ic/ath.c Sat Jun 12 12:15:43 2021 +0000
+++ b/sys/dev/ic/ath.c Sat Jun 12 12:15:54 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ath.c,v 1.134 2021/04/13 03:27:13 mrg Exp $ */
+/* $NetBSD: ath.c,v 1.135 2021/06/12 12:15:54 riastradh Exp $ */
/*-
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -41,7 +41,7 @@
__FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.104 2005/09/16 10:09:23 ru Exp $");
#endif
#ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.134 2021/04/13 03:27:13 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.135 2021/06/12 12:15:54 riastradh Exp $");
#endif
/*
@@ -652,8 +652,7 @@
bad:
if (ah)
ath_hal_detach(ah);
- /* XXX don't get under the abstraction like this */
- sc->sc_dev->dv_flags &= ~DVF_ACTIVE;
+ (void)config_deactivate(sc->sc_dev);
return error;
}
Home |
Main Index |
Thread Index |
Old Index