Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/cardbus Detach at shutdown.
details: https://anonhg.NetBSD.org/src/rev/cc8293bbc53c
branches: trunk
changeset: 753303:cc8293bbc53c
user: dyoung <dyoung%NetBSD.org@localhost>
date: Mon Mar 22 17:23:44 2010 +0000
description:
Detach at shutdown.
diffstat:
sys/dev/cardbus/if_ex_cardbus.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r ced3514417a1 -r cc8293bbc53c sys/dev/cardbus/if_ex_cardbus.c
--- a/sys/dev/cardbus/if_ex_cardbus.c Mon Mar 22 17:20:42 2010 +0000
+++ b/sys/dev/cardbus/if_ex_cardbus.c Mon Mar 22 17:23:44 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ex_cardbus.c,v 1.52 2010/03/19 01:34:46 dyoung Exp $ */
+/* $NetBSD: if_ex_cardbus.c,v 1.53 2010/03/22 17:23:44 dyoung Exp $ */
/*
* Copyright (c) 1998 and 1999
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ex_cardbus.c,v 1.52 2010/03/19 01:34:46 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ex_cardbus.c,v 1.53 2010/03/22 17:23:44 dyoung Exp $");
/* #define EX_DEBUG 4 */ /* define to report information for debugging */
@@ -114,8 +114,9 @@
};
-CFATTACH_DECL_NEW(ex_cardbus, sizeof(struct ex_cardbus_softc),
- ex_cardbus_match, ex_cardbus_attach, ex_cardbus_detach, ex_activate);
+CFATTACH_DECL3_NEW(ex_cardbus, sizeof(struct ex_cardbus_softc),
+ ex_cardbus_match, ex_cardbus_attach, ex_cardbus_detach, ex_activate,
+ NULL, NULL, DVF_DETACH_SHUTDOWN);
const struct ex_cardbus_product {
uint32_t ecp_prodid; /* CardBus product ID */
Home |
Main Index |
Thread Index |
Old Index