Module Name: src Committed By: cegger Date: Tue May 12 13:16:17 UTC 2009
Modified Files: src/sys/dev/mscp: mscp_disk.c mscp_subr.c mscp_tape.c Log Message: struct cfdata * -> cfdata_t, no functional changes intended. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/dev/mscp/mscp_disk.c cvs rdiff -u -r1.39 -r1.40 src/sys/dev/mscp/mscp_subr.c cvs rdiff -u -r1.36 -r1.37 src/sys/dev/mscp/mscp_tape.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/mscp/mscp_disk.c diff -u src/sys/dev/mscp/mscp_disk.c:1.68 src/sys/dev/mscp/mscp_disk.c:1.69 --- src/sys/dev/mscp/mscp_disk.c:1.68 Sat Apr 18 14:58:03 2009 +++ src/sys/dev/mscp/mscp_disk.c Tue May 12 13:16:17 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: mscp_disk.c,v 1.68 2009/04/18 14:58:03 tsutsui Exp $ */ +/* $NetBSD: mscp_disk.c,v 1.69 2009/05/12 13:16:17 cegger Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. * All rights reserved. @@ -81,7 +81,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mscp_disk.c,v 1.68 2009/04/18 14:58:03 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mscp_disk.c,v 1.69 2009/05/12 13:16:17 cegger Exp $"); #include <sys/param.h> #include <sys/buf.h> @@ -132,7 +132,7 @@ #if NRA -int ramatch(struct device *, struct cfdata *, void *); +int ramatch(struct device *, cfdata_t, void *); void raattach(struct device *, struct device *, void *); int ra_putonline(struct ra_softc *); @@ -166,7 +166,7 @@ */ int -ramatch(struct device *parent, struct cfdata *cf, void *aux) +ramatch(struct device *parent, cfdata_t cf, void *aux) { struct drive_attach_args *da = aux; struct mscp *mp = da->da_mp; @@ -580,7 +580,7 @@ #if NRX -int rxmatch(struct device *, struct cfdata *, void *); +int rxmatch(struct device *, cfdata_t, void *); CFATTACH_DECL(rx, sizeof(struct rx_softc), rxmatch, rxattach, NULL, NULL); @@ -611,7 +611,7 @@ */ int -rxmatch(struct device *parent, struct cfdata *cf, void *aux) +rxmatch(struct device *parent, cfdata_t cf, void *aux) { struct drive_attach_args *da = aux; struct mscp *mp = da->da_mp; Index: src/sys/dev/mscp/mscp_subr.c diff -u src/sys/dev/mscp/mscp_subr.c:1.39 src/sys/dev/mscp/mscp_subr.c:1.40 --- src/sys/dev/mscp/mscp_subr.c:1.39 Sat Mar 14 21:04:21 2009 +++ src/sys/dev/mscp/mscp_subr.c Tue May 12 13:16:17 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: mscp_subr.c,v 1.39 2009/03/14 21:04:21 dsl Exp $ */ +/* $NetBSD: mscp_subr.c,v 1.40 2009/05/12 13:16:17 cegger Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. * All rights reserved. @@ -75,7 +75,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mscp_subr.c,v 1.39 2009/03/14 21:04:21 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mscp_subr.c,v 1.40 2009/05/12 13:16:17 cegger Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -97,7 +97,7 @@ #define b_forw b_hash.le_next -int mscp_match(struct device *, struct cfdata *, void *); +int mscp_match(struct device *, cfdata_t, void *); void mscp_attach(struct device *, struct device *, void *); void mscp_start(struct mscp_softc *); int mscp_init(struct mscp_softc *); @@ -155,7 +155,7 @@ } int -mscp_match(struct device *parent, struct cfdata *match, void *aux) +mscp_match(struct device *parent, cfdata_t match, void *aux) { struct mscp_attach_args *ma = aux; Index: src/sys/dev/mscp/mscp_tape.c diff -u src/sys/dev/mscp/mscp_tape.c:1.36 src/sys/dev/mscp/mscp_tape.c:1.37 --- src/sys/dev/mscp/mscp_tape.c:1.36 Sat Mar 14 21:04:21 2009 +++ src/sys/dev/mscp/mscp_tape.c Tue May 12 13:16:17 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: mscp_tape.c,v 1.36 2009/03/14 21:04:21 dsl Exp $ */ +/* $NetBSD: mscp_tape.c,v 1.37 2009/05/12 13:16:17 cegger Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. * All rights reserved. @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mscp_tape.c,v 1.36 2009/03/14 21:04:21 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mscp_tape.c,v 1.37 2009/05/12 13:16:17 cegger Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -81,7 +81,7 @@ #define MT_OFFLINE 0 #define MT_ONLINE 1 -int mtmatch(struct device *, struct cfdata *, void *); +int mtmatch(struct device *, cfdata_t, void *); void mtattach(struct device *, struct device *, void *); void mtdgram(struct device *, struct mscp *, struct mscp_softc *); void mtiodone(struct device *, struct buf *); @@ -137,7 +137,7 @@ */ int -mtmatch(struct device *parent, struct cfdata *cf, void *aux) +mtmatch(struct device *parent, cfdata_t cf, void *aux) { struct drive_attach_args *da = aux; struct mscp *mp = da->da_mp;