Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari A few missed device_t, cfdata_t cleanups
details: https://anonhg.NetBSD.org/src/rev/b0ca1f96f89c
branches: trunk
changeset: 765777:b0ca1f96f89c
user: matt <matt%NetBSD.org@localhost>
date: Sun Jun 05 17:09:18 2011 +0000
description:
A few missed device_t, cfdata_t cleanups
diffstat:
sys/arch/atari/atari/autoconf.c | 10 +++++-----
sys/arch/atari/dev/grf.c | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 3266dbf22d3a -r b0ca1f96f89c sys/arch/atari/atari/autoconf.c
--- a/sys/arch/atari/atari/autoconf.c Sun Jun 05 17:03:16 2011 +0000
+++ b/sys/arch/atari/atari/autoconf.c Sun Jun 05 17:09:18 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.60 2011/06/05 06:31:41 tsutsui Exp $ */
+/* $NetBSD: autoconf.c,v 1.61 2011/06/05 17:09:18 matt Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.60 2011/06/05 06:31:41 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.61 2011/06/05 17:09:18 matt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -130,7 +130,7 @@
void
config_console(void)
{
- struct cfdata *cf;
+ cfdata_t cf;
config_init();
@@ -187,7 +187,7 @@
{
struct disk *dkp;
struct partition *pp;
- struct device **devs;
+ device_t *devs;
const struct bdevsw *bdev;
int i, maj, unit;
@@ -203,7 +203,7 @@
* Find the disk structure corresponding to the
* current device.
*/
- devs = (struct device **)genericconf[i]->cd_devs;
+ devs = (device_t *)genericconf[i]->cd_devs;
if ((dkp = disk_find(devs[unit]->dv_xname)) == NULL)
continue;
diff -r 3266dbf22d3a -r b0ca1f96f89c sys/arch/atari/dev/grf.c
--- a/sys/arch/atari/dev/grf.c Sun Jun 05 17:03:16 2011 +0000
+++ b/sys/arch/atari/dev/grf.c Sun Jun 05 17:09:18 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: grf.c,v 1.45 2011/06/05 06:31:41 tsutsui Exp $ */
+/* $NetBSD: grf.c,v 1.46 2011/06/05 17:09:18 matt Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grf.c,v 1.45 2011/06/05 06:31:41 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grf.c,v 1.46 2011/06/05 17:09:18 matt Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -115,7 +115,7 @@
/*
* only used in console init.
*/
-static struct cfdata *cfdata_gbus = NULL;
+static cfdata_t cfdata_gbus = NULL;
int
grfbusmatch(device_t parent, cfdata_t cf, void *aux)
Home |
Main Index |
Thread Index |
Old Index