summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uvideo.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2008-12-08 18:33:25 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2008-12-08 18:33:25 +0000
commitf49aebbb93650c2023460bd0d2f197517c9e39a0 (patch)
tree8bbc7279f507a69e68718e1b1e68837e837745b9 /sys/dev/usb/uvideo.h
parentede7c75fd01889b9a6b965f689e1f1d525c45042 (diff)
Add ability to load firmware for devices which require it.
Tested by deraadt@ and myself.
Diffstat (limited to 'sys/dev/usb/uvideo.h')
-rw-r--r--sys/dev/usb/uvideo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/uvideo.h b/sys/dev/usb/uvideo.h
index d8fc68cd0e2..8e422eda018 100644
--- a/sys/dev/usb/uvideo.h
+++ b/sys/dev/usb/uvideo.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvideo.h,v 1.39 2008/12/05 10:44:52 mglocker Exp $ */
+/* $OpenBSD: uvideo.h,v 1.40 2008/12/08 18:33:24 mglocker Exp $ */
/*
* Copyright (c) 2007 Robert Nagy <robert@openbsd.org>
@@ -558,6 +558,8 @@ struct uvideo_softc {
struct device *sc_videodev;
+#define UVIDEO_FLAGS_NEED_UCODE 0x1
+ int sc_flags;
int sc_enabled;
int sc_dying;
int sc_max_fbuf_size;
@@ -599,4 +601,6 @@ struct uvideo_softc {
int *sc_uplayer_fsize;
uint8_t *sc_uplayer_fbuffer;
void (*sc_uplayer_intr)(void *);
+
+ struct uvideo_ucode *sc_ucode;
};