summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bcwvar.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2007-01-05 07:09:16 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2007-01-05 07:09:16 +0000
commitad5b22b647b348e50ba6b3257406c9e145c96467 (patch)
treeaeca5a7a858b66500262ef5ac4378a0f78b76c20 /sys/dev/ic/bcwvar.h
parentdb7b8ed5deb8ec4a0a1f08bc4f382ec61b144f2d (diff)
First shot of making the driver capable to parse several firmware files
from one single file. Suggested and help by deraadt@
Diffstat (limited to 'sys/dev/ic/bcwvar.h')
-rw-r--r--sys/dev/ic/bcwvar.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/ic/bcwvar.h b/sys/dev/ic/bcwvar.h
index 1784c34e0d5..52c19db35eb 100644
--- a/sys/dev/ic/bcwvar.h
+++ b/sys/dev/ic/bcwvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcwvar.h,v 1.11 2007/01/03 06:31:54 mglocker Exp $ */
+/* $OpenBSD: bcwvar.h,v 1.12 2007/01/05 07:09:15 mglocker Exp $ */
/*
* Copyright (c) 2006 Jon Simola <jsimola@gmail.com>
@@ -23,6 +23,12 @@
* Cliff Wright cliff@snipe444.org
*/
+struct fwheader {
+ char filename[64];
+ int filesize;
+ int fileoffset;
+};
+
struct bcw_initval {
uint16_t offset;
uint16_t size;