diff --git a/sys/dev/scsipi/sd.c b/sys/dev/scsipi/sd.c index 1e3a8848033f..414e30370757 100644 --- a/sys/dev/scsipi/sd.c +++ b/sys/dev/scsipi/sd.c @@ -1,4 +1,4 @@ -/* $NetBSD: sd.c,v 1.215 2004/02/28 06:28:48 yamt Exp $ */ +/* $NetBSD: sd.c,v 1.216 2004/03/14 00:17:37 thorpej Exp $ */ /*- * Copyright (c) 1998, 2003 The NetBSD Foundation, Inc. @@ -54,7 +54,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.215 2004/02/28 06:28:48 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.216 2004/03/14 00:17:37 thorpej Exp $"); #include "opt_scsi.h" #include "rnd.h" @@ -957,7 +957,7 @@ sdminphys(bp) bp->b_bcount = max; } - (*sd->sc_periph->periph_channel->chan_adapter->adapt_minphys)(bp); + scsipi_adapter_minphys(sd->sc_periph->periph_channel, bp); } int diff --git a/sys/dev/scsipi/ss.c b/sys/dev/scsipi/ss.c index 954bdc94cbe8..4ae792a497b7 100644 --- a/sys/dev/scsipi/ss.c +++ b/sys/dev/scsipi/ss.c @@ -1,4 +1,4 @@ -/* $NetBSD: ss.c,v 1.50 2003/09/08 01:27:10 mycroft Exp $ */ +/* $NetBSD: ss.c,v 1.51 2004/03/14 00:17:37 thorpej Exp $ */ /* * Copyright (c) 1995 Kenneth Stailey. All rights reserved. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.50 2003/09/08 01:27:10 mycroft Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.51 2004/03/14 00:17:37 thorpej Exp $"); #include #include @@ -351,7 +351,7 @@ ssminphys(struct buf *bp) struct ss_softc *ss = ss_cd.cd_devs[SSUNIT(bp->b_dev)]; struct scsipi_periph *periph = ss->sc_periph; - (*periph->periph_channel->chan_adapter->adapt_minphys)(bp); + scsipi_adapter_minphys(periph->periph_channel, bp); /* * trim the transfer further for special devices this is