From 87fd29be141dc42b7183ac36097bf41482567c9d Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 28 Aug 2006 00:18:30 +0000 Subject: [PATCH] static goes first. --- sys/dev/eisa/cac_eisa.c | 8 ++++---- sys/dev/pci/cac_pci.c | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sys/dev/eisa/cac_eisa.c b/sys/dev/eisa/cac_eisa.c index efe848d7918b..4b19ad0e535f 100644 --- a/sys/dev/eisa/cac_eisa.c +++ b/sys/dev/eisa/cac_eisa.c @@ -1,4 +1,4 @@ -/* $NetBSD: cac_eisa.c,v 1.12 2006/03/29 06:32:36 thorpej Exp $ */ +/* $NetBSD: cac_eisa.c,v 1.13 2006/08/28 00:18:30 christos Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -68,7 +68,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cac_eisa.c,v 1.12 2006/03/29 06:32:36 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cac_eisa.c,v 1.13 2006/08/28 00:18:30 christos Exp $"); #include #include @@ -107,11 +107,11 @@ static const struct cac_linkage cac_eisa_l0 = { cac_eisa_l0_submit }; -struct cac_eisa_type { +static struct cac_eisa_type { const char *ct_prodstr; const char *ct_typestr; const struct cac_linkage *ct_linkage; -} static cac_eisa_type[] = { +} cac_eisa_type[] = { { "CPQ4001", "IDA", &cac_eisa_l0 }, { "CPQ4002", "IDA-2", &cac_eisa_l0 }, { "CPQ4010", "IEAS", &cac_eisa_l0 }, diff --git a/sys/dev/pci/cac_pci.c b/sys/dev/pci/cac_pci.c index ac43d9674ef7..893aa543d8a1 100644 --- a/sys/dev/pci/cac_pci.c +++ b/sys/dev/pci/cac_pci.c @@ -1,4 +1,4 @@ -/* $NetBSD: cac_pci.c,v 1.20 2005/12/11 12:22:48 christos Exp $ */ +/* $NetBSD: cac_pci.c,v 1.21 2006/08/28 00:18:30 christos Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cac_pci.c,v 1.20 2005/12/11 12:22:48 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cac_pci.c,v 1.21 2006/08/28 00:18:30 christos Exp $"); #include #include @@ -74,12 +74,12 @@ static const struct cac_linkage cac_pci_l0 = { #define CT_STARTFW 0x01 /* Need to start controller firmware */ -struct cac_pci_type { +static struct cac_pci_type { int ct_subsysid; int ct_flags; const struct cac_linkage *ct_linkage; const char *ct_typestr; -} static const cac_pci_type[] = { +} const cac_pci_type[] = { { 0x40300e11, 0, &cac_l0, "SMART-2/P" }, { 0x40310e11, 0, &cac_l0, "SMART-2SL" }, { 0x40320e11, 0, &cac_l0, "Smart Array 3200" }, @@ -92,10 +92,10 @@ struct cac_pci_type { { 0x40580e11, 0, &cac_pci_l0, "Smart Array 431" }, }; -struct cac_pci_product { +static struct cac_pci_product { u_short cp_vendor; u_short cp_product; -} static const cac_pci_product[] = { +} const cac_pci_product[] = { { PCI_VENDOR_COMPAQ, PCI_PRODUCT_COMPAQ_SMART2P }, { PCI_VENDOR_DEC, PCI_PRODUCT_DEC_21554 }, { PCI_VENDOR_SYMBIOS, PCI_PRODUCT_SYMBIOS_1510 },