Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/pci buf is only used in the ioapic case.



details:   https://anonhg.NetBSD.org/src/rev/ce3bf6367578
branches:  trunk
changeset: 329155:ce3bf6367578
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon May 12 11:55:39 2014 +0000

description:
buf is only used in the ioapic case.

diffstat:

 sys/arch/x86/pci/pciide_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r ab825ee22385 -r ce3bf6367578 sys/arch/x86/pci/pciide_machdep.c
--- a/sys/arch/x86/pci/pciide_machdep.c Mon May 12 11:51:35 2014 +0000
+++ b/sys/arch/x86/pci/pciide_machdep.c Mon May 12 11:55:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciide_machdep.c,v 1.12 2014/03/29 19:28:30 christos Exp $     */
+/*     $NetBSD: pciide_machdep.c,v 1.13 2014/05/12 11:55:39 joerg Exp $        */
 
 /*
  * Copyright (c) 1998 Christopher G. Demetriou.  All rights reserved.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.12 2014/03/29 19:28:30 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.13 2014/05/12 11:55:39 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -70,8 +70,8 @@
        void *cookie;
 #if NIOAPIC > 0
        int mpih;
+       char buf[PCI_INTRSTR_LEN];
 #endif
-       char buf[PCI_INTRSTR_LEN];
 
        irq = PCIIDE_COMPAT_IRQ(chan);
        cookie = isa_intr_establish(NULL, irq, IST_EDGE, IPL_BIO, func, arg);



Home | Main Index | Thread Index | Old Index