summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_devar.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 19:46:58 +0000
committerphk <phk@FreeBSD.org>2003-05-31 19:46:58 +0000
commited097ecfc23f83e296caeddd50a64ae21fc7f8d4 (patch)
treef86bba71d32ac601802573c5ef34bb31e5c93473 /sys/pci/if_devar.h
parentd5ebc72a62ad524d6a88d5854b25dd232d7cd5a3 (diff)
downloadFreeBSD-src-ed097ecfc23f83e296caeddd50a64ae21fc7f8d4.zip
FreeBSD-src-ed097ecfc23f83e296caeddd50a64ae21fc7f8d4.tar.gz
Move some FALLTHROUGH comments so they work.
Fix indentation error. Make boardid string long enough. Remove unused variable. Found by: FlexeLint
Diffstat (limited to 'sys/pci/if_devar.h')
-rw-r--r--sys/pci/if_devar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_devar.h b/sys/pci/if_devar.h
index f9e63b3..39ee922 100644
--- a/sys/pci/if_devar.h
+++ b/sys/pci/if_devar.h
@@ -609,7 +609,7 @@ struct _tulip_softc_t {
*/
u_int32_t tulip_setupbuf[192/sizeof(u_int32_t)];
u_int32_t tulip_setupdata[192/sizeof(u_int32_t)];
- char tulip_boardid[16]; /* buffer for board ID */
+ char tulip_boardid[17]; /* buffer for board ID */
u_int8_t tulip_rombuf[128];
u_int8_t tulip_pci_busno; /* needed for multiport boards */
u_int8_t tulip_pci_devno; /* needed for multiport boards */
OpenPOWER on IntegriCloud