]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
3 years agosdio: clean up empty lines in .c and .h files
Mateusz Guzik [Tue, 1 Sep 2020 21:53:58 +0000 (21:53 +0000)]
sdio: clean up empty lines in .c and .h files

3 years agosec: 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

3 years agosk: 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

3 years agosmartpqi: 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

3 years agosmbus: 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

3 years agosmc: 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

3 years agospibus: 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

3 years agostge: 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

3 years agosuperio: 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

3 years agosym: 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

3 years agotcp_log: 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

3 years agotdfx: 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

3 years agoti: 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

3 years agotpm: 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

3 years agotsec: 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

3 years agouart: 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

3 years agovge: 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

3 years agoviapm: 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

3 years agovideomode: 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

3 years agovkbd: 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

3 years agovmd: 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

3 years agovnic: 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

3 years agovr: 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

3 years agovt: 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

3 years agowatchdog: 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

3 years agowbwd: 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

3 years agowi: 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

3 years agowpi: 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

3 years agowtap: 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

3 years agodev/xen: 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

3 years agoxilinx: 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

3 years agobwn: 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

3 years agobwi: 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

3 years agobnxt: 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

3 years agobhnd: 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

3 years agobge: 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

3 years agobfe: 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

3 years agoberi: 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

3 years agobce: 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

3 years agoaxgbe: 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

3 years agoatkbdc: 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

3 years agoath: 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

3 years agoata: 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

3 years agoasmc: 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

3 years agoarcmsr: 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

3 years agoan: 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

3 years agoamr: 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

3 years agoamd*: 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

3 years agoaltera: 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

3 years agoalpm: 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

3 years agoale: 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

3 years agoal_eth: 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

3 years agoaic7xxx: 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

3 years agoahci: 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

3 years agoagp: 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

3 years agoif_age: 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

3 years agoif_ae: 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

3 years agoadlink: 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

3 years agoadb: 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

3 years agoacpi_support: 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

3 years agortwn: 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

3 years agoacpica: 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

3 years agoaacraid: 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

3 years agoaac: 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

3 years agotwe: 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

3 years agotws: 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

3 years agovirtio: 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

3 years agoiscsi: 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

3 years agovmware: 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

3 years agosyscons: 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

3 years agotwa: 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

3 years agosfxge: 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

3 years agosound: 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

3 years agousb: 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

3 years agosecurity: 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

3 years agonfs: 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

3 years agolibkern: 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

3 years agocompat: 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

3 years agox86: 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

3 years agoufs: 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

3 years agoxen: 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

3 years agomips: 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

3 years agoriscv: 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

3 years agovm: 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

3 years agopowerpc: 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

3 years agoi386: 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

3 years agonet: 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

3 years agofs: 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

3 years agoarm64: 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

3 years agoarm: 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

3 years agoamd64: 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

3 years agoadd Xr to device_get_sysctl(9) to make this easier to find
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

3 years agoiflib: leave only 1 receive descriptor unused
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

3 years agoqlxgb: Initialize if_mtu before setting max_frame_size.
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

3 years agoDocument the fact that you must set an i2c slave address as well as the
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.

3 years agoEnsure zstreamdump subdir can be visited
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.

3 years agoMove all of the error prints in readsb() from stderr to stdout.
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

3 years agoFix a buffer overrun.
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

3 years agoIntroduce the SDHCI driver for NXP QorIQ Layerscape SoCs
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

3 years agoBump date for r365052
Warner Losh [Tue, 1 Sep 2020 16:13:09 +0000 (16:13 +0000)]
Bump date for r365052