diff options
| author | christos <christos@NetBSD.org> | 2007-03-04 05:59:00 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2007-03-04 05:59:00 +0000 |
| commit | 53524e44efd7c7176da8dc8190a698b2fe184db1 (patch) | |
| tree | 68b6fb4aee85c3eb0a522cc199c3a3427938828e /sys/arch/macppc/dev/aed.c | |
| parent | 1b20cebad5f8d3582a41d5599641a95247721732 (diff) | |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Diffstat (limited to 'sys/arch/macppc/dev/aed.c')
| -rw-r--r-- | sys/arch/macppc/dev/aed.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/macppc/dev/aed.c b/sys/arch/macppc/dev/aed.c index 76e3aa4ee1e..a6aba86a8ba 100644 --- a/sys/arch/macppc/dev/aed.c +++ b/sys/arch/macppc/dev/aed.c @@ -1,4 +1,4 @@ -/* $NetBSD: aed.c,v 1.17 2006/03/29 04:16:45 thorpej Exp $ */ +/* $NetBSD: aed.c,v 1.18 2007/03/04 06:00:10 christos Exp $ */ /* * Copyright (C) 1994 Bradley A. Grantham @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aed.c,v 1.17 2006/03/29 04:16:45 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aed.c,v 1.18 2007/03/04 06:00:10 christos Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -492,7 +492,7 @@ aedread(dev, uio, flag) firstmove = (aed_sc->sc_evq_tail + total > AED_MAX_EVENTS) ? (AED_MAX_EVENTS - aed_sc->sc_evq_tail) : total; - error = uiomove((caddr_t) & aed_sc->sc_evq[aed_sc->sc_evq_tail], + error = uiomove((void *) & aed_sc->sc_evq[aed_sc->sc_evq_tail], firstmove * sizeof(adb_event_t), uio); if (error) { splx(s); @@ -501,7 +501,7 @@ aedread(dev, uio, flag) moremove = total - firstmove; if (moremove > 0) { - error = uiomove((caddr_t) & aed_sc->sc_evq[0], + error = uiomove((void *) & aed_sc->sc_evq[0], moremove * sizeof(adb_event_t), uio); if (error) { splx(s); @@ -518,7 +518,7 @@ int aedioctl(dev, cmd, data, flag, l) dev_t dev; u_long cmd; - caddr_t data; + void *data; int flag; struct lwp *l; { |
