summaryrefslogtreecommitdiffstats
path: root/sys/modules/aic7xxx
Commit message (Collapse)AuthorAgeFilesLines
* MFC r314651,r318439,r318440:ngie2017-05-305-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | r314651: sys/modules: normalize .CURDIR-relative paths to SRCTOP This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 r318439: Normalize .PATH on SRCTOP This will help Jenkins dedupe 9 warnings between the static build and the module build of ipsec(4). Missed in SRCTOP conversion in r314651. MFC with: r314651 r318440: Normalize SYSDIR on SRCTOP instead of .CURDIR This is being done to simplify pathing for CFLAGS and source files.
* WITH_META_MODE: Avoid false-positive error due to missing .meta with build ↵bdrewery2016-06-291-1/+1
| | | | | | | commands. Sponsored by: EMC / Isilon Storage Division Approved by: re (blanket, META_MODE)
* Use .MAKE.LEVEL being defined as a bootstrap aid when providingimp2015-01-101-1/+5
| | | | | | | | fallback targets to build the aic generated files. fmake doesn't like the current construct, and since it doesn't have .MAKE.LEVEL, just don't provide the fallback targets for fmake. This gives a little extra compatibility to old systems trying to build new kernels at almost no cost to the current code.
* Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, supportimp2015-01-032-2/+0
| | | | | | | | CWARNFALGS.$file centrally so we don't have to have it in all the places. Remove a few warning flags that are no longer needed. Also, always use -Wno-unknown-pragma to (hopefully temporarily) work around #pragma ident in debug.h in the opensolaris code. Remove some stale warning suppression that's no longer necessary.
* This module requires pci_if.h, add it to the SRCS list.ian2014-08-211-1/+1
| | | | | | We haven't noticed that it was missing because eisa has been disabled for a while in -current, but it became apparent when some parallel-build stuff was MFC'd to 10-stable and this module failed to build there.
* Remove dependence on source tree options. Move all kernel moduleimp2014-08-111-9/+10
| | | | | | | | | | | | | | | | | | options into kern.opts.mk and change all the places where we use src.opts.mk to pull in the options. Conditionally define SYSDIR and use SYSDIR/conf/kern.opts.mk instead of a CURDIR path. Replace all instances of CURDIR/../../etc with STSDIR, but only in the affected files. As a special compatibility hack, include bsd.owm.mk at the top of kern.opts.mk to allow the bare build of sys/modules to work on older systems. If the defaults ever change between 9.x, 10.x and current for these options, however, you'll wind up with the host OS' defaults rather than the -current defaults. This hack will be removed when we no longer need to support this build scenario. Reviewed by: jhb Differential Revision: https://phabric.freebsd.org/D529
* Re-enable -Werror for these modules. It is already enabled for the samejhb2014-06-091-1/+0
| | | | files when built as part of a kernel.
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| | | | from the latter.
* Don't build EISA by default anymore. Remove from i386 GENERIC andimp2014-04-181-1/+6
| | | | | | | create an option that defaults to "no" on all platforms to not build the EISA bits. Discussed on: arch@
* Remove aicasm as a build dependency. It made sense when the ahc and ahdscottl2014-01-076-17/+43
| | | | | | | | | | | | drivers and their firmware were under active development, but those days have passed. The firmware now exists in pre-compiled form, no longer dependent on it's sources or on aicasm. If you wish to rebuild the firmware from source, the glue still exists under the 'make firmware' target in sys/modules/aic7xxx. This also fixes the problem introduced with r257777 et al with building kernels the old fashioned way in sys/$arch/compile/$CONFIG when the ahc/ahd drivers were included.
* Rework the aicasm build machinery so that it gets built along with toolchainian2013-11-043-11/+5
| | | | | | | | | | components instead of with the kernel and/or modules. This ensures that it gets built with the host compiler, not the compiler in obj/... used to build the target components (which may be a cross-compiler outputting code for a different architecture and using header files with types and options set up for the wrong architecture). Reviewed by: imp
* Disable -Wconstant-conversion warnings for the aic7xxx module in a moredim2011-12-222-2/+6
| | | | | | | fine-grained way: only add the option for the specific .c files that need them, like via sys/conf/files. MFC after: 1 week
* Amend r228779 by also disabling -Wconstant-conversion warnings for thedim2011-12-212-0/+2
| | | | | | aic7xxx module. MFC after: 1 week
* Add WERRROR= to work around the warningsimp2005-01-261-0/+1
|
* Back out previous commits. Installing new share/mk fixes this.njl2005-01-031-1/+0
|
* NO_MAN is now NOMAN.njl2005-01-031-1/+1
|
* Fix kernel modules build. For some reason, this module now bails out withnjl2005-01-031-0/+1
| | | | an error that there is no aicasm.1 man page.
* Curlies only work in target and sources specifications, butru2004-10-242-2/+2
| | | | not when passed to Bourne shell. This unbreaks "make clean".
* Add ISA attachement files for the aic7xxx driver.gibbs2004-08-171-0/+18
| | | | | Approved by: re Reminded by: obrien
* Add an ISA attachement to the aic7xxx driver to handle 284X controllers.gibbs2004-08-172-4/+4
| | | | | | | | | | | | | | | | | | | | | The ISA probe uses an identify routine to probe all slot locations from 1 to 14 that do not conflict with other allocated resources. This required making aic7770.c part of the driver core when compiled as a module. aic7xxx.c: aic79xx.c: aic_osm_lib.c: Use aic_scb_timer_start() consistently to start the watchdog timer. This removes a few places that verbatum copied the code in aic_scb_timer_start(). During recovery processing, allow commands to still be queued to the controller. The only requirement we have is that our recovery command be queued first - something the code already guaranteed. The only other change required to make this work is to prevent timers from being started for these newly queued commands. Approved by: re
* Add eisa_if.h to the list of things to build for new eisa_if.m for theimp2004-06-091-1/+1
| | | | case where we build modules with world.
* Update GENSRCS and aicasm options correctly depending on whether registergibbs2003-01-222-26/+28
| | | | | | | | | pretty printing is enabled Add a dependency on the source files for aicasm so that it will be rebuilt if out of date. Simplify.
* Include "../Makefile.inc".nyan2002-11-062-0/+6
|
* Hook the aic7xxx modules up. This requires some extra care since aicasmscottl2002-11-033-27/+6
| | | | | | | | is a compiler tool and needs to be compiled by the host compiler. I've tested this in i386->sparc cross-build, 4.7->current upgrade, normal buildkernel target, and normal /sys/i386/compile/GENERIC configurations. Submitted by: ru
* Add cleandepend target.gibbs2002-08-311-0/+4
|
* Pass the cleandir target on to the aicasm Makefile. This shouldgibbs2002-08-311-0/+4
| | | | fix the buildkernel target.
* Complete the hookup of ahd/ahc module building.gibbs2002-08-313-15/+41
|
* Allow the ahc and ahd drivers to be built as modules. This alsoscottl2002-08-016-0/+109
breaks the ahc driver into a core back-end and pci and eisa front-ends.
OpenPOWER on IntegriCloud