Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi Use scsipi_adapter_minphys().
details: https://anonhg.NetBSD.org/src/rev/a3730bb6c747
branches: trunk
changeset: 559273:a3730bb6c747
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Mar 14 00:17:37 2004 +0000
description:
Use scsipi_adapter_minphys().
diffstat:
sys/dev/scsipi/sd.c | 6 +++---
sys/dev/scsipi/ss.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r e211705ae49b -r a3730bb6c747 sys/dev/scsipi/sd.c
--- a/sys/dev/scsipi/sd.c Sat Mar 13 23:46:37 2004 +0000
+++ b/sys/dev/scsipi/sd.c Sun Mar 14 00:17:37 2004 +0000
@@ -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 <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 "rnd.h"
@@ -957,7 +957,7 @@
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 -r e211705ae49b -r a3730bb6c747 sys/dev/scsipi/ss.c
--- a/sys/dev/scsipi/ss.c Sat Mar 13 23:46:37 2004 +0000
+++ b/sys/dev/scsipi/ss.c Sun Mar 14 00:17:37 2004 +0000
@@ -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 <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/systm.h>
@@ -351,7 +351,7 @@
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
Home |
Main Index |
Thread Index |
Old Index