1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Quirk for Pentax Optio 230 USB camera. Note that other products probably

use the underlying AsahiOptical USB chip and thus this quirk may need to
be generalized in the future.

PR:		kern/46369
Submitted by:	Tim Vanderhoek <vanderh@ecf.utoronto.ca>
MFC After:	3 days
This commit is contained in:
Nate Lawson 2003-03-11 01:55:11 +00:00
parent bc25d60d7c
commit 2a7e0bee37
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112075
2 changed files with 14 additions and 0 deletions

View File

@ -444,6 +444,15 @@ static struct da_quirk_entry da_quirk_table[] =
*/ */
{T_DIRECT, SIP_MEDIA_REMOVABLE, "LEXAR", "DIGITAL FILM", "*"}, {T_DIRECT, SIP_MEDIA_REMOVABLE, "LEXAR", "DIGITAL FILM", "*"},
/*quirks*/ DA_Q_NO_6_BYTE /*quirks*/ DA_Q_NO_6_BYTE
},
{
/*
* Pentax USB Optio 230 camera
* PR: kern/46369
*/
{T_DIRECT, SIP_MEDIA_REMOVABLE,
"PENTAX", "DIGITAL_CAMERA", "*"},
/*quirks*/ DA_Q_NO_6_BYTE
} }
}; };

View File

@ -322,6 +322,11 @@ struct umass_devdescr_t {
}; };
Static struct umass_devdescr_t umass_devdescrs[] = { Static struct umass_devdescr_t umass_devdescrs[] = {
{ USB_VENDOR_ASAHIOPTICAL, USB_PRODUCT_ASAHIOPTICAL_OPTIO230,
RID_WILDCARD,
UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I,
RS_NO_CLEAR_UA
},
{ USB_VENDOR_FUJIPHOTO, USB_PRODUCT_FUJIPHOTO_MASS0100, RID_WILDCARD, { USB_VENDOR_FUJIPHOTO, USB_PRODUCT_FUJIPHOTO_MASS0100, RID_WILDCARD,
UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I,
RS_NO_CLEAR_UA RS_NO_CLEAR_UA