Bug 177896

Summary: man page for usb_quirk suggests adding device to kernel which causes error
Product: Base System Reporter: Leif Velcro <velcroleaf>
Component: usbAssignee: freebsd-usb (Nobody) <usb>
Status: Closed FIXED    
Severity: Affects Only Me CC: miwi
Priority: Normal    
Version: 9.1-RELEASE   
Hardware: Any   
OS: Any   

Description Leif Velcro 2013-04-17 06:40:00 UTC
At the beginning of the usb_quirk(4) man page, it says:

To compile this module into the kernel, place the following line in your kernel configuration file:

           device usb_quirk

When I add that to my custom kernel and try to build, building fails with the following error:

config: Error: device "usb_quirk" is unknown

How-To-Repeat: # man usb_quirk
Comment 1 dfilter service freebsd_committer freebsd_triage 2013-04-21 17:09:42 UTC
Author: hselasky
Date: Sun Apr 21 16:09:35 2013
New Revision: 249726
URL: http://svnweb.freebsd.org/changeset/base/249726

Log:
  Fix manual page.
  
  PR:		usb/177896
  Submitted by:	Leif Velcro <velcroleaf@rocketmail.com>

Modified:
  head/share/man/man4/usb_quirk.4

Modified: head/share/man/man4/usb_quirk.4
==============================================================================
--- head/share/man/man4/usb_quirk.4	Sun Apr 21 16:02:50 2013	(r249725)
+++ head/share/man/man4/usb_quirk.4	Sun Apr 21 16:09:35 2013	(r249726)
@@ -16,7 +16,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 8, 2012
+.Dd April 21, 2013
 .Dt USB_QUIRK 4
 .Os
 .Sh NAME
@@ -27,7 +27,7 @@ To compile this module into the kernel,
 place the following line in your
 kernel configuration file:
 .Bd -ragged -offset indent
-.Cd "device usb_quirk"
+.Cd "device usb"
 .Ed
 .Pp
 Alternatively, to load the module at boot
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2015-12-25 04:51:59 UTC
Committed 2013-04-22; close