<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/modules/usb, branch release/4.7.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F4.7.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F4.7.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2002-10-08T05:39:08Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2002-10-08T05:39:08Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2002-10-08T05:39:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e1b05e3a6cd90b0bf91b47aeff71da2a9d048a9d'/>
<id>urn:sha1:e1b05e3a6cd90b0bf91b47aeff71da2a9d048a9d</id>
<content type='text'>
'RELENG_4_7_0_RELEASE'.

This commit was manufactured to restore the state of the 4.7-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</content>
</entry>
<entry>
<title>Add ${DEBUG_FLAGS} to CFLAGS in bsd.kmod.mk, not in scattered module</title>
<updated>2000-01-28T11:26:46Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2000-01-28T11:26:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9e4be63dd6e312fe0e864d23e9636f43cc869541'/>
<id>urn:sha1:9e4be63dd6e312fe0e864d23e9636f43cc869541</id>
<content type='text'>
makefiles.  Bad examples in fxp/Makefile keep getting copied to new
makefiles.
</content>
</entry>
<entry>
<title>Get rid of some debugging cruft.</title>
<updated>2000-01-23T13:56:58Z</updated>
<author>
<name>Nick Hibma</name>
<email>n_hibma@FreeBSD.org</email>
</author>
<published>2000-01-23T13:56:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0c4407576d8ec15f3caa6c0eda2ed3ff84d3bd37'/>
<id>urn:sha1:0c4407576d8ec15f3caa6c0eda2ed3ff84d3bd37</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Attempt to fix a problem with receiving packets on USB ethernet interfaces.</title>
<updated>2000-01-10T23:12:54Z</updated>
<author>
<name>Bill Paul</name>
<email>wpaul@FreeBSD.org</email>
</author>
<published>2000-01-10T23:12:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a0067d7b89525cd8ed446d5e5c157514d043f74a'/>
<id>urn:sha1:a0067d7b89525cd8ed446d5e5c157514d043f74a</id>
<content type='text'>
Packets are received inside USB bulk transfer callbacks, which run at
splusb() (actually splbio()). The packet input queues are meant to be
manipulated at splimp(). However the locking apparently breaks down under
certain circumstances and the input queues can get trampled.

There's a similar problem with if_ppp, which is driven by hardware/tty
interrupts from the serial driver, but which must also manipulate the
packet input queues at splimp(). The fix there is to use a netisr, and
that's the fix I used here. (I can hear you groaning back there. Hush up.)

The usb_ethersubr module maintains a single queue of its own. When a
packet is received in the USB callback routine, it's placed on this
queue with usb_ether_input(). This routine also schedules a soft net
interrupt with schednetisr(). The ISR routine then runs later, at
splnet, outside of the USB callback/interrupt context, and passes the
packet to ether_input(), hopefully in a safe manner.

The reason this is implemented as a separate module is that there are
a limited number of NETISRs that we can use, and snarfing one up for
each driver that needs it is wasteful (there will be three once I get
the CATC driver done). It also reduces code duplication to a certain
small extent. Unfortunately, it also needs to be linked in with the
usb.ko module in order for the USB ethernet drivers to share it.

Also removed some uneeded includes from if_aue.c and if_kue.c

Fix suggested by: peter
Not rejected as a hairbrained idea by: n_hibma
</content>
</entry>
<entry>
<title>Remove -g compiler flag.</title>
<updated>2000-01-03T12:01:30Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2000-01-03T12:01:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c292cf660ef0b9a996258ed4b4f1724129af9abf'/>
<id>urn:sha1:c292cf660ef0b9a996258ed4b4f1724129af9abf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed special rules for building and cleaning device interface files</title>
<updated>1999-11-28T18:53:47Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1999-11-28T18:53:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6f940b38476a3dc6ecaca7ad305eddf1f9eab154'/>
<id>urn:sha1:6f940b38476a3dc6ecaca7ad305eddf1f9eab154</id>
<content type='text'>
and empty options files.  The rules are now generated automatically in
bsd.kmod.mk.  Cleaned up related things ($S and ${CLEANFILES}).
</content>
</entry>
<entry>
<title>Make this compile (remove vnode_if.c from SRCS) and clean properly</title>
<updated>1999-11-22T06:36:25Z</updated>
<author>
<name>Brian Feldman</name>
<email>green@FreeBSD.org</email>
</author>
<published>1999-11-22T06:36:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=aad0fe3efa4b478d7a768ad273655ea3f90b71eb'/>
<id>urn:sha1:aad0fe3efa4b478d7a768ad273655ea3f90b71eb</id>
<content type='text'>
(add opt_bus.h to CLEANFILES).
</content>
</entry>
<entry>
<title>USB is loadable as a module as well.</title>
<updated>1999-11-22T03:46:33Z</updated>
<author>
<name>Nick Hibma</name>
<email>n_hibma@FreeBSD.org</email>
</author>
<published>1999-11-22T03:46:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=953dc38912e6267ecada137ed1e3c4d31c81e3b8'/>
<id>urn:sha1:953dc38912e6267ecada137ed1e3c4d31c81e3b8</id>
<content type='text'>
</content>
</entry>
</feed>
