Module Name:    src
Committed By:   cegger
Date:           Fri May  1 09:43:11 UTC 2009

Modified Files:
        src/sys/arch/xen/xen: isa_machdep.c pci_machdep.c pciide_machdep.c

Log Message:
struct device * -> device_t


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/xen/xen/isa_machdep.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/xen/xen/pci_machdep.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/xen/xen/pciide_machdep.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/arch/xen/xen/isa_machdep.c
diff -u src/sys/arch/xen/xen/isa_machdep.c:1.18 src/sys/arch/xen/xen/isa_machdep.c:1.19
--- src/sys/arch/xen/xen/isa_machdep.c:1.18	Mon Mar 16 06:18:32 2009
+++ src/sys/arch/xen/xen/isa_machdep.c	Fri May  1 09:43:11 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: isa_machdep.c,v 1.18 2009/03/16 06:18:32 cegger Exp $	*/
+/*	$NetBSD: isa_machdep.c,v 1.19 2009/05/01 09:43:11 cegger Exp $	*/
 /*	NetBSD isa_machdep.c,v 1.11 2004/06/20 18:04:08 thorpej Exp 	*/
 
 /*-
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.18 2009/03/16 06:18:32 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.19 2009/05/01 09:43:11 cegger Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -199,7 +199,7 @@
 }
 
 void
-isa_attach_hook(struct device *parent, struct device *self, struct isabus_attach_args *iba)
+isa_attach_hook(device_t parent, device_t self, struct isabus_attach_args *iba)
 {
 	extern struct x86_isa_chipset x86_isa_chipset;
 	extern int isa_has_been_seen;

Index: src/sys/arch/xen/xen/pci_machdep.c
diff -u src/sys/arch/xen/xen/pci_machdep.c:1.13 src/sys/arch/xen/xen/pci_machdep.c:1.14
--- src/sys/arch/xen/xen/pci_machdep.c:1.13	Mon Apr 14 13:38:03 2008
+++ src/sys/arch/xen/xen/pci_machdep.c	Fri May  1 09:43:11 2009
@@ -1,4 +1,4 @@
-/*      $NetBSD: pci_machdep.c,v 1.13 2008/04/14 13:38:03 cegger Exp $      */
+/*      $NetBSD: pci_machdep.c,v 1.14 2009/05/01 09:43:11 cegger Exp $      */
 
 /*
  * Copyright (c) 2005 Manuel Bouyer.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.13 2008/04/14 13:38:03 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.14 2009/05/01 09:43:11 cegger Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -73,7 +73,7 @@
 };
 
 void
-pci_attach_hook(struct device *parent, struct device *self,
+pci_attach_hook(device_t parent, device_t self,
     struct pcibus_attach_args * pba)
 {
 	int bus = pba->pba_bus;

Index: src/sys/arch/xen/xen/pciide_machdep.c
diff -u src/sys/arch/xen/xen/pciide_machdep.c:1.14 src/sys/arch/xen/xen/pciide_machdep.c:1.15
--- src/sys/arch/xen/xen/pciide_machdep.c:1.14	Mon Mar 16 06:18:32 2009
+++ src/sys/arch/xen/xen/pciide_machdep.c	Fri May  1 09:43:11 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: pciide_machdep.c,v 1.14 2009/03/16 06:18:32 cegger Exp $	*/
+/*	$NetBSD: pciide_machdep.c,v 1.15 2009/05/01 09:43:11 cegger Exp $	*/
 
 /*
  * Copyright (c) 1998 Christopher G. Demetriou.  All rights reserved.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.14 2009/03/16 06:18:32 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.15 2009/05/01 09:43:11 cegger Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -64,7 +64,7 @@
 #endif  
 
 void *
-pciide_machdep_compat_intr_establish(struct device *dev,
+pciide_machdep_compat_intr_establish(device_t dev,
 	struct pci_attach_args *pa, int chan,
 	int (*func)(void *), void *arg)
 {

Reply via email to