Module Name: src Committed By: joerg Date: Mon May 12 11:55:39 UTC 2014
Modified Files: src/sys/arch/x86/pci: pciide_machdep.c Log Message: buf is only used in the ioapic case. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x86/pci/pciide_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x86/pci/pciide_machdep.c diff -u src/sys/arch/x86/pci/pciide_machdep.c:1.12 src/sys/arch/x86/pci/pciide_machdep.c:1.13 --- src/sys/arch/x86/pci/pciide_machdep.c:1.12 Sat Mar 29 19:28:30 2014 +++ src/sys/arch/x86/pci/pciide_machdep.c Mon May 12 11:55:39 2014 @@ -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 @@ pciide_machdep_compat_intr_establish(dev void *cookie; #if NIOAPIC > 0 int mpih; -#endif char buf[PCI_INTRSTR_LEN]; +#endif irq = PCIIDE_COMPAT_IRQ(chan); cookie = isa_intr_establish(NULL, irq, IST_EDGE, IPL_BIO, func, arg);