Module Name: src Committed By: joerg Date: Wed Jul 30 10:50:54 UTC 2014
Modified Files: src/sys/arch/powerpc/booke/pci: pq3pci.c Log Message: pq3pci_config_addr_read is only used in a #if 0 block, so hide it under the same condition. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/powerpc/booke/pci/pq3pci.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/powerpc/booke/pci/pq3pci.c diff -u src/sys/arch/powerpc/booke/pci/pq3pci.c:1.16 src/sys/arch/powerpc/booke/pci/pq3pci.c:1.17 --- src/sys/arch/powerpc/booke/pci/pq3pci.c:1.16 Sat Mar 29 19:28:29 2014 +++ src/sys/arch/powerpc/booke/pci/pq3pci.c Wed Jul 30 10:50:54 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: pq3pci.c,v 1.16 2014/03/29 19:28:29 christos Exp $ */ +/* $NetBSD: pq3pci.c,v 1.17 2014/07/30 10:50:54 joerg Exp $ */ /*- * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc. * All rights reserved. @@ -44,7 +44,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pq3pci.c,v 1.16 2014/03/29 19:28:29 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pq3pci.c,v 1.17 2014/07/30 10:50:54 joerg Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -998,6 +998,7 @@ pq3pci_make_tag(void *v, int bus, int de return (bus << 16) | (dev << 11) | (func << 8); } +#if 0 static inline pcitag_t pq3pci_config_addr_read(pci_chipset_tag_t pc) { @@ -1006,6 +1007,7 @@ pq3pci_config_addr_read(pci_chipset_tag_ __asm volatile("mbar\n\tmsync"); return v; } +#endif static inline void pq3pci_config_addr_write(pci_chipset_tag_t pc, pcitag_t v)