diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-12-22 09:34:47 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-12-22 09:34:47 +0000 |
commit | b494a2469d311cf792fa04b3bf00e0cda020f828 (patch) | |
tree | 58f94e96be203012ef3322ec32eeccd072f2ee82 /sys/dev/usb/uvideo.h | |
parent | 6dbbd06201c3065a37f96ae9125f939a9e72e4d0 (diff) |
Add firmware load for Apple iSight first generation devices
(0x05ac:8300 before firmware load, 0x05ac:0x8501 after firmware load).
Also those devices have a own stream header procotol for which we've
added a seperate stream header decode function, which does not work yet.
A jointventure work with robert@
Diffstat (limited to 'sys/dev/usb/uvideo.h')
-rw-r--r-- | sys/dev/usb/uvideo.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/uvideo.h b/sys/dev/usb/uvideo.h index 350845792f2..5af45a8f7ae 100644 --- a/sys/dev/usb/uvideo.h +++ b/sys/dev/usb/uvideo.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvideo.h,v 1.42 2008/12/17 18:14:46 mglocker Exp $ */ +/* $OpenBSD: uvideo.h,v 1.43 2008/12/22 09:34:46 mglocker Exp $ */ /* * Copyright (c) 2007 Robert Nagy <robert@openbsd.org> @@ -554,6 +554,7 @@ struct uvideo_controls { struct uvideo_softc { struct device sc_dev; + struct usb_attach_arg *sc_uaa; usbd_device_handle sc_udev; struct device *sc_videodev; @@ -601,4 +602,7 @@ struct uvideo_softc { void (*sc_uplayer_intr)(void *); struct uvideo_devs *sc_quirk; + usbd_status (*sc_decode_stream_header) + (struct uvideo_softc *, + uint8_t *, int); }; |