sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Fix some modules to export more used symbolsand remove non-present symbols that are now reported by kmod_syms.awk.Reviewed by: emasteSponsored by: The FreeBSD FoundationMFC after: 1 weekDiffer
Fix some modules to export more used symbolsand remove non-present symbols that are now reported by kmod_syms.awk.Reviewed by: emasteSponsored by: The FreeBSD FoundationMFC after: 1 weekDifferential revision: https://reviews.freebsd.org/D32878
show more ...
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
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
First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards.Specifically, add support for "Drake Skinny" and "ThunderBolt" LSIcards.Initial code was supplied by LSI under BSD license. S
First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards.Specifically, add support for "Drake Skinny" and "ThunderBolt" LSIcards.Initial code was supplied by LSI under BSD license. Several improvementswere done by myself. Such things like making it work in a static kernel,be able to boot of the RAID, performance improvements. I removed somefairly complicated code that seemed to directly access the disks underthe firmware. It doesn't seem to be needed and significantly sloweddown the performance of the driver and caused tons of sense errors tobe reported.This code is being checked in this area so others can help me get it intoshape to commit into the FreeBSD tree. Assistance has been volunteeredby iXsystems.We might want to re-work the JBOD attachment that creates /dev/mfisyspd?node for each disk.Performance is faster then prior cards. It works okay with WITNESSand INVARIANTS on amd64 and i386. I recall seeing a use afterfree time bug with FreeBSD 8 and a Drake Skinny card with WITNESSand INVARIANTS on.First task is get all of the new structures to be named in FreeBSDstyle format.Next is probably to deal with the 64bit addressing changes that aremostly around the #ifdef __amd64__ checks.Thanks to LSI for providing the initial code.Obtained from: LSI
MFtbemd:Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is thesource code location of the machine, the latter the binary output. Ingeneral, we want to use MACHINE_CPUARCH instead
MFtbemd:Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is thesource code location of the machine, the latter the binary output. Ingeneral, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unlesswe're tesitng for a specific target. The isn't even moot fori386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86,although a specific cleanup for that likely would be needed...
Add the 'mfip' sub-driver for gaining SCSI-passthrough access to deviceson an MFI controller.
Update the mfi module build with the mfi_debug.c file.
Remove cruft.
Add in a bunch of things to the mfi driver: - Linux ioctl support, with the other Linux changes MegaCli will run if you mount linprocfs & linsysfs then set sysctl compat.linux.osrelease=2.6.1
Add in a bunch of things to the mfi driver: - Linux ioctl support, with the other Linux changes MegaCli will run if you mount linprocfs & linsysfs then set sysctl compat.linux.osrelease=2.6.12 or similar. This works on i386. It should work on amd64 but not well tested yet. StoreLib may or may not work. Remember to kldload mfi_linux. - Add in AEN (Async Event Notification) support so we can get messages from the firmware when something happens. Not all messages are in defined in event detail. Use event_log to try to figure out what happened. - Try to implement something like SIGIO for StoreLib. Since mrmonitor doesn't work right I can't fully test it. StoreLib works best with the rh9 base. In theory mrmonitor isn't needed due to native driver support of AEN :-)Now we can configure and monitor the RAID better.Submitted by: IronPort Systems.
Add a driver for the new LSI MegaRAID SAS controller family. The 'MFI' nameis derived from the phrase 'MegaRAID Firmware Interface' used by LSI. Thisdriver provides a block interface to logical d
Add a driver for the new LSI MegaRAID SAS controller family. The 'MFI' nameis derived from the phrase 'MegaRAID Firmware Interface' used by LSI. Thisdriver provides a block interface to logical disks on the card and a minimalmanagement device. It is MPSAFE, INTR_FAST, and 64-bit capable.Thanks to Dell for providing hardware to test with and IronPort forsponsoring the work.Sponsored by: Dell, IronportMFC After: 3 days