diff options
| author | christos <christos@NetBSD.org> | 2006-09-02 18:59:46 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-09-02 18:59:46 +0000 |
| commit | 3cd45450e8abbbfbaa942dacca3c4c0c99540a0c (patch) | |
| tree | 1d233047dfc2fa99b1fc90a588b5bafc90bd25de /sys/dev | |
| parent | bd4bd1bf9d2c5092ea5e46c8bac8390a9664e5dc (diff) | |
redo with c99 initializers
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pcmcia/pcmcia_cis.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/pcmcia/pcmcia_cis.c b/sys/dev/pcmcia/pcmcia_cis.c index b6763279346..83026ef6f33 100644 --- a/sys/dev/pcmcia/pcmcia_cis.c +++ b/sys/dev/pcmcia/pcmcia_cis.c @@ -1,4 +1,4 @@ -/* $NetBSD: pcmcia_cis.c,v 1.47 2006/09/02 18:58:02 christos Exp $ */ +/* $NetBSD: pcmcia_cis.c,v 1.48 2006/09/02 18:59:46 christos Exp $ */ /* * Copyright (c) 1997 Marc Horowitz. All rights reserved. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pcmcia_cis.c,v 1.47 2006/09/02 18:58:02 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pcmcia_cis.c,v 1.48 2006/09/02 18:59:46 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -997,8 +997,10 @@ decode_config(struct pcmcia_tuple *tuple, struct cis_state *state) int i; /* most of these are educated guesses */ static const struct pcmcia_config_entry init_cfe = { - -1, PCMCIA_CFE_RDYBSY_ACTIVE | PCMCIA_CFE_WP_ACTIVE | - PCMCIA_CFE_BVD_ACTIVE, PCMCIA_IFTYPE_MEMORY, 0, + .number = -1, + .flags = PCMCIA_CFE_RDYBSY_ACTIVE | PCMCIA_CFE_WP_ACTIVE | + PCMCIA_CFE_BVD_ACTIVE, + .iftype = PCMCIA_IFTYPE_MEMORY, }; if (tuple->length < 3) { |
