diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2011-06-04 01:49:43 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2011-06-04 01:49:43 +0000 |
| commit | 78d476edbbd2392845381da2d002f5ea7ff300f9 (patch) | |
| tree | 5ec68d3d7732d4a70ee85e15c6350c6b3a7c78de /sys/dev | |
| parent | 206daba1fa8d0af70c1e29966876c9d0c44fbbbc (diff) | |
Split device_t/softc. pmax is tested on GXemul, compile test only for alpha.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/tc/ioasic_subr.c | 6 | ||||
| -rw-r--r-- | sys/dev/tc/ioasicvar.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/tc/ioasic_subr.c b/sys/dev/tc/ioasic_subr.c index 196f579c076..c0f64050c7e 100644 --- a/sys/dev/tc/ioasic_subr.c +++ b/sys/dev/tc/ioasic_subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: ioasic_subr.c,v 1.12 2006/03/31 17:39:33 thorpej Exp $ */ +/* $NetBSD: ioasic_subr.c,v 1.13 2011/06/04 01:49:44 tsutsui Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -29,7 +29,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ioasic_subr.c,v 1.12 2006/03/31 17:39:33 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ioasic_subr.c,v 1.13 2011/06/04 01:49:44 tsutsui Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -72,7 +72,7 @@ ioasic_attach_devs(struct ioasic_softc *sc, struct ioasic_dev *ioasic_devs, /* Tell the autoconfig machinery we've found the hardware. */ locs[IOASICCF_OFFSET] = ioasic_devs[i].iad_offset; - config_found_sm_loc(&sc->sc_dv, "ioasic", locs, &idev, + config_found_sm_loc(sc->sc_dev, "ioasic", locs, &idev, ioasicprint, config_stdsubmatch); } } diff --git a/sys/dev/tc/ioasicvar.h b/sys/dev/tc/ioasicvar.h index da4bbb32b17..ae8a39b2aae 100644 --- a/sys/dev/tc/ioasicvar.h +++ b/sys/dev/tc/ioasicvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: ioasicvar.h,v 1.21 2011/02/20 08:03:22 matt Exp $ */ +/* $NetBSD: ioasicvar.h,v 1.22 2011/06/04 01:49:44 tsutsui Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. @@ -47,7 +47,7 @@ struct ioasicdev_attach_args { }; struct ioasic_softc { - struct device sc_dv; + device_t sc_dev; bus_space_tag_t sc_bst; bus_space_handle_t sc_bsh; bus_dma_tag_t sc_dmat; |
