]>
CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
Mateusz Guzik [Tue, 1 Sep 2020 21:53:58 +0000 (21:53 +0000)]
sdio: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:53:44 +0000 (21:53 +0000)]
sec: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:53:37 +0000 (21:53 +0000)]
sk: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:53:21 +0000 (21:53 +0000)]
smartpqi: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:53:00 +0000 (21:53 +0000)]
smbus: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:52:46 +0000 (21:52 +0000)]
smc: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:52:35 +0000 (21:52 +0000)]
spibus: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:52:20 +0000 (21:52 +0000)]
stge: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:52:05 +0000 (21:52 +0000)]
superio: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:51:55 +0000 (21:51 +0000)]
sym: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:51:38 +0000 (21:51 +0000)]
tcp_log: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:51:10 +0000 (21:51 +0000)]
tdfx: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:50:47 +0000 (21:50 +0000)]
ti: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:50:31 +0000 (21:50 +0000)]
tpm: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:50:21 +0000 (21:50 +0000)]
tsec: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:50:00 +0000 (21:50 +0000)]
uart: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:49:49 +0000 (21:49 +0000)]
vge: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:49:31 +0000 (21:49 +0000)]
viapm: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:49:14 +0000 (21:49 +0000)]
videomode: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:48:55 +0000 (21:48 +0000)]
vkbd: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:48:37 +0000 (21:48 +0000)]
vmd: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:48:21 +0000 (21:48 +0000)]
vnic: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:48:08 +0000 (21:48 +0000)]
vr: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:47:32 +0000 (21:47 +0000)]
vt: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:47:20 +0000 (21:47 +0000)]
watchdog: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:46:58 +0000 (21:46 +0000)]
wbwd: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:46:42 +0000 (21:46 +0000)]
wi: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:46:27 +0000 (21:46 +0000)]
wpi: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:45:35 +0000 (21:45 +0000)]
wtap: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:45:08 +0000 (21:45 +0000)]
dev/xen: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:44:42 +0000 (21:44 +0000)]
xilinx: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:43:48 +0000 (21:43 +0000)]
bwn: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:43:36 +0000 (21:43 +0000)]
bwi: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:43:23 +0000 (21:43 +0000)]
bnxt: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:43:05 +0000 (21:43 +0000)]
bhnd: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:42:49 +0000 (21:42 +0000)]
bge: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:42:38 +0000 (21:42 +0000)]
bfe: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:42:21 +0000 (21:42 +0000)]
beri: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:42:08 +0000 (21:42 +0000)]
bce: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:41:55 +0000 (21:41 +0000)]
axgbe: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:41:38 +0000 (21:41 +0000)]
atkbdc: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:41:07 +0000 (21:41 +0000)]
ath: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:40:47 +0000 (21:40 +0000)]
ata: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:40:30 +0000 (21:40 +0000)]
asmc: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:40:13 +0000 (21:40 +0000)]
arcmsr: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:39:56 +0000 (21:39 +0000)]
an: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:39:37 +0000 (21:39 +0000)]
amr: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:39:19 +0000 (21:39 +0000)]
amd*: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:38:18 +0000 (21:38 +0000)]
altera: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:38:06 +0000 (21:38 +0000)]
alpm: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:37:53 +0000 (21:37 +0000)]
ale: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:37:35 +0000 (21:37 +0000)]
al_eth: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:37:14 +0000 (21:37 +0000)]
aic7xxx: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:36:40 +0000 (21:36 +0000)]
ahci: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:35:39 +0000 (21:35 +0000)]
agp: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:35:14 +0000 (21:35 +0000)]
if_age: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:34:58 +0000 (21:34 +0000)]
if_ae: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:34:41 +0000 (21:34 +0000)]
adlink: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:34:24 +0000 (21:34 +0000)]
adb: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:34:04 +0000 (21:34 +0000)]
acpi_support: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:33:31 +0000 (21:33 +0000)]
rtwn: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:32:41 +0000 (21:32 +0000)]
acpica: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:32:25 +0000 (21:32 +0000)]
aacraid: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:32:07 +0000 (21:32 +0000)]
aac: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:31:50 +0000 (21:31 +0000)]
twe: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:31:38 +0000 (21:31 +0000)]
tws: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:31:26 +0000 (21:31 +0000)]
virtio: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:30:22 +0000 (21:30 +0000)]
iscsi: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:30:01 +0000 (21:30 +0000)]
vmware: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:29:44 +0000 (21:29 +0000)]
syscons: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:29:23 +0000 (21:29 +0000)]
twa: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:29:01 +0000 (21:29 +0000)]
sfxge: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:27:34 +0000 (21:27 +0000)]
sound: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:26:44 +0000 (21:26 +0000)]
usb: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:26:00 +0000 (21:26 +0000)]
security: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:25:39 +0000 (21:25 +0000)]
nfs: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:25:23 +0000 (21:25 +0000)]
libkern: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:24:33 +0000 (21:24 +0000)]
compat: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:23:59 +0000 (21:23 +0000)]
x86: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:23:00 +0000 (21:23 +0000)]
ufs: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:21:55 +0000 (21:21 +0000)]
xen: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:21:19 +0000 (21:21 +0000)]
mips: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:21:03 +0000 (21:21 +0000)]
riscv: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:20:45 +0000 (21:20 +0000)]
vm: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:20:08 +0000 (21:20 +0000)]
powerpc: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:19:39 +0000 (21:19 +0000)]
i386: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:19:14 +0000 (21:19 +0000)]
net: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:18:40 +0000 (21:18 +0000)]
fs: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:18:06 +0000 (21:18 +0000)]
arm64: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:17:24 +0000 (21:17 +0000)]
arm: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:16:54 +0000 (21:16 +0000)]
amd64: clean up empty lines in .c and .h files
John-Mark Gurney [Tue, 1 Sep 2020 20:42:48 +0000 (20:42 +0000)]
add Xr to device_get_sysctl(9) to make this easier to find
Vincenzo Maffione [Tue, 1 Sep 2020 20:41:47 +0000 (20:41 +0000)]
iflib: leave only 1 receive descriptor unused
The pidx argument of isc_rxd_flush() indicates which is the last valid
receive descriptor to be used by the NIC. However, current code has
multiple issues:
- Intel drivers write pidx to their RDT register, which means that
NICs will only use the descriptors up to pidx-1 (modulo ring size N),
and won't actually use the one pointed by pidx. This does not break
reception, but it is anyway confusing and suboptimal (the NIC will
actually see only N-2 descriptors as available, rather than N-1).
Other drivers (if_vmx, if_bnxt, if_mgb) adhere to this semantic).
- The semantic used by Intel (RDT is one descriptor past the last
valid one) is used by most (if not all) NICs, and it is also used
on the TX side (also in iflib). Since iflib is not currently
using this semantic for RX, it must decrement fl->ifl_pidx
(modulo N) before calling isc_rxd_flush(), and then the
per-driver callback implementation must increment the index
again (to match the real semantic). This is confusing and suboptimal.
- The iflib refill function is also called at initialization.
However, in case the ring size is smaller than 128 (e.g. if_mgb),
the refill function will actually prepare all the receive
descriptors (N), without leaving one unused, as most of NICs assume
(e.g. to avoid RDT to overrun RDH). I can speculate that the code
looks like this right now because this issue showed up during
testing (e.g. with if_mgb), and it was easy to workaround by
decrementing pidx before isc_rxd_flush().
The goal of this change is to simplify the code (removing a bunch
of instructions from the RX fast path), and to make the semantic of
isc_rxd_flush() consistent across drivers. To achieve this, we:
- change the semantics of the pidx argument to the usual one (that
is the index one past the last valid one), so that both iflib and
drivers avoid the decrement/increment dance.
- fix the initialization code to prepare at most N-1 descriptors.
Reviewed by: markj
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D26191
Mark Johnston [Tue, 1 Sep 2020 20:13:50 +0000 (20:13 +0000)]
qlxgb: Initialize if_mtu before setting max_frame_size.
Previously we were relying on ether_ifattach() to set if_mtu, but
max_frame_size is initialized earlier. This fixes a regression
introduced by r250375.
PR: 249050
Submitted by: Christian Vallières <novacrash_@hotmail.com>
MFC after: 3 days
Ian Lepore [Tue, 1 Sep 2020 19:06:08 +0000 (19:06 +0000)]
Document the fact that you must set an i2c slave address as well as the
upstream iicbus to configure this device using hints.
Ryan Moeller [Tue, 1 Sep 2020 19:02:07 +0000 (19:02 +0000)]
Ensure zstreamdump subdir can be visited
Reported by: Thomas Laus
Sponsored by: iXsystems, Inc.
Chuck Silvers [Tue, 1 Sep 2020 18:50:26 +0000 (18:50 +0000)]
Move all of the error prints in readsb() from stderr to stdout.
The only output from fsck that should go to stderr is the usage message.
if setup() fails then exit with EEXIT rather than 0.
Reviewed by: mckusick
Sponsored by: Netflix
John Baldwin [Tue, 1 Sep 2020 16:20:42 +0000 (16:20 +0000)]
Fix a buffer overrun.
getln() returns 'len' valid characters. line[len] is out of bounds.
Reported by: CHERI
Reviewed by: brooks
Obtained from: CheriBSD
MFC after: 2 weeks
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D26197
Marcin Wojtas [Tue, 1 Sep 2020 16:17:21 +0000 (16:17 +0000)]
Introduce the SDHCI driver for NXP QorIQ Layerscape SoCs
Implement support for an eSDHC controller found in NXP QorIQ Layerscape SoCs.
This driver has been tested with NXP LS1046A and LX2160A (Honeycomb board),
which is incompatible with the existing sdhci_fsl driver (aiming at older
chips from this family). As such, it is not intended as replacement for
the old driver, but rather serves as an improved alternative for SoCs that
support it.
It comes with support for both PIO and Single DMA modes and samples the
clock from the extres clk API.
Submitted by: Artur Rojek <ar@semihalf.com>
Reviewed by: manu, mmel, kibab
Obtained from: Semihalf
Sponsored by: Alstom Group
Differential Revision: https://reviews.freebsd.org/D26153
Warner Losh [Tue, 1 Sep 2020 16:13:09 +0000 (16:13 +0000)]
Bump date for r365052