static goes first.

This commit is contained in:
christos 2006-08-28 00:18:30 +00:00
parent 9953ed71c7
commit 87fd29be14
2 changed files with 10 additions and 10 deletions

View File

@ -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 },

View File

@ -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 },