Commit Graph

38155 Commits

Author SHA1 Message Date
Bjoern A. Zeeb
a16e001bd9 umass: enhance debugging
Investigating a hang I found having some more error information
available would be helpful, so be more verbose and also tell cam/xpt
status in case of error/panic.

Reviewed by:	hselasky
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D26287
2020-09-04 18:29:59 +00:00
Bjoern A. Zeeb
ed75ef34d4 umass: fix a cam_sim leak in error case
While debugging a hang I noticed that in case of error in
umass_cam_attach_sim() we miss a cam_sim_free() call.
Added that to not leak resources.

Reviewed by:	hselasky
MFC after:	3 days
Differential Revision:	D26287
2020-09-04 18:26:35 +00:00
Andriy Gapon
e7fe5d60b1 move defintion of hw.i2c sysctl node from iicbb to iicbus
MFC after:	2 weeks
2020-09-03 08:02:19 +00:00
Andriy Gapon
0524c5fc82 twsi: no need to compare boolean with boolean constant
Testing the boolean directly is shorter and more idiomatic.

MFC after:	1 week
2020-09-03 08:01:21 +00:00
Andriy Gapon
d6adffa570 twsi: replace a couple of errno codes with i2c error codes
Reviewed by:	manu
MFC after:	1 week
2020-09-03 07:42:53 +00:00
Niclas Zeising
1f42dc843f drm2: Fix build after r365264
Fix the build after r365264, I forgot to exclude arm in one more place.

Reported by:	rpokala
Approved by:	manu (implicit, build fix)
MFC after:	3 days
X-MFC-With:	365264
Pointy-hat to:	zeising
2020-09-03 05:25:39 +00:00
Ed Maste
49492b213f mgb: correct macro argument name
mgb had a longstanding typo in function-like macro MGB_NEXT_RING_IDX's
argument, but the macro had no consumers.  r365061 introduced a use of
the macro, after which mgb failed to build.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2020-09-03 02:17:55 +00:00
John Baldwin
85b29fea3c Fix the variable name passed to OF_getprop().
Reported by:	tinderbox
2020-09-02 22:27:30 +00:00
Ian Lepore
ac07cdf8f7 In ltc430x(4), add the ability to configure control register 2 via FDT or
hints data.  Control register 2 holds the settings a user might want to
configure, such as the timeout value for idle busses and whether to enable
the mass-writes feature.

Also add hint support for disconnecting idle busses (which was already
supported using FDT data).

Update the manpage with the new features, and also split the hints section
into separate lists of required and optional hints.
2020-09-02 19:37:47 +00:00
Mark Johnston
2d838cd867 Add the MEM_EXTRACT_PADDR ioctl to /dev/mem.
This allows privileged userspace processes to find information about the
physical page backing a given mapping.  It is useful in applications
such as DPDK which perform some of their own memory management.

Reviewed by:	kib, jhb (previous version)
MFC after:	2 weeks
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara Inc.
Differential Revision:	https://reviews.freebsd.org/D26237
2020-09-02 18:12:47 +00:00
Niclas Zeising
662c3e2084 drm2: Further improve deprecation message
Further improve the drm2 deprecation message, only displaying information
about the port for relevant architectures, and skipping the message
completely from arm, which uses some parts of drm2 still.

This is mostly intended to be merged to 12, since the base bits of drm2 on
FreeBSD 13 are only really used on arm.

Reviewed by:	manu, mmel
Approved by:	manu
MFC after:	3 days
X-MFC-with:	r364737
Differential Revision:	https://reviews.freebsd.org/D26275
2020-09-02 18:04:49 +00:00
Eric Joyner
2984a8dd7c ixl(4): Add support for X710-T*L devices
Add support for new devices which are capable of 2.5 and 5G speeds, as well as
Energy Efficient Ethernet (EEE):

- introduce new device ids
- add ability to select 2.5 and 5G speeds on devices which support it
- add sysctls to enable EEE and read related statistics

