Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/x86 Cosmetic: abbreviate: use `pc' instead of `...
details: https://anonhg.NetBSD.org/src/rev/88c6dbaa376b
branches: trunk
changeset: 753192:88c6dbaa376b
user: dyoung <dyoung%NetBSD.org@localhost>
date: Fri Mar 19 23:27:12 2010 +0000
description:
Cosmetic: abbreviate: use `pc' instead of `pci_chipset_tag'.
diffstat:
sys/arch/xen/x86/intr.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (61 lines):
diff -r 58bceebd67be -r 88c6dbaa376b sys/arch/xen/x86/intr.c
--- a/sys/arch/xen/x86/intr.c Fri Mar 19 22:08:13 2010 +0000
+++ b/sys/arch/xen/x86/intr.c Fri Mar 19 23:27:12 2010 +0000
@@ -103,7 +103,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.26 2009/08/18 16:41:03 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.27 2010/03/19 23:27:12 dyoung Exp $");
#include "opt_multiprocessor.h"
#include "opt_xen.h"
@@ -341,7 +341,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;
@@ -354,7 +354,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;
}
@@ -363,7 +363,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;
}
}
@@ -376,18 +376,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