Module Name:    src
Committed By:   cegger
Date:           Sun Apr 26 08:54:13 UTC 2009

Modified Files:
        src/sys/dev/pci: ohci_pci.c

Log Message:
detach ohci on shutdown


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/pci/ohci_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/ohci_pci.c
diff -u src/sys/dev/pci/ohci_pci.c:1.42 src/sys/dev/pci/ohci_pci.c:1.43
--- src/sys/dev/pci/ohci_pci.c:1.42	Sun Apr 26 08:46:10 2009
+++ src/sys/dev/pci/ohci_pci.c	Sun Apr 26 08:54:13 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ohci_pci.c,v 1.42 2009/04/26 08:46:10 cegger Exp $	*/
+/*	$NetBSD: ohci_pci.c,v 1.43 2009/04/26 08:54:13 cegger Exp $	*/
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci_pci.c,v 1.42 2009/04/26 08:46:10 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci_pci.c,v 1.43 2009/04/26 08:54:13 cegger Exp $");
 
 #include "ehci.h"
 
@@ -210,6 +210,6 @@
 	return 0;
 }
 
-CFATTACH_DECL2_NEW(ohci_pci, sizeof(struct ohci_pci_softc),
+CFATTACH_DECL3_NEW(ohci_pci, sizeof(struct ohci_pci_softc),
     ohci_pci_match, ohci_pci_attach, ohci_pci_detach, ohci_activate, NULL,
-    ohci_childdet);
+    ohci_childdet, DVF_DETACH_SHUTDOWN);

Reply via email to