Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/dev Don't panic is no class-code, just retu...
details: https://anonhg.NetBSD.org/src/rev/74dd145b5332
branches: trunk
changeset: 526900:74dd145b5332
user: matt <matt%NetBSD.org@localhost>
date: Mon May 13 13:59:21 2002 +0000
description:
Don't panic is no class-code, just return. Needed for NetraX1.
diffstat:
sys/arch/sparc64/dev/ofpci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 998573d49fd8 -r 74dd145b5332 sys/arch/sparc64/dev/ofpci.c
--- a/sys/arch/sparc64/dev/ofpci.c Mon May 13 13:52:31 2002 +0000
+++ b/sys/arch/sparc64/dev/ofpci.c Mon May 13 13:59:21 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofpci.c,v 1.2 2002/05/06 22:20:07 eeh Exp $ */
+/* $NetBSD: ofpci.c,v 1.3 2002/05/13 13:59:21 matt Exp $ */
/*
* Copyright (c) 2002 Eduardo Horvath. All rights reserved.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofpci.c,v 1.2 2002/05/06 22:20:07 eeh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofpci.c,v 1.3 2002/05/13 13:59:21 matt Exp $");
#include "opt_pci.h"
@@ -139,7 +139,7 @@
if (OF_getprop(node, "class-code", &class, sizeof(class))
!= sizeof(class))
- panic("ofpciattach: %s no device class", getname(node));
+ return;
class = pci_conf_read(pc, tag, PCI_CLASS_REG);
Home |
Main Index |
Thread Index |
Old Index