sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Move most of the contents of opt_compat.h to opt_global.h.opt_compat.h is mentioned in nearly 180 files. In-progress networkdriver compabibility improvements may add over 100 more so this isclose
Move most of the contents of opt_compat.h to opt_global.h.opt_compat.h is mentioned in nearly 180 files. In-progress networkdriver compabibility improvements may add over 100 more so this iscloser to "just about everywhere" than "only some files" per theguidance in sys/conf/options.Keep COMPAT_LINUX32 in opt_compat.h as it is confined to a subset ofsys/compat/linux/*.c. A fake _COMPAT_LINUX option ensure opt_compat.his created on all architectures.Move COMPAT_LINUXKPI to opt_dontuse.h as it is only used to control theset of compiled files.Reviewed by: kib, cem, jhb, jtlSponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D14941
show more ...
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, supportCWARNFALGS.$file centrally so we don't have to have it in all theplaces. Remove a few warning flags that are no longer needed.
Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, supportCWARNFALGS.$file centrally so we don't have to have it in all theplaces. Remove a few warning flags that are no longer needed.Also, always use -Wno-unknown-pragma to (hopefully temporarily) workaround #pragma ident in debug.h in the opensolaris code. Remove somestale warning suppression that's no longer necessary.
Upgrade our copy of llvm/clang to trunk r162107. With thanks toBenjamin Kramer and Joerg Sonnenberger for their input and fixes.
Work around the following clang warning in mps(4): sys/dev/mps/mps_sas.c:861:1: error: function 'mpssas_discovery_timeout' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declar
Work around the following clang warning in mps(4): sys/dev/mps/mps_sas.c:861:1: error: function 'mpssas_discovery_timeout' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration] mpssas_discovery_timeout(void *data) ^Because the driver is obtained from upstream, we don't want to modifyit; just silence the warning instead, it is harmless.MFC after: 3 days
Remove gratuitous DEBUG_FLAGS="-g" setting (this is already the defaultoption with GENERIC kernels).Reviewed by: ken
Bring in the LSI-supported version of the mps(4) driver.This involves significant changes to the mps(4) driver, but is not acomplete rewrite.Some of the changes in this version of the driver: -
Bring in the LSI-supported version of the mps(4) driver.This involves significant changes to the mps(4) driver, but is not acomplete rewrite.Some of the changes in this version of the driver: - Integrated RAID (IR) support. - Support for WarpDrive controllers. - Support for SCSI protection information (EEDP). - Support for TLR (Transport Level Retries), needed for tape drives. - Improved error recovery code. - ioctl interface compatible with LSI utilities.mps.4: Update the mps(4) driver man page somewhat for the driver changes. The list of supported hardware still needs to be updated to reflect the full list of supported cards.conf/files: Add the new driver files.mps/mpi/*: Updated version of the MPI header files, with a BSD style copyright.mps/*: See above for a description of the new driver features.modules/mps/Makefile: Add the new mps(4) driver files.Submitted by: Kashyap Desai <[email protected]>Reviewed by: kenMFC after: 1 week
Re-add opt_mps.h and opt_cam.h, lost in the previous rev.
Currently only opt_compat.h is included by the mps(4) driver. Alsoenable /dev/mps0, which was missing from my previous patches enablingf/w upload and download.opt_compat.h issue noticed by scottl.
MFp4 (//depot/projects/mps/...)Bring in a driver for the LSI Logic MPT2 6Gb SAS controllers.This driver supports basic I/O, and works with SAS and SATA drives andexpanders.Basic error recovery
MFp4 (//depot/projects/mps/...)Bring in a driver for the LSI Logic MPT2 6Gb SAS controllers.This driver supports basic I/O, and works with SAS and SATA drives andexpanders.Basic error recovery works (i.e. timeouts and aborts) as well.Integrated RAID isn't supported yet, and there are some known bugs.So this isn't ready for production use, but is certainly ready fortesting and additional development. For the moment, new commits to thisdriver should go into the FreeBSD Perforce repository first(//depot/projects/mps/...) and then get merged into -current oncethey've been vetted.This has only been added to the amd64 GENERIC, since that is the onlyarchitecture I have tested this driver with.Submitted by: scottlDiscussed with: imp, gibbs, willSponsored by: Yahoo, Spectra Logic Corporation