Submitted by:	Krzysztof Galazka <krzysztof.galazka@intel.com>
Reviewed by:	#IntelNetworking
MFC after:	3 days
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D25549
2020-09-01 23:16:38 +00:00
Mateusz Guzik
ab326db897 cpufreq: clean up empty lines in .c and .h files 2020-09-01 22:11:48 +00:00
Mateusz Guzik
a7699405cb cpuctl: clean up empty lines in .c and .h files 2020-09-01 22:11:22 +00:00
Mateusz Guzik
ea78d63ed0 cmx: clean up empty lines in .c and .h files 2020-09-01 22:11:05 +00:00
Mateusz Guzik
405b8d43e4 ciss: clean up empty lines in .c and .h files 2020-09-01 22:10:55 +00:00
Mateusz Guzik
0979589188 cfi: clean up empty lines in .c and .h files 2020-09-01 22:10:34 +00:00
Mateusz Guzik
9c0df1da91 cfe: clean up empty lines in .c and .h files 2020-09-01 22:10:24 +00:00
Mateusz Guzik
594dd1ded3 cesa: clean up empty lines in .c and .h files 2020-09-01 22:10:11 +00:00
Mateusz Guzik
ebf31a5cb9 ce: clean up empty lines in .c and .h files 2020-09-01 22:10:00 +00:00
Mateusz Guzik
44b1283d2a cardbus: clean up empty lines in .c and .h files 2020-09-01 22:09:41 +00:00
Mateusz Guzik
2334c4b865 cadence: clean up empty lines in .c and .h files 2020-09-01 22:09:26 +00:00
Mateusz Guzik
1224a253d8 md: clean up empty lines in .c and .h files 2020-09-01 22:08:52 +00:00
Mateusz Guzik
9f169a20b5 mem: clean up empty lines in .c and .h files 2020-09-01 22:08:39 +00:00
Mateusz Guzik
f0782e02a2 mfi: clean up empty lines in .c and .h files 2020-09-01 22:08:26 +00:00
Mateusz Guzik
fc32241fc8 mgb: clean up empty lines in .c and .h files 2020-09-01 22:08:14 +00:00
Mateusz Guzik
0077d05cae mii: clean up empty lines in .c and .h files 2020-09-01 22:07:59 +00:00
Mateusz Guzik
5ef3520a33 mly: clean up empty lines in .c and .h files 2020-09-01 22:07:37 +00:00
Mateusz Guzik
56feefccc7 mmc: clean up empty lines in .c and .h files 2020-09-01 22:07:26 +00:00
Mateusz Guzik
577858c836 mpr: clean up empty lines in .c and .h files 2020-09-01 22:07:12 +00:00
Mateusz Guzik
742c5f2014 mps: clean up empty lines in .c and .h files 2020-09-01 22:07:00 +00:00
Mateusz Guzik
0bd9a5da1c mpt: clean up empty lines in .c and .h files 2020-09-01 22:06:41 +00:00
Mateusz Guzik
139b723f80 mrsas: clean up empty lines in .c and .h files 2020-09-01 22:06:23 +00:00
Mateusz Guzik
3cb02df9ae mthca: clean up empty lines in .c and .h files 2020-09-01 22:06:07 +00:00
Mateusz Guzik
68304fdc15 mvs: clean up empty lines in .c and .h files 2020-09-01 22:05:53 +00:00
Mateusz Guzik
1046c45055 mwl: clean up empty lines in .c and .h files 2020-09-01 22:05:39 +00:00
Mateusz Guzik
6622a5e912 my: clean up empty lines in .c and .h files 2020-09-01 22:05:21 +00:00
Mateusz Guzik
ecb86c27ba mxge: clean up empty lines in .c and .h files 2020-09-01 22:05:00 +00:00
Mateusz Guzik
4dd5edf32a nfe: clean up empty lines in .c and .h files 2020-09-01 22:04:37 +00:00
Mateusz Guzik
db95a0c2f6 nfsmb: clean up empty lines in .c and .h files 2020-09-01 22:04:24 +00:00
Mateusz Guzik
1db0db8a10 nge: clean up empty lines in .c and .h files 2020-09-01 22:04:10 +00:00
Mateusz Guzik
391486af75 ntb: clean up empty lines in .c and .h files 2020-09-01 22:03:55 +00:00
Mateusz Guzik
86e53c0789 null: clean up empty lines in .c and .h files 2020-09-01 22:03:46 +00:00
Mateusz Guzik
06e9b42260 nvd: clean up empty lines in .c and .h files 2020-09-01 22:03:32 +00:00
Mateusz Guzik
d87b31e159 nvme: clean up empty lines in .c and .h files 2020-09-01 22:03:10 +00:00
Mateusz Guzik
d6d2fd45b9 nvram2env: clean up empty lines in .c and .h files 2020-09-01 22:02:55 +00:00
Mateusz Guzik
cec3c5649c oce: clean up empty lines in .c and .h files 2020-09-01 22:02:32 +00:00
Mateusz Guzik
98d835ae88 ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
Mateusz Guzik
f9874fbbf1 ofw: clean up empty lines in .c and .h files 2020-09-01 22:01:53 +00:00
Mateusz Guzik
ad297e9ec5 otus: clean up empty lines in .c and .h files 2020-09-01 22:01:41 +00:00