| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
client from 30 seconds to 3 seconds. After the recent changes to add
caching of negative name cache lookups, a negative name cache hit will
persist until the client notices the parent directory has changed. The
higher the attribute cache timeout on directories, the longer that can take,
so lower the default timeout for directories to match that of regular files.
Suggested by: bde, mohans
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
| |
calculation was too agressive. Instead we should only
look at each nibble. This makes it so we make
10.2.0.0 become 10.2/16 NOT 10.2/17.
Need to explore the non-cidr address issue. The two
may not be seperable..
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: ru
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
because it means getdelim() returns -1 for both error and EOF, and
never returns 0. However, this is what the original GNU implementation
does, and POSIX inherited the bug.
Reported by: marcus@
|
|
|
|
|
| |
- Added 32-bit versions of libusb20* to OLD_{LIBS,FILES}.
- Added 32-bit version of libmp.so.6 to OLD_LIBS.
|
|
|
|
|
|
|
|
|
|
| |
It makes little sense to use 100 Hz polling in dcons. We cannot live
without polling, because that's just how dcons works. It polls the
buffer filled by the firewire hardware. 25 Hz is probably enough for
most use cases.
Discussed with: rwatson
Tested by: kan
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
vfs:namei:lookup:entry takes parent directory vnode pointer, path to
look up, and lookup flags.
vfs:namei:lookup:return takes an error value, and if successful, the
returned vnode pointer.
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if a entry is not route add -net xxx/bits then we should use
the addr (xxx) to establish the number of bits by looking at
the first non-zero bit. So if we enter
route add -net 10.1.1.0 10.1.3.5
this is the same as doing
route add -net 10.1.1.0/24
Since the 8th bit (zero counting) is set to 1 we set bits
to 32-8.
Users can of course still use the /x to change this behavior
or in cases where the network is in the trailing part
of the address, a "netmask" argument can be supplied to
override what is established from the interpretation of the
address itself. e.g:
route add -net 10.1.1.8 -netmask 0xff00ffff
should overide and place the proper CIDR mask in place.
PR: 131365
MFC after: 1 week
|
|
|
|
|
| |
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
|