Use scsipi_adapter_minphys().
This commit is contained in:
parent
15d1617c9e
commit
4e473186db
|
@ -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.
|
* Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__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 "opt_scsi.h"
|
||||||
#include "rnd.h"
|
#include "rnd.h"
|
||||||
|
@ -957,7 +957,7 @@ sdminphys(bp)
|
||||||
bp->b_bcount = max;
|
bp->b_bcount = max;
|
||||||
}
|
}
|
||||||
|
|
||||||
(*sd->sc_periph->periph_channel->chan_adapter->adapt_minphys)(bp);
|
scsipi_adapter_minphys(sd->sc_periph->periph_channel, bp);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -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.
|
* Copyright (c) 1995 Kenneth Stailey. All rights reserved.
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__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 <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -351,7 +351,7 @@ ssminphys(struct buf *bp)
|
||||||
struct ss_softc *ss = ss_cd.cd_devs[SSUNIT(bp->b_dev)];
|
struct ss_softc *ss = ss_cd.cd_devs[SSUNIT(bp->b_dev)];
|
||||||
struct scsipi_periph *periph = ss->sc_periph;
|
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
|
* trim the transfer further for special devices this is
|
||||||
|
|
Loading…
Reference in New Issue