Module Name: src
Committed By: cegger
Date: Fri Apr 17 19:04:20 UTC 2009
Modified Files:
src/sys/dev/pci: if_tlp_pci.c
Log Message:
backout rev. 1.112. I was misleaded by the wrong pci(9) manpage.
To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/dev/pci/if_tlp_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/if_tlp_pci.c
diff -u src/sys/dev/pci/if_tlp_pci.c:1.112 src/sys/dev/pci/if_tlp_pci.c:1.113
--- src/sys/dev/pci/if_tlp_pci.c:1.112 Fri Apr 17 18:43:53 2009
+++ src/sys/dev/pci/if_tlp_pci.c Fri Apr 17 19:04:20 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tlp_pci.c,v 1.112 2009/04/17 18:43:53 cegger Exp $ */
+/* $NetBSD: if_tlp_pci.c,v 1.113 2009/04/17 19:04:20 cegger Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2002 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tlp_pci.c,v 1.112 2009/04/17 18:43:53 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tlp_pci.c,v 1.113 2009/04/17 19:04:20 cegger Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -523,7 +523,7 @@
}
/* power up chip */
- if ((error = pci_activate(pa->pa_pc, pa->pa_tag, (void *)psc,
+ if ((error = pci_activate(pa->pa_pc, pa->pa_tag, self,
NULL)) && error != EOPNOTSUPP) {
aprint_error_dev(self, "cannot activate %d\n",
error);