<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/usb/ulpt.c, branch master</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=master</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2009-02-23T18:16:17Z</updated>
<entry>
<title>Move usb to a graveyard location under sys/legacy/dev, it is intended that the</title>
<updated>2009-02-23T18:16:17Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-02-23T18:16:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3975e3a1eac3dd9077dc4523a8def1606ff1559c'/>
<id>urn:sha1:3975e3a1eac3dd9077dc4523a8def1606ff1559c</id>
<content type='text'>
new USB2 stack will fully replace this for 8.0.

Remove kernel modules, a subsequent commit will update conf/files. Unhook
usbdevs from the build.
</content>
</entry>
<entry>
<title>Replace all calls to minor() with dev2unit().</title>
<updated>2008-09-27T08:51:18Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2008-09-27T08:51:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6bfa9a2d66dd0e00182017d6741d44e54d0b2cca'/>
<id>urn:sha1:6bfa9a2d66dd0e00182017d6741d44e54d0b2cca</id>
<content type='text'>
After I removed all the unit2minor()/minor2unit() calls from the kernel
yesterday, I realised calling minor() everywhere is quite confusing.
Character devices now only have the ability to store a unit number, not
a minor number. Remove the confusion by using dev2unit() everywhere.

This commit could also be considered as a bug fix. A lot of drivers call
minor(), while they should actually be calling dev2unit(). In -CURRENT
this isn't a problem, but it turns out we never had any problem reports
related to that issue in the past. I suspect not many people connect
more than 256 pieces of the same hardware.

Reviewed by:	kib
</content>
</entry>
<entry>
<title>Latest round of usb cleanups:</title>
<updated>2007-06-21T14:42:34Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-06-21T14:42:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bbc84740c17578667d00b064cbd66ab0442a54bd'/>
<id>urn:sha1:bbc84740c17578667d00b064cbd66ab0442a54bd</id>
<content type='text'>
o Consistently use device_foo_t and bus_foo_t for functions implementing
  device_foo and bus_foo respectively.  Adjust those routines that were wrong
  (we should do this throughout the tree).
o make all the modules depend on usb.  Otherwise these modules won't
  load.
o ucycom doesn't need usb_port.h
o Minor unifdefing
o uhub, umass, ums, urio, uscanner conversion complete.
o ukbd: Remove the NO_SET_PROTO quirk (fixes a PR 77940).  NetBSD removed
  their check and setting the proto a long time ago.
o umodem panic fixed.  UQ_ASSUME_CM_OVER_DATA quirk removed because I've never
  seen a umodem that needed this rejection for proection (this gets rid of
  ~20% of the quirks).

Approved by: re@ (kensmith)
PR: 77940
</content>
</entry>
<entry>
<title>s/logprintf/printf/g</title>
<updated>2007-06-20T05:11:37Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-06-20T05:11:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7bd250d818d0c57ec9b4eb56d71396779d65846f'/>
<id>urn:sha1:7bd250d818d0c57ec9b4eb56d71396779d65846f</id>
<content type='text'>
Approved by: re@
</content>
</entry>
<entry>
<title>Expand usb_port.h macros.</title>
<updated>2007-06-18T22:30:08Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-06-18T22:30:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bd6bb6970589700e577c202913f5c777c7dff535'/>
<id>urn:sha1:bd6bb6970589700e577c202913f5c777c7dff535</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Expand USB_MATCH_START</title>
<updated>2007-06-17T16:24:49Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-06-17T16:24:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fc5d4313631938291c4dd8eb21f391ec889633cb'/>
<id>urn:sha1:fc5d4313631938291c4dd8eb21f391ec889633cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Expand USB_DETACH, USB_ATTACH and USB_MATCH inline.  No functional</title>
<updated>2007-06-13T05:37:59Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-06-13T05:37:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=778e5b6687a9e696ba2a5ab498feca65c0fc19ba'/>
<id>urn:sha1:778e5b6687a9e696ba2a5ab498feca65c0fc19ba</id>
<content type='text'>
change, and MD5's appear to be the same.
</content>
</entry>
<entry>
<title>Eliminate usb_thread_t.</title>
<updated>2007-06-12T17:30:54Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-06-12T17:30:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4f9929e80f673867f34257a2571612c55ed57dfe'/>
<id>urn:sha1:4f9929e80f673867f34257a2571612c55ed57dfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove USBDEV() macro.  We do not need a macro that is defined as its</title>
<updated>2007-06-12T16:52:07Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-06-12T16:52:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0f5a2cb6b7e1bfba1f56b7874c09231f3e7aa24d'/>
<id>urn:sha1:0f5a2cb6b7e1bfba1f56b7874c09231f3e7aa24d</id>
<content type='text'>
only argument.  It was used inconsistently in the tree, so remove it.
</content>
</entry>
<entry>
<title>Expand USB_ATTACH_{ERROR,SUCCESS}_RETURN inline and eliminate from</title>
<updated>2007-06-12T15:37:19Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-06-12T15:37:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=645016c0e428f5acb73007eb3c79ab0aee92ffa5'/>
<id>urn:sha1:645016c0e428f5acb73007eb3c79ab0aee92ffa5</id>
<content type='text'>
usb_port.h.  They aren't needed, and are a legacy of this code's past.
</content>
</entry>
</feed>
