Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/pci remove PMAC_G5 kludge - fixed this else...
details: https://anonhg.NetBSD.org/src/rev/1067933a838c
branches: trunk
changeset: 786408:1067933a838c
user: macallan <macallan%NetBSD.org@localhost>
date: Sun Apr 28 00:45:45 2013 +0000
description:
remove PMAC_G5 kludge - fixed this elsewhere
diffstat:
sys/arch/powerpc/pci/pci_machdep_common.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diffs (37 lines):
diff -r 4158e97fece9 -r 1067933a838c sys/arch/powerpc/pci/pci_machdep_common.c
--- a/sys/arch/powerpc/pci/pci_machdep_common.c Sun Apr 28 00:44:27 2013 +0000
+++ b/sys/arch/powerpc/pci/pci_machdep_common.c Sun Apr 28 00:45:45 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep_common.c,v 1.17 2013/04/11 18:14:40 macallan Exp $ */
+/* $NetBSD: pci_machdep_common.c,v 1.18 2013/04/28 00:45:45 macallan Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep_common.c,v 1.17 2013/04/11 18:14:40 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep_common.c,v 1.18 2013/04/28 00:45:45 macallan Exp $");
#define _POWERPC_BUS_DMA_PRIVATE
@@ -167,17 +167,12 @@
printf("%s: pin: %d, line: %d\n", __func__, pin, line);
#endif
-/*
- * XXX
- * on my G5 some devices are configured with pin == 0 but a valid IRQ line
- */
-#ifndef PMAC_G5
if (pin == 0) {
/* No IRQ used. */
aprint_error("pci_intr_map: interrupt pin %d\n", pin);
goto bad;
}
-#endif
+
if (pin > 4) {
aprint_error("pci_intr_map: bad interrupt pin %d\n", pin);
goto bad;
Home |
Main Index |
Thread Index |
Old Index