diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2010-11-10 23:45:44 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2010-11-10 23:45:44 +0000 |
commit | 7c21b2dc776561c04503f878a0243a3db8dd2830 (patch) | |
tree | 864b95a8e4dea201e9d9519e02013ce8680b1ef1 /sys/dev/usb | |
parent | b6be89dafb57647fcbf35b3bec2f2ac1a25e019a (diff) | |
download | FreeBSD-src-7c21b2dc776561c04503f878a0243a3db8dd2830.zip FreeBSD-src-7c21b2dc776561c04503f878a0243a3db8dd2830.tar.gz |
Add a man page for usb_quirk module, plus references in other man pages,
and updated comments in the usb_quirk.h header file.
The main purpose of this is to expose the quirks for ejecting 3G
modules. usb_modeswitch in Linux does a great job of collecting
information on these, and with the quirks module people can try out the
modeswitch config file entries on FreeBSD, hence the SCSI strings in the
man page.
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/quirk/usb_quirk.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/dev/usb/quirk/usb_quirk.h b/sys/dev/usb/quirk/usb_quirk.h index 856ab89..522b15a 100644 --- a/sys/dev/usb/quirk/usb_quirk.h +++ b/sys/dev/usb/quirk/usb_quirk.h @@ -27,11 +27,14 @@ #ifndef _USB_QUIRK_H_ #define _USB_QUIRK_H_ -/* NOTE: UQ_NONE is not a valid quirk */ -enum { /* keep in sync with usb_quirk_str table */ - UQ_NONE, +enum { + /* + * Keep in sync with theusb_quirk_str usb_quirk.c, and with the + * share/man/man4/usb_quirk.4 + */ + UQ_NONE, /* not a valid quirk */ - UQ_MATCH_VENDOR_ONLY, + UQ_MATCH_VENDOR_ONLY, /* match quirk on vendor only */ /* Various quirks */ |