martin
561693de2d
Rever previous: the d_packname in struct disklabel is not NUL terminated.
...
Disable the warning instead.
2020-02-19 21:45:09 +00:00
martin
fe36d07293
Move sysinst man page next to the source
2020-02-19 21:42:53 +00:00
martin
f16eda658a
Use strlcpy in a few places to guarnatee 0-terminated strings
2020-02-19 18:08:03 +00:00
kamil
f89602d104
Fix clang(1) build
...
Namespace a symbol that can be unused.
2020-02-19 17:13:00 +00:00
riastradh
3c37c6c9c5
Mark previous #ifdef __NetBSD__, per request from hannken.
2020-02-19 17:05:06 +00:00
riastradh
69aded6dbf
Report the OS name and release appropriately for NetBSD.
...
We are not OpenSolaris or uts!
2020-02-19 16:11:19 +00:00
riastradh
f50fdb79bb
usbdi dtrace probes
2020-02-19 16:07:37 +00:00
riastradh
13eca39faf
Sprinkle some dtrace probes into scsi(4).
2020-02-19 16:05:41 +00:00
riastradh
16dde5e683
C99 initializers for scsipi_bustype. No functional change intended.
2020-02-19 16:04:39 +00:00
riastradh
2d463de989
umass dtrace probes
2020-02-19 16:04:01 +00:00
riastradh
e715cf708b
New dtrace usb provider, with a handful of probes in usb.c.
2020-02-19 16:03:30 +00:00
riastradh
cb1b4b8e31
Make sure the umass transfer callback is run in error branches.
2020-02-19 16:02:50 +00:00
riastradh
9f1c0575da
Consolidate logic to call the transfer callback.
...
No functional change intended.
2020-02-19 16:02:33 +00:00
riastradh
8349adddfa
Fix mistakes in timeout/abort/completion changes in motg(4).
...
- Call usbd_xfer_schedule_timeout so we actually do time out.
- Don't call usbd_xfer_trycomplete until all the data have been
transferred -- it commits to completion, not timeout.
- Use xfer->ux_status != USBD_IN_PROGRESS to test whether, after a
partial write, an xfer has been interrupted or timed out and need
not be continued.
- Remove wrong assertion.
2020-02-19 16:01:37 +00:00
riastradh
bc5592b8ef
Abort default pipe too on detach before detaching children.
...
This ensures that pending xfers on the default pipe will be aborted
before we wait for children, which, in the case of scsibus -> sd,
means waiting for pending xfers to complete -- xfers that may never
complete if something is wedged.
2020-02-19 16:00:28 +00:00
joerg
8beab7f7a8
Revert last. It was objected to pre-commit, there is no actual error
...
analysis or report and there is existing logic supposed to handle this.
2020-02-19 13:32:40 +00:00
kamil
88fd427e3b
Disable HAVE_TERMINFO and HAVE_TERMIOS_H for ./build.sh tools build
...
These headers enable optional features and are not portable to all host
Operating Systems.
Speculative fix for certain Linux distributions.
2020-02-19 09:59:39 +00:00
mrg
f2ddcf3597
regen.
2020-02-19 09:00:43 +00:00
mrg
5b6b20acd5
add a couple of GPUs i have:
...
product ATI RADEON_HD4290 0x9714 Radeon HD4290 Graphics
product NVIDIA GF_440 0x0de0 GeForce GT 440
2020-02-19 09:00:34 +00:00
riastradh
18954d9723
Define VOP_STRATEGY on zfs device nodes too.
...
Fixes eternal hangs in attempts to do I/O on device nodes on zfs.
XXX pullup
2020-02-19 05:52:52 +00:00
thorpej
912cc31f92
When a media change is requested, don't just all (*if_init)(). That's
...
needlessly disruptive and incompatible with future locking changes.
We can use both ether_mediachange() and ether_mediastatus() instead.
2020-02-19 02:51:54 +00:00
christos
ebfc71ebe2
regen
2020-02-18 21:29:39 +00:00
christos
b0222858ea
use the correct header name.
2020-02-18 21:29:30 +00:00
christos
721669044f
new awk
2020-02-18 21:14:16 +00:00
christos
cdabad706d
merge conflicts
2020-02-18 21:12:21 +00:00
christos
6f2cbaf607
Last import was 2010 when there was no ChangeLog yet. I've worked
...
with upstream to merge all our changes and this includes many other
fixes including new operator support etc. The change to pass an
extra "isnew" argument to open was not preserved as none of the
tests supplied with the PR fail.
This also adds the testsuite and all the bugs fixed since then.
2020-02-18 20:50:46 +00:00
chs
5232c510c9
remove the aiodoned thread. I originally added this to provide a thread context
...
for doing page cache iodone work, but since then biodone() has changed to
hand off all iodone work to a softint thread, so we no longer need the
special-purpose aiodoned thread.
2020-02-18 20:23:17 +00:00
riastradh
f87a48cace
Fix non-DIAGNOSTIC build with UVM_PAGE_TRKOWN.
2020-02-18 17:50:32 +00:00
riastradh
29f401d621
Fix wrong KASSERT in motg abort.
...
This has been wrong since last summer when we did the transition to
xfer->ux_status = USBD_CANCELLED earlier.
XXX pullup-9
2020-02-18 17:50:20 +00:00
thorpej
f8c0a08f76
- Use ether_mediachange().
...
- Don't call the media change function directly from the init
function; bounce through mii_ifmedia_change().
2020-02-18 15:00:42 +00:00
thorpej
a8e1de8c53
Use ether_mediastatus().
2020-02-18 14:49:32 +00:00
isaki
da6e9a93eb
Add tests.
...
AUDIO_SETINFO_channels
AUDIO_SETINFO_sample_rate
AUDIO_SETINFO_sample_rate_0
2020-02-18 12:11:26 +00:00
skrll
649535d14c
G/C
2020-02-18 10:33:38 +00:00
msaitoh
e6334c3f8e
No functional change:
...
- u_int*_t -> uint*_t
- whitespace fixes.
- KNF.
2020-02-18 04:12:40 +00:00
msaitoh
baf0814f90
Whitespace fix. No functional change.
2020-02-18 04:09:31 +00:00
msaitoh
ba67005d1f
Add comment.
2020-02-18 04:08:12 +00:00
msaitoh
ae193e13d9
It's useless to not to set PCI_PMCSR_PME_STS bit when writing because
...
the bit is W1C. Instead, always write PCI_PMCSR_PME_STS bit to clear in
case it's already set.
2020-02-18 04:07:14 +00:00
msaitoh
dc2d2bb7a9
Whitespace fix. No functional change.
2020-02-18 03:48:22 +00:00
christos
e12f2e934e
PR/54435: Valery Ushakov: Clear urgent status after reading urgent data, so
...
that poll(2) works.
2020-02-18 00:40:50 +00:00
sevan
b4ccaa63ea
spelling
2020-02-17 22:52:18 +00:00
ad
b625d14d1e
cpu_ast(): no need to call userret(), as the caller does it for us. From rin@.
2020-02-17 21:49:27 +00:00
sevan
cf86490505
Add Andrew Weatherall
...
https://www.bbc.co.uk/news/entertainment-arts-51535685
http://www.rottersgolfclub.com/
2020-02-17 21:47:33 +00:00
ad
73d972e303
softint_dispatch(): Temporarily call kernel_lock_plug_leak() since there is
...
incontinent code somewhere.
2020-02-17 21:44:42 +00:00
fcambus
b8575f575a
Add RIF (reduction in force).
2020-02-17 17:16:51 +00:00
msaitoh
2adc4cf2a7
- Remove 50GBASE-LR10.
...
- Add the following medias:
- 25GBASE-ACC
- 100GBASE-ACC
- 100GBASE-AOC
- 100GBASE-FR
- 100GBASE-LR
- 200GBASE-ER4
- 400GBASE-ER8
- 400GBASE-FR4
- 400GBASE-LR4
- 400GBASE-SR4.2
- 400GBASE-SR8
2020-02-17 15:51:25 +00:00
skrll
94257d06d8
G/C LS{SLEEP,RUN,ONPROC}
...
LWP status manipulation was moved out of assembly long ago.
2020-02-17 09:09:48 +00:00
ozaki-r
ccef126b54
tests: add missing ifconfig -w
...
This change mitigates PR kern/54897.
2020-02-17 08:46:10 +00:00
riastradh
fbd9ae86b4
When aborting a pipe, set pipe->up_running = 0.
...
This prevents any concurrent usb_transfer_complete from restarting
the pipe with usbd_start_next.
2020-02-17 08:16:44 +00:00
nisimura
4a91806e98
add kse(4) for i386/amd64 GENERIC
2020-02-17 06:32:46 +00:00
nisimura
a4c13d8e17
comment mods and code tiddy ups
2020-02-17 06:05:31 +00:00