diff options
-rw-r--r-- | sys/arch/mvme68k/dev/sbic.c | 4 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/ssh.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/dev/sbic.c b/sys/arch/mvme68k/dev/sbic.c index 1d96a9f776e..5eefab96da7 100644 --- a/sys/arch/mvme68k/dev/sbic.c +++ b/sys/arch/mvme68k/dev/sbic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbic.c,v 1.18 2007/05/28 22:17:21 pyr Exp $ */ +/* $OpenBSD: sbic.c,v 1.19 2007/05/29 13:56:14 pyr Exp $ */ /* $NetBSD: sbic.c,v 1.2 1996/04/23 16:32:54 chuck Exp $ */ /* @@ -644,7 +644,7 @@ sbic_scsidone(acb, stat) dosched = 1; /* start next command */ } else - if (TAILQ_LAST(&dev->ready_list) == TAILQ_NEXT(acb, chain)) { + if (TAILQ_LAST(&dev->ready_list, acb_list) == TAILQ_NEXT(acb, chain)) { TAILQ_REMOVE(&dev->ready_list, acb, chain); diff --git a/sys/arch/mvme68k/dev/ssh.c b/sys/arch/mvme68k/dev/ssh.c index a92aae8a528..fd35217ec73 100644 --- a/sys/arch/mvme68k/dev/ssh.c +++ b/sys/arch/mvme68k/dev/ssh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.15 2007/05/28 22:17:21 pyr Exp $ */ +/* $OpenBSD: ssh.c,v 1.16 2007/05/29 13:56:13 pyr Exp $ */ /* * Copyright (c) 1994 Michael L. Hitch @@ -392,7 +392,8 @@ ssh_scsidone(acb, stat) dosched = 1; /* start next command */ --sc->sc_active; SSH_TRACE('d','a',stat,0) - } else if (TAILQ_LAST(&sc->ready_list) == TAILQ_NEXT(acb, chain)) { + } else if (TAILQ_LAST(&sc->ready_list, acb_list) == + TAILQ_NEXT(acb, chain)) { TAILQ_REMOVE(&sc->ready_list, acb, chain); SSH_TRACE('d','r',stat,0) } else { |