Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/i2o Sync with ld.c.
details: https://anonhg.NetBSD.org/src/rev/3485608f9a35
branches: trunk
changeset: 503446:3485608f9a35
user: ad <ad%NetBSD.org@localhost>
date: Tue Feb 06 12:22:24 2001 +0000
description:
Sync with ld.c.
diffstat:
sys/dev/i2o/ld_iop.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r daa9f39e7d5d -r 3485608f9a35 sys/dev/i2o/ld_iop.c
--- a/sys/dev/i2o/ld_iop.c Tue Feb 06 11:40:02 2001 +0000
+++ b/sys/dev/i2o/ld_iop.c Tue Feb 06 12:22:24 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ld_iop.c,v 1.4 2001/01/03 21:01:29 ad Exp $ */
+/* $NetBSD: ld_iop.c,v 1.5 2001/02/06 12:22:24 ad Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -336,7 +336,7 @@
sc = (struct ld_iop_softc *)self;
- if ((rv = lddrain(&sc->sc_ld, flags)) != 0)
+ if ((rv = ldbegindetach(&sc->sc_ld, flags)) != 0)
return (rv);
iop = (struct iop_softc *)self->dv_parent;
@@ -349,7 +349,7 @@
iop_util_abort(iop, &sc->sc_ii, 0, 0,
I2O_UTIL_ABORT_WILD | I2O_UTIL_ABORT_CLEAN);
- lddetach(&sc->sc_ld);
+ ldenddetach(&sc->sc_ld);
/* Un-claim the target, and un-register us as an initiator. */
if ((sc->sc_ld.sc_flags & LDF_ENABLED) != 0) {
Home |
Main Index |
Thread Index |
Old Index