Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/macppc/macppc remove some commented out / unused junk
details: https://anonhg.NetBSD.org/src/rev/a00c79620c56
branches: trunk
changeset: 779092:a00c79620c56
user: macallan <macallan%NetBSD.org@localhost>
date: Wed May 02 00:55:26 2012 +0000
description:
remove some commented out / unused junk
diffstat:
sys/arch/macppc/macppc/pic_heathrow.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (39 lines):
diff -r e8476dd7662d -r a00c79620c56 sys/arch/macppc/macppc/pic_heathrow.c
--- a/sys/arch/macppc/macppc/pic_heathrow.c Tue May 01 18:28:47 2012 +0000
+++ b/sys/arch/macppc/macppc/pic_heathrow.c Wed May 02 00:55:26 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pic_heathrow.c,v 1.8 2012/03/13 18:24:54 macallan Exp $ */
+/* $NetBSD: pic_heathrow.c,v 1.9 2012/05/02 00:55:26 macallan Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic_heathrow.c,v 1.8 2012/03/13 18:24:54 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic_heathrow.c,v 1.9 2012/05/02 00:55:26 macallan Exp $");
#include "opt_interrupt.h"
@@ -70,7 +70,6 @@
#define INT_ENABLE_REG_L ((uint32_t)pic->pic_cookie + 0x24)
#define INT_CLEAR_REG_L ((uint32_t)pic->pic_cookie + 0x28)
#define INT_LEVEL_REG_L ((uint32_t)pic->pic_cookie + 0x2c)
-#define INT_LEVEL_MASK_HEATHROW 0x1ff00000
static const char *compat[] = {
"heathrow",
@@ -201,10 +200,10 @@
/* first the low 32 IRQs */
irqs = in32rb(INT_STATE_REG_L);
- events = irqs & ~heathrow->level_mask_l/*INT_LEVEL_MASK_HEATHROW*/;
+ events = irqs & ~heathrow->level_mask_l;
levels = in32rb(INT_LEVEL_REG_L) & heathrow->enable_mask_l;
- events |= levels & heathrow->level_mask_l/*INT_LEVEL_MASK_HEATHROW*/;
+ events |= levels & heathrow->level_mask_l;
out32rb(INT_CLEAR_REG_L, events | irqs);
heathrow->pending_events_l |= events;
Home |
Main Index |
Thread Index |
Old Index