Module Name: src
Committed By: cegger
Date: Tue May 12 14:48:08 UTC 2009
Modified Files:
src/sys/dev/xmi: bi_xmi.c xmivar.h
Log Message:
struct device * -> device_t, no functional changes intended.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/xmi/bi_xmi.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/xmi/xmivar.h
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/xmi/bi_xmi.c
diff -u src/sys/dev/xmi/bi_xmi.c:1.8 src/sys/dev/xmi/bi_xmi.c:1.9
--- src/sys/dev/xmi/bi_xmi.c:1.8 Tue May 12 13:22:58 2009
+++ src/sys/dev/xmi/bi_xmi.c Tue May 12 14:48:08 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: bi_xmi.c,v 1.8 2009/05/12 13:22:58 cegger Exp $ */
+/* $NetBSD: bi_xmi.c,v 1.9 2009/05/12 14:48:08 cegger Exp $ */
/*
* Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bi_xmi.c,v 1.8 2009/05/12 13:22:58 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bi_xmi.c,v 1.9 2009/05/12 14:48:08 cegger Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -52,7 +52,7 @@
#include "locators.h"
static int
-bi_xmi_match(struct device *parent, cfdata_t cf, void *aux)
+bi_xmi_match(device_t parent, cfdata_t cf, void *aux)
{
struct xmi_attach_args *xa = aux;
@@ -67,7 +67,7 @@
}
static void
-bi_xmi_attach(struct device *parent, struct device *self, void *aux)
+bi_xmi_attach(device_t parent, device_t self, void *aux)
{
struct bi_softc *sc = device_private(self);
struct xmi_attach_args *xa = aux;
Index: src/sys/dev/xmi/xmivar.h
diff -u src/sys/dev/xmi/xmivar.h:1.2 src/sys/dev/xmi/xmivar.h:1.3
--- src/sys/dev/xmi/xmivar.h:1.2 Tue Mar 11 05:34:02 2008
+++ src/sys/dev/xmi/xmivar.h Tue May 12 14:48:08 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: xmivar.h,v 1.2 2008/03/11 05:34:02 matt Exp $ */
+/* $NetBSD: xmivar.h,v 1.3 2009/05/12 14:48:08 cegger Exp $ */
/*
* Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved.
@@ -34,7 +34,7 @@
* per-XMI-adapter state.
*/
struct xmi_softc {
- struct device *sc_dev;
+ device_t sc_dev;
bus_space_tag_t sc_iot; /* Space tag for the XMI bus */
bus_dma_tag_t sc_dmat;
bus_addr_t sc_addr; /* Address base address for this bus */