Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm32/podulebus Make this build again.
details: https://anonhg.NetBSD.org/src/rev/e4b03e7e8326
branches: trunk
changeset: 477613:e4b03e7e8326
user: mark <mark%NetBSD.org@localhost>
date: Sun Oct 24 22:19:47 1999 +0000
description:
Make this build again.
diffstat:
sys/arch/arm32/podulebus/sfas.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r bb29c7a9d16d -r e4b03e7e8326 sys/arch/arm32/podulebus/sfas.c
--- a/sys/arch/arm32/podulebus/sfas.c Sun Oct 24 19:56:31 1999 +0000
+++ b/sys/arch/arm32/podulebus/sfas.c Sun Oct 24 22:19:47 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sfas.c,v 1.15 1999/09/30 22:59:54 thorpej Exp $ */
+/* $NetBSD: sfas.c,v 1.16 1999/10/24 22:19:47 mark Exp $ */
/*
* Copyright (c) 1995 Scott Stevens
@@ -231,7 +231,7 @@
slp = xs->sc_link;
dev = slp->adapter_softc;
- flags = xs->xs_flags;
+ flags = xs->xs_control;
target = slp->scsipi_scsi.target;
if (flags & XS_CTL_DATA_UIO)
@@ -281,7 +281,7 @@
* acknowledged the reset. After that we have to wait a reset to select
* delay before anything else can happend.
*/
- if (pendp->xs->xs_flags & XS_CTL_RESET) {
+ if (pendp->xs->xs_control & XS_CTL_RESET) {
struct nexus *nexus;
s = splbio();
@@ -311,7 +311,7 @@
* If we are polling, go to splbio and perform the command, else we poke
* the scsi-bus via sfasgo to get the interrupt machine going.
*/
- if (pendp->xs->xs_flags & XS_CTL_POLL) {
+ if (pendp->xs->xs_control & XS_CTL_POLL) {
s = splbio();
sfasicmd(dev, pendp);
TAILQ_INSERT_TAIL(&dev->sc_xs_free, pendp, link);
@@ -1288,7 +1288,7 @@
/* We should use polled IO here. */
if (dev->sc_dma_blk_flg == SFAS_CHAIN_PRG) {
- dev->sc_ixfer(dev, nexus->xs->xs_flags & XS_CTL_POLL);
+ dev->sc_ixfer(dev, nexus->xs->xs_control & XS_CTL_POLL);
dev->sc_cur_link++;
dev->sc_dma_len = 0;
break;
Home |
Main Index |
Thread Index |
Old Index