| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Add more USB IDs.
PR: kern/181728
Notes:
svn path=/stable/8/; revision=255346
|
| |
|
|
|
|
|
|
|
|
| |
Add vendor IDs for Broadcom USB dongles (BCM20702).
PR: kern/174707
Approved by: glebius
Notes:
svn path=/stable/8/; revision=249107
|
| |
|
|
|
|
|
|
| |
Fix compiler warnings, mostly signed issues,
when USB modules are compiled with WARNS=9.
Notes:
svn path=/stable/8/; revision=236667
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r223515, r223518, r223519, r223521, r223534, r223535,
r223536, r223537, r223538, r223543, r223288, r223604 and r223566:
- Export all USB device ID's in so-called sections.
- Fix duplicate occurence of a USB ID in if_urtw and if_zyd.
- Add new tool to autogenerate nomatch entries for devd.
- Add new usb.conf file to auto-load USB drivers.
- Fix some issues related to the nomatch notifications.
PR: misc/157903
Notes:
svn path=/stable/8/; revision=223605
|
| |
|
|
| |
Notes:
svn path=/stable/8/; revision=223411
|
| |
|
|
|
|
|
|
|
|
| |
Remove unneeded includes of <sys/linker_set.h>. Other headers that use
it internally contain nested includes.
Requested by: hselasky
Notes:
svn path=/stable/8/; revision=221125
|
| |
|
|
|
|
|
| |
Get those pesky RFCOMM RPM data bits right. This is likely a noop.
Notes:
svn path=/stable/8/; revision=220864
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mfp4 CH=177274,177280,177284-177285,177297,177324-177325
VNET socket push back:
try to minimize the number of places where we have to switch vnets
and narrow down the time we stay switched. Add assertions to the
socket code to catch possibly unset vnets as seen in r204147.
While this reduces the number of vnet recursion in some places like
NFS, POSIX local sockets and some netgraph, .. recursions are
impossible to fix.
The current expectations are documented at the beginning of
uipc_socket.c along with the other information there.
Sponsored by: The FreeBSD Foundation
Sponsored by: CK Software GmbH
Reviewed by: jhb
Tested by: zec
Tested by: Mikolaj Golub (to.my.trociny gmail.com)
Notes:
svn path=/stable/8/; revision=220733
|
| |
|
|
|
|
|
|
|
|
| |
Fix typos - remove duplicate "the".
PR: bin/154928
Submitted by: Eitan Adler <lists at eitanadler.com>
Notes:
svn path=/stable/8/; revision=218992
|
| |
|
|
|
|
|
| |
PR: kern/140590
Notes:
svn path=/stable/8/; revision=210960
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
network stacks, VNET_SYSINIT:
- Add VNET_SYSINIT and VNET_SYSUNINIT macros to declare events that will
occur each time a network stack is instantiated and destroyed. In the
!VIMAGE case, these are simply mapped into regular SYSINIT/SYSUNINIT.
For the VIMAGE case, we instead use SYSINIT's to track their order and
properties on registration, using them for each vnet when created/
destroyed, or immediately on module load for already-started vnets.
- Remove vnet_modinfo mechanism that existed to serve this purpose
previously, as well as its dependency scheme: we now just use the
SYSINIT ordering scheme.
- Implement VNET_DOMAIN_SET() to allow protocol domains to declare that
they want init functions to be called for each virtual network stack
rather than just once at boot, compiling down to DOMAIN_SET() in the
non-VIMAGE case.
- Walk all virtualized kernel subsystems and make use of these instead
of modinfo or DOMAIN_SET() for init/uninit events. In some cases,
convert modular components from using modevent to using sysinit (where
appropriate). In some cases, do minor rejuggling of SYSINIT ordering
to make room for or better manage events.
Portions submitted by: jhb (VNET_SYSINIT), bz (cleanup)
Discussed with: jhb, bz, julian, zec
Reviewed by: bz
Approved by: re (VIMAGE blanket)
Notes:
svn path=/head/; revision=195837
|
| |
|
|
|
|
|
| |
while I am here.
Notes:
svn path=/head/; revision=194682
|
| |
|
|
|
|
|
| |
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
Notes:
svn path=/head/; revision=194677
|
| |
|
|
| |
Notes:
svn path=/head/; revision=194228
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Each socket upcall is now invoked with the appropriate socket buffer
locked. It is not permissible to call soisconnected() with this lock
held; however, so socket upcalls now return an integer value. The two
possible values are SU_OK and SU_ISCONNECTED. If an upcall returns
SU_ISCONNECTED, then the soisconnected() will be invoked on the
socket after the socket buffer lock is dropped.
- A new API is provided for setting and clearing socket upcalls. The
API consists of soupcall_set() and soupcall_clear().
- To simplify locking, each socket buffer now has a separate upcall.
- When a socket upcall returns SU_ISCONNECTED, the upcall is cleared from
the receive socket buffer automatically. Note that a SO_SND upcall
should never return SU_ISCONNECTED.
- All this means that accept filters should now return SU_ISCONNECTED
instead of calling soisconnected() directly. They also no longer need
to explicitly clear the upcall on the new socket.
- The HTTP accept filter still uses soupcall_set() to manage its internal
state machine, but other accept filters no longer have any explicit
knowlege of socket upcall internals aside from their return value.
- The various RPC client upcalls currently drop the socket buffer lock
while invoking soreceive() as a temporary band-aid. The plan for
the future is to add a new flag to allow soreceive() to be called with
the socket buffer locked.
- The AIO callback for socket I/O is now also invoked with the socket
buffer locked. Previously sowakeup() would drop the socket buffer
lock only to call aio_swake() which immediately re-acquired the socket
buffer lock for the duration of the function call.
Discussed with: rwatson, rmacklem
Notes:
svn path=/head/; revision=193272
|
| |
|
|
| |
Notes:
svn path=/head/; revision=193045
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192984
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192909
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192907
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192906
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192905
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192903
|
| |
|
|
|
|
|
|
|
| |
The unit number is still used to store the type of the device node.
Approved by: emax
Notes:
svn path=/head/; revision=191226
|
| |
|
|
|
|
|
|
| |
Submitted by: ru
MFC after: 3 days
Notes:
svn path=/head/; revision=188452
|
| |
|
|
|
|
|
| |
MFC after: 1 month
Notes:
svn path=/head/; revision=188132
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
panic in ng_l2cap(4).
panic: ng_l2cap_l2ca_con_req: ubt0l2cap - could not find connection!
While i'm here get rid of few goto's.
MFC after: 1 week
Notes:
svn path=/head/; revision=187454
|
| |
|
|
|
|
|
|
|
| |
amount of messages sent to syslog
MFC after: 1 week
Notes:
svn path=/head/; revision=186466
|
| |
|
|
|
|
|
|
| |
be careful not to fix anything that was already broken; the NFSv4 code is
particularly bad in this respect.
Notes:
svn path=/head/; revision=184214
|
| |
|
|
|
|
|
| |
MFC after: 3 months
Notes:
svn path=/head/; revision=184205
|
| |
|
|
|
|
|
|
|
|
| |
when Bluetooth USB device is pulled out without stopping the stack first.
Submitted by: Vladimir Grebenschikov vova at fbsd dot ru
MFC after: 1 week
Notes:
svn path=/head/; revision=183576
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=183397
|
| |
|
|
|
|
|
|
|
|
| |
one message per second. In the future might add a sysctl knob for
each socket family to fine tune this.
MFC after: 1 week
Notes:
svn path=/head/; revision=181093
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=181089
|
| |
|
|
| |
Notes:
svn path=/head/; revision=181088
|
| |
|
|
|
|
|
|
|
| |
code that was revisted.
MFC after: 3 months
Notes:
svn path=/head/; revision=181033
|
| |
|
|
|
|
|
| |
MFC after: 3 months
Notes:
svn path=/head/; revision=180945
|
| |
|
|
|
|
|
| |
Approved by: emax
Notes:
svn path=/head/; revision=180508
|
| |
|
|
|
|
|
|
|
|
|
|
| |
USB isochronous transfer support is required for Bluetooth SCO.
While i'm here change u_int to uint and update TODO.
This should produce no visible changes unless the device is
broken (or really old).
MFC after: 3 months
Notes:
svn path=/head/; revision=180452
|
| |
|
|
|
|
|
| |
MFC after: 3 months
Notes:
svn path=/head/; revision=180399
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- reorder structures fields (XX_refs) a bit to group fields modified
same time together. According to my tests it gives up to 10%
SMP performance benefit on real workload due to reduced inter-CPU
cache trashing.
- change q_flags from long to int as long is not really needed there and
it's usage with atomics is argued by some people.
- move NGF_WORKQ flag into the separate field q_flags2 as it protected by
queue mutex instead of node writer protection used by the rest of flags.
- move nd_work queue entry to ng_queue structure to which it is more
related and make it STAILQ instead of TAILQ as now it is a classic FIFO.
- remove q_node pointer from ng_queue structure as it is not really needed.
- reimplement item queue using STAILQ instead of own equal implementation.
As soon as BT subsystem has own item queues using ng_item.el_next update
it also.
- change depth field in ng_item from uintptr_t to u_int. It was made
uintptr_t to keep ABI compatibility.
Reviewed by: julian, emax
Tested with: Netperf cluster
Notes:
svn path=/head/; revision=178228
|
| |
|
|
|
|
|
|
| |
Submitted by: Heiko Wundram (Beenic) < wundram at beenic dot net >
MFC after: 3 days
Notes:
svn path=/head/; revision=173231
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
zero (0). Actual RFCOMM channel will be assigned after listen(2)
call is done on a RFCOMM socket bound to a ''wildcard'' RFCOMM
channel zero (0).
Address locking issues in ng_btsocket_rfcomm_bind()
Submitted by: Heiko Wundram (Beenic) < wundram at beenic dot net >
MFC after: 1 week
Notes:
svn path=/head/; revision=173151
|
| |
|
|
|
|
|
|
|
|
|
| |
listen(2) is called on improperly bound socket.
Suggested by: Iain Hibbert
Approved by: re (kensmith)
MFC after: 3 days
Notes:
svn path=/head/; revision=171937
|
| |
|
|
|
|
|
|
|
|
|
| |
Reconnect ng_h(4) back to the build.
Reviewed by: kensmith
Approved by: re (kensmith)
MFC after: 1 month
Notes:
svn path=/head/; revision=171818
|
| |
|
|
|
|
|
| |
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=171345
|
| |
|
|
|
|
|
| |
Approved by: re@
Notes:
svn path=/head/; revision=170999
|
| |
|
|
|
|
|
|
|
|
|
| |
L2CAP socket. This is to avoid LOR with sx(9) lock in sblock()
called from sosend_generic().
Approved by: re (kensmith)
MFC after: 1 week
Notes:
svn path=/head/; revision=170972
|
| |
|
|
|
|
|
|
| |
Reported by: tinderbox
Approved by: re (mux)
Notes:
svn path=/head/; revision=170952
|
| |
|
|
| |
Notes:
svn path=/head/; revision=170933
|
| |
|
|
| |
Notes:
svn path=/head/; revision=170662
|