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
Remove duplicate SRCS include block. Spotted by jmallett.
Add the macio attachment for wi(4). Partially obtained from NetBSD.Reviewed by: adrianObtained from: NetBSD (partially)
Fix 'make depend'.
Remove opt_wi.h from module and fix typo in pccarddevs.
Let modules use the kernel's opt_*.h files if built along withthe kernel by wrapping all targets for fake opt_*.h files in.if defined(KERNBUILDDIR). Thus, such fake files won't becreated at all i
Let modules use the kernel's opt_*.h files if built along withthe kernel by wrapping all targets for fake opt_*.h files in.if defined(KERNBUILDDIR). Thus, such fake files won't becreated at all if modules are built with the kernel.Some modules undergo cleanup like removing unused or unneededoptions or .h files, without which they wouldn't build this wayor the other.Reviewed by: ruTested by: no binary changes in modules built aloneTested on: i386 sparc64 amd64
show more ...
Move to generating pccarddevs.h on the fly, both for the kernel andthe modules.Also generate usbdevs.h automatically now, but a non-kernel file isstopping that at the moment.
remove wi-specific host ap code; the wi driver now depends on thewlan module for 802.11 core support
We now have opt_wi.h, so go ahead and add it. Default it to 1.
-DWI_HOSTAP no longer needed
First cut at breaking out the bus attachment from the bus independentpart of the driver. Also, move the softc and some other stuff toif_wivar.h from if_wireg.h to make future merging activities ea
First cut at breaking out the bus attachment from the bus independentpart of the driver. Also, move the softc and some other stuff toif_wivar.h from if_wireg.h to make future merging activities easier.
Clean up the bogus pci.h file we create.
wi driver now includes pci.h, so we need to generate it to generate it.
Forgot to add pci_if.h to SRCSPointed out by: phk
Argh! add card_if.h to the generated list. This fixes kernel builds forthose who haven't added 'NO_MODULES=off' to /etc/make.conf.
Note new location of wi driver source code.
Use a consistent style and one much closer to the rest of /usr/src
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.
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}).
Update the WaveLAN/IEEE driver:- Convert to new bus attachment scheme. Thanks to Blaz Zupan for doing the initial work here. One thing I changed was to have the attach and detach routines work
Update the WaveLAN/IEEE driver:- Convert to new bus attachment scheme. Thanks to Blaz Zupan for doing the initial work here. One thing I changed was to have the attach and detach routines work like the PCI drivers, which means that in theory you should be able to load and unload the driver like the PCI NIC drivers, however the pccard support for this hasn't settled down yet so it doesn't quite work. Once the pccard work is done, I'll have to revisit this.- Add device wi0 to PCCARD. If we're lucky, people should be able to install via their WaveLAN cards now.- Add support for signal strength caching. The wicontrol utility has also been updated to allow zeroing and displaying the signal strength cache.- Add a /sys/modules/wi directory and fix a Makefile to builf if_wi.ko. Currently this module is only built for the i386 platform, though once the pccard stuff is done it should be able to work on the alpha too. (Theoretically you should be able to plug one of the WaveLAN/IEEE ISA cards into an alpha with an ISA slot, but we'll see how that turns out.- Update LINT to use only device wi0. There is no true ISA version of the WaveLAN/IEEE so we'll never use an ISA attachment.- Update files.i386 so that if_wi is dependent on card.