X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/602a912dd839757229b8583068a161406b968c15..b13267a5123f6a14e47d788c4a8a2a8692e2a119:/sys/dev/raid/ips/ips_disk.c diff --git a/sys/dev/raid/ips/ips_disk.c b/sys/dev/raid/ips/ips_disk.c index ab64b47c47..09ef3cd5dc 100644 --- a/sys/dev/raid/ips/ips_disk.c +++ b/sys/dev/raid/ips/ips_disk.c @@ -25,7 +25,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/dev/ips/ips_disk.c,v 1.4 2003/09/22 04:59:07 njl Exp $ - * $DragonFly: src/sys/dev/raid/ips/ips_disk.c,v 1.9 2006/07/28 02:17:37 dillon Exp $ + * $DragonFly: src/sys/dev/raid/ips/ips_disk.c,v 1.10 2006/09/10 01:26:35 dillon Exp $ */ #include @@ -87,7 +87,7 @@ DRIVER_MODULE(ipsd, ips, ipsd_driver, ipsd_devclass, 0, 0); static int ipsd_open(struct dev_open_args *ap) { - dev_t dev = ap->a_head.a_dev; + cdev_t dev = ap->a_head.a_dev; ipsdisk_softc_t *dsc = dev->si_drv1; if (dsc == NULL) @@ -100,7 +100,7 @@ ipsd_open(struct dev_open_args *ap) static int ipsd_close(struct dev_close_args *ap) { - dev_t dev = ap->a_head.a_dev; + cdev_t dev = ap->a_head.a_dev; ipsdisk_softc_t *dsc = dev->si_drv1; dsc->state &= ~IPS_DEV_OPEN; @@ -130,7 +130,7 @@ ipsd_finish(struct bio *bio) static int ipsd_strategy(struct dev_strategy_args *ap) { - dev_t dev = ap->a_head.a_dev; + cdev_t dev = ap->a_head.a_dev; struct bio *bio = ap->a_bio; ipsdisk_softc_t *dsc; @@ -257,7 +257,7 @@ static int ipsd_dump(void *arg, void *virtual, vm_offset_t physical, off_t offset, size_t length) { - dev_t dev = arg; + cdev_t dev = arg; ips_softc_t *sc; ips_command_t *command; ips_io_cmd *command_struct;