Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Fix reverted condition. Fix panic reported by Pat...
details: https://anonhg.NetBSD.org/src/rev/f1dfee3c4ba8
branches: trunk
changeset: 789142:f1dfee3c4ba8
user: bouyer <bouyer%NetBSD.org@localhost>
date: Thu Aug 08 17:38:56 2013 +0000
description:
Fix reverted condition. Fix panic reported by Patrick Welche on
current-users with an ATAPI device connected to siisata.
diffstat:
sys/dev/ic/siisata.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ab415f77c315 -r f1dfee3c4ba8 sys/dev/ic/siisata.c
--- a/sys/dev/ic/siisata.c Thu Aug 08 16:43:13 2013 +0000
+++ b/sys/dev/ic/siisata.c Thu Aug 08 17:38:56 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: siisata.c,v 1.26 2013/06/22 05:41:25 matt Exp $ */
+/* $NetBSD: siisata.c,v 1.27 2013/08/08 17:38:56 bouyer Exp $ */
/* from ahcisata_core.c */
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.26 2013/06/22 05:41:25 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.27 2013/08/08 17:38:56 bouyer Exp $");
#include <sys/types.h>
#include <sys/malloc.h>
@@ -1417,7 +1417,7 @@
return;
/* if no ATAPI device detected at attach time, skip */
- if (drvp->drive_type == ATA_DRIVET_ATAPI) {
+ if (drvp->drive_type != ATA_DRIVET_ATAPI) {
SIISATA_DEBUG_PRINT(("%s: drive %d "
"not present\n", __func__, target), DEBUG_PROBE);
return;
Home |
Main Index |
Thread Index |
Old Index