Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Don't use com_activate(), it's going away.



details:   https://anonhg.NetBSD.org/src/rev/baa858148bd5
branches:  trunk
changeset: 749006:baa858148bd5
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Thu Nov 12 20:30:10 2009 +0000

description:
Don't use com_activate(), it's going away.

diffstat:

 sys/dev/acpi/com_acpi.c       |  6 +++---
 sys/dev/cardbus/com_cardbus.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r be00d0d051a8 -r baa858148bd5 sys/dev/acpi/com_acpi.c
--- a/sys/dev/acpi/com_acpi.c   Thu Nov 12 20:29:30 2009 +0000
+++ b/sys/dev/acpi/com_acpi.c   Thu Nov 12 20:30:10 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com_acpi.c,v 1.29 2009/07/13 12:57:04 kiyohara Exp $ */
+/* $NetBSD: com_acpi.c,v 1.30 2009/11/12 20:30:10 dyoung Exp $ */
 
 /*
  * Copyright (c) 2002 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com_acpi.c,v 1.29 2009/07/13 12:57:04 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com_acpi.c,v 1.30 2009/11/12 20:30:10 dyoung Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -57,7 +57,7 @@
 };
 
 CFATTACH_DECL_NEW(com_acpi, sizeof(struct com_acpi_softc), com_acpi_match,
-    com_acpi_attach, NULL, com_activate);
+    com_acpi_attach, NULL, NULL);
 
 /*
  * Supported device IDs
diff -r be00d0d051a8 -r baa858148bd5 sys/dev/cardbus/com_cardbus.c
--- a/sys/dev/cardbus/com_cardbus.c     Thu Nov 12 20:29:30 2009 +0000
+++ b/sys/dev/cardbus/com_cardbus.c     Thu Nov 12 20:30:10 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com_cardbus.c,v 1.22 2008/06/24 19:44:52 drochner Exp $ */
+/* $NetBSD: com_cardbus.c,v 1.23 2009/11/12 20:30:29 dyoung Exp $ */
 
 /*
  * Copyright (c) 2000 Johan Danielsson
@@ -40,7 +40,7 @@
    updated below.  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com_cardbus.c,v 1.22 2008/06/24 19:44:52 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com_cardbus.c,v 1.23 2009/11/12 20:30:29 dyoung Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -80,7 +80,7 @@
 static void com_cardbus_disable(struct com_softc*);
 
 CFATTACH_DECL_NEW(com_cardbus, sizeof(struct com_cardbus_softc),
-    com_cardbus_match, com_cardbus_attach, com_cardbus_detach, com_activate);
+    com_cardbus_match, com_cardbus_attach, com_cardbus_detach, NULL);
 
 static struct csdev {
        int             vendor;



Home | Main Index | Thread Index | Old Index