#
a0067d7b |
| 11-Jan-2000 |
Bill Paul <wpaul@FreeBSD.org> |
Attempt to fix a problem with receiving packets on USB ethernet interfaces. Packets are received inside USB bulk transfer callbacks, which run at splusb() (actually splbio()). The packet input queues
Attempt to fix a problem with receiving packets on USB ethernet interfaces. 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
show more ...
|
#
c292cf66 |
| 03-Jan-2000 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Remove -g compiler flag.
|
Revision tags: release/3.4.0_cvs |
|
#
6f940b38 |
| 28-Nov-1999 |
Bruce Evans <bde@FreeBSD.org> |
Removed special rules for building and cleaning device interface files and empty options files. The rules are now generated automatically in bsd.kmod.mk. Cleaned up related things ($S and ${CLEANFI
Removed special rules for building and cleaning device interface files and empty options files. The rules are now generated automatically in bsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}).
show more ...
|
#
aad0fe3e |
| 22-Nov-1999 |
Brian Feldman <green@FreeBSD.org> |
Make this compile (remove vnode_if.c from SRCS) and clean properly (add opt_bus.h to CLEANFILES).
|
#
953dc389 |
| 22-Nov-1999 |
Nick Hibma <n_hibma@FreeBSD.org> |
USB is loadable as a module as well.
|
#
069f1a80 |
| 28-Jan-2010 |
Andrew Thompson <thompsa@FreeBSD.org> |
Add run(4), a driver for Ralink RT2700U/RT2800U/RT3000U USB 802.11agn devices.
This driver was written for OpenBSD by Damien Bergamini and ported over by Akinori Furukoshi.
|
#
941e2863 |
| 13-Jan-2010 |
Andrew Thompson <thompsa@FreeBSD.org> |
Add a driver by Fredrik Lindberg for Option HSDPA USB devices. These differ from standard 3G wireless units by supplying a raw IP/IPv6 endpoint rather than using PPP over serial. uhsoctl(1) is used t
Add a driver by Fredrik Lindberg for Option HSDPA USB devices. These differ from standard 3G wireless units by supplying a raw IP/IPv6 endpoint rather than using PPP over serial. uhsoctl(1) is used to initiate and close the WAN connection.
Obtained from: Fredrik Lindberg <fli@shapeshifter.se>
show more ...
|
Revision tags: release/8.0.0_cvs, release/8.0.0 |
|
#
874108ae |
| 12-Nov-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
MFC @199204
|
#
4d16b4ec |
| 09-Nov-2009 |
Rui Paulo <rpaulo@FreeBSD.org> |
Driver for the Apple Touchpad present on MacBook (non-Pro & Pro).
Submitted by: Rohit Grover <rgrover1 at gmail.com> MFC after: 2 months
|
#
b20adc2b |
| 19-Oct-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Remove the newly added uch341 driver, it will be merged into uchcom instead.
Suggested by: takawata Submitted by: HPS
|
#
1ee774f6 |
| 02-Oct-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC
|
#
3bfbd845 |
| 28-Sep-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Add support for ChipHead 341 serial port adapter.
Submitted by: Hans Petter Selasky
|
#
7e857dd1 |
| 12-Jun-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|
#
18b223fe |
| 01-Jun-2009 |
Weongyo Jeong <weongyo@FreeBSD.org> |
connect urtw(4) to the amd64/i386 build that it's not tested on the big endian machines yet.
|
#
06079f14 |
| 27-May-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Hook ubt and ubtbcmfw back up to the build.
|
#
2e370a5c |
| 26-May-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Merge from HEAD
|
#
231a6377 |
| 12-May-2009 |
Weongyo Jeong <weongyo@FreeBSD.org> |
connect upgt(4) to the build. It should work on all architectures.
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
9c797940 |
| 13-Apr-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|
#
e4873cff |
| 06-Apr-2009 |
Weongyo Jeong <weongyo@FreeBSD.org> |
connect uath(4) to the build. uath(4) should work on all architectures.
|
#
2b78d306 |
| 19-Mar-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Remove the uscanner(4) driver, this follows the removal of the kernel scanner driver in Linux 2.6. uscanner was just a simple wrapper around a fifo and contained no logic, the default interface is no
Remove the uscanner(4) driver, this follows the removal of the kernel scanner driver in Linux 2.6. uscanner was just a simple wrapper around a fifo and contained no logic, the default interface is now libusb (supported by sane).
Reviewed by: HPS
show more ...
|
#
1829d5da |
| 12-Mar-2009 |
Warner Losh <imp@FreeBSD.org> |
Update the projects tree to a newer FreeBSD current.
|
#
7d0d268b |
| 23-Feb-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Hook up new USB modules.
|
Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
84150d7f |
| 09-Oct-2008 |
Nick Hibma <n_hibma@FreeBSD.org> |
Obfuscated by other diffs while committing r183728:
Remove the files for the HCI interfaces from the usb module.
|
#
a423fd2c |
| 30-Aug-2008 |
Warner Losh <imp@FreeBSD.org> |
opt_bus.h isn't needed here anymore. It never was really needed, since usb has no business including it like it did...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0 |
|
#
e201f9ec |
| 04-Jun-2005 |
Jens Schweikhardt <schweikh@FreeBSD.org> |
Release n_hibma's maintainership due to his ENOTIME.
Discussed with, okayed, authorized, requested by, on behalf of: n_hibma (MAINTAINER)
|