Fix some modules to export more used symbols(cherry picked from commit 5bb3134a8c21cb87b30e135ef168483f0333dabb)
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
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...
show more ...
Add amr_cam module directory that was missed in the previous commit.
Move the CAM passthrough code into a true module so that it doesn't have to becompiled into the main AMR driver. It's code that is nice to have but notrequired for normal operation, and it is repo
Move the CAM passthrough code into a true module so that it doesn't have to becompiled into the main AMR driver. It's code that is nice to have but notrequired for normal operation, and it is reported to cause problems for somepeople.
The AR_SCSI_PASSTHROUGH conditional no longer exists, remove it from themakefile.
Tie the amr_linux module into the build for i386 & amd64
Add in the Linux IOCTL shim and create the megadev0 device soLinux LSI MegaRaid tools can run on FreeBSD until Linux emulation.Add in the Linux IOCTL shim and create the megadev0 device soLinux L
Add in the Linux IOCTL shim and create the megadev0 device soLinux LSI MegaRaid tools can run on FreeBSD until Linux emulation.Add in the Linux IOCTL shim and create the megadev0 device soLinux LSI MegaRaid tools can run on FreeBSD until Linux emulation.Add glue to build the modules but don't tie it into the buildyet until I test it from the CVS repo. via the mirror on anamd64 machine.Tie this into the Linux32 emulation on amd64 so the tools canrun on amd64 kernel.Cleaned up by: ps (amr_linux.c)
(1) added LSI Logic copyright, and legal line 3 in license, and string changes for "LSILogic"(2) enabled non-disk support through CAM interface(3) HA_INQ (a) enabled tagged queuing (b) disable res
(1) added LSI Logic copyright, and legal line 3 in license, and string changes for "LSILogic"(2) enabled non-disk support through CAM interface(3) HA_INQ (a) enabled tagged queuing (b) disable reset during driver loading (b) renamed BSDi string to LSI(4) disabled detecting disk devices during SCSI INQUIRY(5) changed dcdb single element sglist to send one entire buffer chunk(6) nsgelem not set in sglist(7) ap_data_transfer_length not set for dcdb(8) changed "struct thread" to "d_thread_t" for compatibliity { xxx_open, xxx_close, xxx_ioctl }(9) miscellaneous compatiblity fixes(10) bug fix for 0x0409/0x1000 card(11) added compiling amr_cam.c in sys/conf/files(12) added compiling amr_cam.c in sys/modules/amr/MakefileReviewed by:psMFC after:1 week1 week
Use a consistent style and one much closer to the rest of /usr/src
Major update to the AMI MegaRAID driver. - New support for 40LD firmware found in Series 475 and 471 adapters. - Better support for 8LD firmware adapters - Ioctl passthrough interface for userlan
Major update to the AMI MegaRAID driver. - New support for 40LD firmware found in Series 475 and 471 adapters. - Better support for 8LD firmware adapters - Ioctl passthrough interface for userland utilities. - Improved error handling and queueing. - Several bugfixes (including the 'still open' shutdown bug and closing some small race conditions). - Zone-style command allocator, reducing memory wasted under heavy load conditions. - CAM interface (disabled and not fully working) for SCSI passthrough access to non-disk devicesThanks to AMI for supplying a pile of new adapters and various otherhelp in making this happen.
Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead ofencoding the relative path.
Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.This means that the kernel can be totally self contained now and is notdependent on the last buildworld to update /usr/share/mk. Thi
Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.This means that the kernel can be totally self contained now and is notdependent on the last buildworld to update /usr/share/mk. This mightalso make it easier to build 5.x kernels on 4.0 boxes etc, assuminggensetdefs and config(8) are updated.
Add ${DEBUG_FLAGS} to CFLAGS in bsd.kmod.mk, not in scattered modulemakefiles. Bad examples in fxp/Makefile keep getting copied to newmakefiles.
Don't waste time creating amr.h since it (and NAMR) aren't used.
Removed special rules for building and cleaning device interface filesand empty options files. The rules are now generated automatically inbsd.kmod.mk. Cleaned up related things ($S and ${CLEANFI
Removed special rules for building and cleaning device interface filesand empty options files. The rules are now generated automatically inbsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}).
This is a driver for the AMI MegaRAID family of controllers. It all ofthe AMI PCI controllers using the 8LD firmware interface (40LD firmwarewill be supported as soon as I have hardware to test wi
This is a driver for the AMI MegaRAID family of controllers. It all ofthe AMI PCI controllers using the 8LD firmware interface (40LD firmwarewill be supported as soon as I have hardware to test with).These controllers are rebadged by Dell as the PERC, as well as by HPand possibly other vendors.