| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
load of _l suffixed versions of various standard library functions that use
the global locale, making them take an explicit locale parameter. Also
adds support for per-thread locales. This work was funded by the FreeBSD
Foundation.
Please test any code you have that uses the C standard locale functions!
Reviewed by: das (gdtoa changes)
Approved by: dim (mentor)
Notes:
svn path=/head/; revision=227753
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- synchronized to match new vendor code [1]
- removed ATTRIBUTES sections
- updated SEE ALSO sections
- properly updated copyright information (required by CDDL)
- remove empty lines via MANFILTER
Obtained from: Illumos [1]
MFC after: 5 days
Notes:
svn path=/head/; revision=227752
|
|
|
|
|
|
|
|
|
|
|
|
| |
- While here whitespace fixes
PR: usb/161559
Submitted by: Sergey Zaykov <mail_of_sergey@mail.ru>
Reviewed by: hselasky
Approved by: hselasky, rwatson (mentor)
Notes:
svn path=/head/; revision=227751
|
|
|
|
|
|
|
|
|
|
|
| |
PR: usb/160301
Submitted by: Garrett Cooper <gcooper@ixsystems.com>
Reviewed by: hselasky
Approved by: hselasky, rwatson (mentor)
MFC after: 3 Days
Notes:
svn path=/head/; revision=227750
|
|
|
|
|
|
|
|
|
|
| |
be greater than hz in some cases, simply ignore a timeout value of zero.
Suggested by: Bruce Evans
MFC after: 1 week
Notes:
svn path=/head/; revision=227749
|
|
|
|
|
|
|
|
|
|
|
| |
Simplify the description of pause() and shorten the KASSERT message in pause.
Also add a clamp for the timo argument in the non-KASSERT case.
Suggested by: Bruce Evans
MFC after: 1 week
Notes:
svn path=/head/; revision=227748
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Wrap [get]{bin,nano,micro}[up]time() functions of sys/time.h to allow
requesting time from either the feedback or the feed-forward clock. If a
feedback (e.g. ntpd) and feed-forward (e.g. radclock) daemon are both running
on the system, both kernel clocks are updated but only one serves time.
- Add similar wrappers for the feed-forward difference clock.
Committed on behalf of Julien Ridoux and Darryl Veitch from the University of
Melbourne, Australia, as part of the FreeBSD Foundation funded "Feed-Forward
Clock Synchronization Algorithms" project.
For more information, see http://www.synclab.org/radclock/
Submitted by: Julien Ridoux (jridoux at unimelb edu au)
Notes:
svn path=/head/; revision=227747
|
|
|
|
|
|
|
| |
Submitted by: Julien Ridoux (jridoux at unimelb edu au)
Notes:
svn path=/head/; revision=227746
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clocks. Each routine can output an upper bound on the absolute time or time
interval requested. Different flavours of absolute time can be requested, for
example with or without leap seconds, monotonic or not, etc.
Committed on behalf of Julien Ridoux and Darryl Veitch from the University of
Melbourne, Australia, as part of the FreeBSD Foundation funded "Feed-Forward
Clock Synchronization Algorithms" project.
For more information, see http://www.synclab.org/radclock/
Submitted by: Julien Ridoux (jridoux at unimelb edu au)
Notes:
svn path=/head/; revision=227745
|
|
|
|
|
|
|
|
|
|
| |
delete the code and fix up the related comments. This should not have
any functional effect on the client.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=227744
|
|
|
|
|
|
|
|
|
|
|
|
| |
head nfsc_defunctlockowner. This patch simply removes the code that
loops through this always empty list, since the code no longer does
anything useful. It should not have any effect on the client's
behaviour.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=227743
|
|
|
|
| |
Notes:
svn path=/head/; revision=227742
|
|
|
|
|
|
|
|
|
|
| |
mode configuration registers. This is apparently required for correct
behaviour, but also requires the chip to actually officially support it.
Sponsored by: Hobnob, Inc.
Notes:
svn path=/head/; revision=227741
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"correct" handling of frames in the RX pending queue during interface
transitions.
* ath_stoprecv() doesn't blank out the descriptor list - that's what
ath_startrecv() does. So, change a comment to reflect that.
* ath_stoprecv() does include a large (3ms) delay to let pending DMA
complete. However, I'm under the impression that the stopdma hal
method does check for a bit in the PCU to indicate DMA has stopped.
So, to help with fast abort and restart, modify ath_stoprecv() to take
a flag which indicates whether this is needed.
* Modify the uses of ath_stoprecv() to pass in a flag to support the
existing behaviour (ie, do the delay.)
* Remove some duplicate PCU teardown code (which wasn't shutting down DMA,
so it wasn't entirely correct..) and replace it with a call to
ath_stoprecv(sc, 0) - which disables the DELAY call.
The upshoot of this is now channel change doesn't simply drop completed
frames on the floor, but instead it cleanly handles those frames.
It still discards pending TX frames in the software and hardware queues
as there's no (current) logic which forcibly recalculates the rate control
information (or whether they're appropriate to be on the TX queue after
a channel change), that'll come later.
This still doesn't stop all the sources of queue stalls but it does
tidy up some of the code duplication.
To be complete, queue stalls now occur during normal behaviour -
they only occur after some kind of broken behaviour causes an interface
or node flush, upsetting the TX/RX BAW. Subsequent commits will
incrementally fix these and other related issues.
Sponsored by: Hobnob, Inc.
Notes:
svn path=/head/; revision=227740
|
|
|
|
|
|
|
|
| |
we can also use the upstream binutils linker where we have to have a unique
name for the FreeBSD emulation.
Notes:
svn path=/head/; revision=227739
|
|
|
|
|
|
|
|
|
|
| |
set properly for the mask argument.
Since I'd like to improve argument sanity checking in kernel
side, in in_control(), fix this.
Notes:
svn path=/head/; revision=227738
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the signature of the getcontext builtin, eliminating incorrect
warnings about its prototype.
This also adds a -W(no-)builtin-requires-header option, which can be
used to enable or disable warnings of this kind.
MFC after: 1 week
Notes:
svn path=/head/; revision=227737
|
|
|
|
|
|
|
|
|
|
| |
Fix the signature of __sigsetjmp and sigsetjmp. This eliminates
incorrect warnings about the prototypes of these functions.
MFC after: 1 week
Notes:
svn path=/head/; revision=227736
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mark the overloaded atomic builtins as having custom type checking,
which they do. This avoids all of the default argument promotions that
we (1) don't want, and (2) undo during that custom type checking, and
makes sure that we don't run into trouble during template
instantiation. Fixes llvm/clang PR11320.
MFC after: 1 week
Notes:
svn path=/head/; revision=227735
|
|
|
|
|
|
|
| |
Approved by: gabor(mentor)
Notes:
svn path=/head/; revision=227731
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
accelerator.
The following algorithms and schemes are supported:
- 3DES, AES, DES
- MD5, SHA1
Obtained from: Semihalf
Written by: Piotr Ziecik
Notes:
svn path=/head/; revision=227730
|
|
|
|
|
|
|
| |
This vaiable is initialized but not used.
Notes:
svn path=/head/; revision=227729
|
|
|
|
|
|
|
| |
mips/nlm/uart_cpu_xlp.c has replaced uart_bus_xlp_iodi.c
Notes:
svn path=/head/; revision=227728
|
|
|
|
|
|
|
|
|
|
| |
PR: 162608
Submitted by: manolis
Approved by: rwatson (mentor)
MFC after: 3 Days
Notes:
svn path=/head/; revision=227727
|
|
|
|
|
|
|
| |
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=227726
|
|
|
|
|
|
|
| |
Remove obsolete header file included in usb_init.c
Notes:
svn path=/head/; revision=227725
|
|
|
|
|
|
|
|
|
|
| |
mco_icache_sync_range was earlier set to mipsNN_icache_sync_range_index_32
which is not necessary, revert this.
Also, the data cache is coherent so write back is not really needed. This
change is experimental.
Notes:
svn path=/head/; revision=227724
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement ffcounter, a monotonically increasing cumulative counter on top of the
active timecounter. Provide low-level functions to read the ffcounter and
convert it to absolute time or a time interval in seconds using the current
ffclock estimates, which track the drift of the oscillator. Add a ring of
fftimehands to track passing of time on each kernel tick and pick up updates of
ffclock estimates.
Committed on behalf of Julien Ridoux and Darryl Veitch from the University of
Melbourne, Australia, as part of the FreeBSD Foundation funded "Feed-Forward
Clock Synchronization Algorithms" project.
For more information, see http://www.synclab.org/radclock/
Submitted by: Julien Ridoux (jridoux at unimelb edu au)
Notes:
svn path=/head/; revision=227723
|
|
|
|
|
|
|
| |
Also fixup a macro in iomap.h
Notes:
svn path=/head/; revision=227722
|
|
|
|
|
|
|
|
|
|
|
|
| |
to the kernel's pause() function. The pause() function can now be used
when cold != 0. Also assert that the timeout in system ticks must be
positive.
Suggested by: Bruce Evans
MFC after: 1 week
Notes:
svn path=/head/; revision=227706
|
|
|
|
|
|
|
|
|
|
|
| |
to kern/subr_bus.c. Simplify this function so that it no longer
depends on malloc() to execute. Identify a few other places where
it makes sense to use device_delete_all_children().
MFC after: 1 week
Notes:
svn path=/head/; revision=227701
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's not currently used; it didn't build on 32-bit and the previous build fix
is incorrect. If we really implement self-tests we can do this again
properly.
Submitted by: Ben Hutchings <bwh -at- solarflare.com>
MFC after: 3 weeks
Notes:
svn path=/head/; revision=227700
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This field is supposed to be set to the interface bit rate, but for some
reason I thought it was denominated in kilobits. Multiply the values up
accordingly, taking care to saturate rather than overflow on 32-bit
architectures.
Submitted by: Ben Hutchings <bwh -at- solarflare.com>
MFC after: 3 weeks
Notes:
svn path=/head/; revision=227699
|
|
|
|
|
|
|
| |
MFC after: 3 weeks
Notes:
svn path=/head/; revision=227698
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
nullfs. The problem is that resulting vnode is only required to be
held on return from the successfull call to vop, instead of being
referenced.
Nullfs VOP_INACTIVE() method reclaims the vnode, which in combination
with the VOP_VPTOCNP() interface means that the directory vnode
returned from VOP_VPTOCNP() is reclaimed in advance, causing
vn_fullpath() to error with EBADF or like.
Change the interface for VOP_VPTOCNP(), now the dvp must be
referenced. Convert all in-tree implementations of VOP_VPTOCNP(),
which is trivial, because vhold(9) and vref(9) are similar in the
locking prerequisites. Out-of-tree fs implementation of VOP_VPTOCNP(),
if any, should have no trouble with the fix.
Tested by: pho
Reviewed by: mckusick
MFC after: 3 weeks (subject of re approval)
Notes:
svn path=/head/; revision=227697
|
|
|
|
|
|
|
|
|
|
| |
in, and show vnode is used from ddb on the faulty nullfs vnode, we get
panic instead of vnode dump.
MFC after: 1 week
Notes:
svn path=/head/; revision=227696
|
|
|
|
|
|
|
|
|
|
| |
The debugger and dumping support is adequate.
Tested by: pho
MFC after: 1 week
Notes:
svn path=/head/; revision=227695
|
|
|
|
| |
Notes:
svn path=/head/; revision=227694
|
|
|
|
|
|
|
|
|
|
| |
Properly support:
- AT_EACCESS for faccessat(),
- AT_SYMLINK_FOLLOW for linkat().
Notes:
svn path=/head/; revision=227693
|
|
|
|
| |
Notes:
svn path=/head/; revision=227692
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current code mixes the use of `flags' and `mode'. This is a bit
confusing, since the faccessat() function as a `flag' parameter to store
the AT_ flag.
Make this less confusing by using the same name as used in the POSIX
specification -- `amode'.
Notes:
svn path=/head/; revision=227691
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
twice if the server bogusly returns an error with the NFSERR_RETERR
bit (bit 31) set. No actual NFS error has this bit set, but it seems
that amd will sometimes do this. This patch makes sure the NFSERR_RETERR
bit is cleared to avoid a crash.
PR: kern/153847
MFC after: 2 weeks
Notes:
svn path=/head/; revision=227690
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
firmware image in the module is registered. Instead, do it when the
other image is itself referenced.
This allows a module with multiple firmware images to be automatically
unloaded when none of the firmware images are in use.
Discussed with: jhb@ (on -hackers)
Notes:
svn path=/head/; revision=227689
|
|
|
|
| |
Notes:
svn path=/head/; revision=227688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
addresses from being probed and attaching something including ukphy(4)
to it. This is mainly necessarily for PHY switches that create duplicate
or fake PHYs on the bus that can corrupt the PHY state when accessed or
simply cause problems when ukphy(4) isolates the additional instances.
- Change miibus(4) to be a hinted bus, allowing to add child devices via
hints and to set their attach arguments (including for automatically
probed PHYs). This is mainly needed for PHY switches that violate IEEE
802.3 and don't even implement the basic register set so we can't probe
them automatically. However, the ability to alter the attach arguments
for automatically probed PHYs is also useful as for example it allows
to test (or tell a user to test) new variant of a PHY with a specific
driver by letting an existing driver attach to it via manipulating the
IDs without the need to touch the source code or to limit a Gigabit
Ethernet PHY to only announce up to Fast Ethernet in order to save
energy by limiting the capability mask. Generally, a driver has to
be hinted via hint.phydrv.X.at="miibusY" and hint.phydrv.X.phyno="Z"
(which already is sufficient to add phydrvX at miibusY at PHY address
Z). Then optionally the following attach arguments additionally can
be configured:
hint.phydrv.X.id1
hint.phydrv.X.id2
hint.phydrv.X.capmask
- Some minor cleanup.
Reviewed by: adrian, ray
Notes:
svn path=/head/; revision=227687
|
|
|
|
| |
Notes:
svn path=/head/; revision=227686
|
|
|
|
|
|
|
|
|
|
|
| |
dcphy(4) (CID 9283).
- In dc_detach(), check whether ifp is NULL as dc_attach() may call the
former without ifp being allocated (CID 4288).
Found with: Coverity Prevent(tm)
Notes:
svn path=/head/; revision=227685
|
|
|
|
|
|
|
|
|
|
|
|
| |
!DC_IS_ADMTEK in dc_miibus_statchg(). This change broke link
establishment of Intel 21143 with dcphy(4) where it stuck in
"ability detect" state without completing auto-negotiation.
Also nuke dc_if_media as it's not actually used.
Submitted by: marius
Notes:
svn path=/head/; revision=227675
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=227674
|
|
|
|
| |
Notes:
svn path=/head/; revision=227666
|