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 Rename to 'pc' all variables 'pci_chipset_t...
details: https://anonhg.NetBSD.org/src/rev/0ebf3d901b4e
branches: trunk
changeset: 752380:0ebf3d901b4e
user: dyoung <dyoung%NetBSD.org@localhost>
date: Wed Feb 24 21:22:01 2010 +0000
description:
Rename to 'pc' all variables 'pci_chipset_tag'.
diffstat:
sys/arch/x86/x86/intr.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (67 lines):
diff -r e7804116211b -r 0ebf3d901b4e sys/arch/x86/x86/intr.c
--- a/sys/arch/x86/x86/intr.c Wed Feb 24 21:08:54 2010 +0000
+++ b/sys/arch/x86/x86/intr.c Wed Feb 24 21:22:01 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.66 2009/11/25 14:28:50 rmind Exp $ */
+/* $NetBSD: intr.c,v 1.67 2010/02/24 21:22:01 dyoung Exp $ */
/*-
* Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -133,7 +133,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.66 2009/11/25 14:28:50 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.67 2010/02/24 21:22:01 dyoung Exp $");
#include "opt_intrdebug.h"
#include "opt_multiprocessor.h"
@@ -325,7 +325,7 @@
static int
intr_find_pcibridge(int bus, pcitag_t *pci_bridge_tag,
- pci_chipset_tag_t *pci_chipset_tag)
+ pci_chipset_tag_t *pc)
{
struct intr_extra_bus *iebp;
struct mp_bus *mpb;
@@ -338,7 +338,7 @@
if (mpb->mb_pci_bridge_tag == NULL)
return ENOENT;
*pci_bridge_tag = *mpb->mb_pci_bridge_tag;
- *pci_chipset_tag = mpb->mb_pci_chipset_tag;
+ *pc = mpb->mb_pci_chipset_tag;
return 0;
}
@@ -347,7 +347,7 @@
if (iebp->pci_bridge_tag == NULL)
return ENOENT;
*pci_bridge_tag = *iebp->pci_bridge_tag;
- *pci_chipset_tag = iebp->pci_chipset_tag;
+ *pc = iebp->pci_chipset_tag;
return 0;
}
}
@@ -362,18 +362,18 @@
#if NPCI > 0
int dev, func;
pcitag_t pci_bridge_tag;
- pci_chipset_tag_t pci_chipset_tag;
+ pci_chipset_tag_t pc;
#endif
#if NPCI > 0
while (intr_scan_bus(bus, pin, handle) != 0) {
if (intr_find_pcibridge(bus, &pci_bridge_tag,
- &pci_chipset_tag) != 0)
+ &pc) != 0)
return ENOENT;
dev = pin >> 2;
pin = pin & 3;
pin = PPB_INTERRUPT_SWIZZLE(pin + 1, dev) - 1;
- pci_decompose_tag(pci_chipset_tag, pci_bridge_tag, &bus,
+ pci_decompose_tag(pc, pci_bridge_tag, &bus,
&dev, &func);
pin |= (dev << 2);
}
Home |
Main Index |
Thread Index |
Old Index