Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 intr_find_pcibridge returns 0 or error, not...
details: https://anonhg.NetBSD.org/src/rev/cf8232aa74a5
branches: trunk
changeset: 555000:cf8232aa74a5
user: fvdl <fvdl%NetBSD.org@localhost>
date: Thu Nov 06 23:04:03 2003 +0000
description:
intr_find_pcibridge returns 0 or error, not < 0.
diffstat:
sys/arch/x86/x86/intr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3b7a79a4b770 -r cf8232aa74a5 sys/arch/x86/x86/intr.c
--- a/sys/arch/x86/x86/intr.c Thu Nov 06 23:02:27 2003 +0000
+++ b/sys/arch/x86/x86/intr.c Thu Nov 06 23:04:03 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.11 2003/10/30 21:19:54 fvdl Exp $ */
+/* $NetBSD: intr.c,v 1.12 2003/11/06 23:04:03 fvdl Exp $ */
/*
* Copyright 2002 (c) Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.11 2003/10/30 21:19:54 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.12 2003/11/06 23:04:03 fvdl Exp $");
#include "opt_multiprocessor.h"
@@ -259,7 +259,7 @@
#if NPCI > 0
while (intr_scan_bus(bus, pin, handle) != 0) {
if (intr_find_pcibridge(bus, &pci_bridge_tag,
- &pci_chipset_tag) < 0)
+ &pci_chipset_tag) != 0)
return ENOENT;
dev = pin >> 2;
pin = pin & 3;
Home |
Main Index |
Thread Index |
Old Index