Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix a inverted logic botch introduced in rev. 1....
details: https://anonhg.NetBSD.org/src/rev/8a7045881188
branches: trunk
changeset: 485877:8a7045881188
user: kleink <kleink%NetBSD.org@localhost>
date: Mon May 08 07:31:20 2000 +0000
description:
Fix a inverted logic botch introduced in rev. 1.35, typically causing
cb_chipset() to return the wrong chipset type.
diffstat:
sys/dev/pci/pccbb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c4b770fb1a7a -r 8a7045881188 sys/dev/pci/pccbb.c
--- a/sys/dev/pci/pccbb.c Mon May 08 06:09:57 2000 +0000
+++ b/sys/dev/pci/pccbb.c Mon May 08 07:31:20 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pccbb.c,v 1.38 2000/04/06 09:11:57 haya Exp $ */
+/* $NetBSD: pccbb.c,v 1.39 2000/05/08 07:31:20 kleink Exp $ */
/*
* Copyright (c) 1998, 1999 and 2000
@@ -356,7 +356,7 @@
/* Loop over except the last default entry. */
for (yc = yc_chipsets; yc < yc_chipsets +
sizeof(yc_chipsets) / sizeof(yc_chipsets[0]) - 1; yc++)
- if (pci_id != yc->yc_id)
+ if (pci_id == yc->yc_id)
break;
if (flagp != NULL)
Home |
Main Index |
Thread Index |
Old Index