| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
barf at some of the gratuitous pointer gymnastics, and I do not see a
simple solution.
|
|
|
|
|
|
| |
dcons_drv_init invocations. Testing return value for 0 does not work for
cases where dcons_drv_init was called already as part of low level
console initialization.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor how we interface with the root HUB. This is achieved by making a
direct call from usb2_do_request to the host controller for root hub requests,
this call will perform the controller specific register read/writes and return
the error code.
This cuts out a lot of code in the host controller files and saves one thread
per USB bus.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
is interested in being spammed by mcast-related printfs.
Use proper check against ktr_mask instead KTR_COMPILE.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not only did these two drivers depend on IFF_NEEDSGIANT, they were
broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been
replaced by ppp(8). There is no replacement for if_sl(4).
If we see regressions in for example the ports tree, we should just use
__FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are
present. Version 800045 is used to denote the import of MPSAFE TTY.
Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the
lists.
|
|
|
|
|
| |
trap_subr.S that is patched at runtime to rfid on 64-bit systems
is inside KDB-specific code, so don't patch it without KDB.
|
| |
|
| |
|
|
|
|
|
| |
build. This is required for the IBM Mambo simulator, as well as a variety
of non-Apple PowerPC hardware.
|
|
|
|
|
|
| |
Update libusb function descriptions.
Submitted by: Chuck Robey
|
| |
|
| |
|
|
|
|
|
|
| |
Remove code for unused and unlikely quirk, "uq_power_claim"
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Wait until line configuration is complete before starting data transfers.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
|
|
|
| |
- add support for more complicated HID descriptors which can have multiple
definitions of the same field.
- remove old modulo patch in ums, which I think is due to bad HID parsing,
which should be fixed now.
Reported by: netchild
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
|
| |
at91_udp.c does not exist anymore, it is now replaced by at91dci in
src/sys/dev/usb/controller. Also remove the ohci_atmelarm.c because it is also
included in src/sys/conf/files
Submitted by: Sylvestre Gallon
|
|
|
|
|
|
| |
Add more debugging output on enumeration failures.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
| |
Some cancelable flags are always true. Substitute these away. These cancelable
flags were mostly useful with the root HUB which is now handled differently.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Minor code factorisation in atmegadci.c
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Cast variables properly for non-32-bit platforms.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
| |
Refactor how we interface with the root HUB. This cuts around 1200 lines of
code totally and saves one thread per USB bus.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- make usb2_power_mask_t 16-bit
- remove "usb2_config_sub" structure from "usb2_config". To compensate for this
"usb2_config" has a new field called "usb_mode" which select for which mode
the current xfer entry is active. Options are: a) Device mode only b) Host
mode only (default-by-zero) c) Both modes. This change was scripted using
the following sed script: "s/\.mh\././g".
- the standard packet size table in "usb_transfer.c" is now a function, hence
the code for the function uses less memory than the table itself.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Reduce the amount of memory used by better sizing buffer arrays.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Add new endpoint direction values for use with usb2_config
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
|
| |
- bugfixes after the memory usage reduction patch
- Use "udev->pipes_max" instead of USB_EP_MAX
- Use correct "bmRequestType" for getting the config descriptor.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
|
| |
- memory usage reduction by only allocating the required USB pipes and USB
interfaces.
- cleanup some USB parsing functions to be more flexible.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Fix possible deadlock with UGEN at detach.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Speed up the endpoint descriptor search
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
First patch in a series of memory save patches.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
| |
Properly name usb2_uref_location() so that it is not confused with
usb2_unref_location() .
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Remove unused field in "struct usb2_pipe".
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Get rid of the last CALLOUT_RETURNUNLOCKED reference.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Remove redundant locking.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Fix more corner cases around reception of SETUP packets.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Fix a corner case around stalling SETUP packets in device side mode.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Fix interrupt register setting on the atmegadci controller.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Reapply r190173 with compilation fixed on 64bit arches.
Submitted by: Hans Petter Selasky
|
|
|
|
| |
FlexeLint down.
|
|
|
|
| |
makes safe for us.
|
| |
|
|
|
|
| |
Make lots of stuff static.
|
|
|
|
|
| |
-document fragment handling sysctls
-mention some caveats about fragments handling (and to deal with it)
|
| |
|
| |
|
| |
|
|
|
|
| |
assembler warning messages.
|
|
|
|
|
|
|
| |
from doing so with no_rip_mcast in /etc/gateways.
This allows routed(8) to work with the way ports/security/openvpn
employs the tun(4) interface.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Move the new field (brand_note) to the end of the Brandinfo structure.
2) Add a new flag BI_BRAND_NOTE that indicates that the brand_note pointer
is valid.
3) Use the brand_note field if the flag BI_BRAND_NOTE is set and as old
modules won't have the flag set, so the new field brand_note would be
ignored.
Suggested by: jhb
Reviewed by: jhb
Approved by: kib (mentor)
MFC after: 6 days
|