summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-08-28 00:18:30 +0000
committerchristos <christos@NetBSD.org>2006-08-28 00:18:30 +0000
commit87fd29be141dc42b7183ac36097bf41482567c9d (patch)
treef217dfe3c24f7d689235bf01f3bcdede5f687feb /sys/dev
parent9953ed71c77b5c1619fd781142291d51d570e84d (diff)
static goes first.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/eisa/cac_eisa.c8
-rw-r--r--sys/dev/pci/cac_pci.c12
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/eisa/cac_eisa.c b/sys/dev/eisa/cac_eisa.c
index efe848d7918..4b19ad0e535 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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/systm.h>
@@ -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 ac43d9674ef..893aa543d8a 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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/systm.h>
@@ -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 },