aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/xl
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* mii: Add opt_platform.h to all miibus driversWarner Losh2022-04-051-1/+1
| | | | | | | | | miivar.h includes opt_platform.h. Make sure all the drivers that use the miibus_if.h interface file have opt_platform.h as well. While some of these may not, strictly speaking, need it, it's easier to include it universally for miibus. Sponsored by: Netflix
* sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper2017-03-041-1/+1
| | | | | | | | | | | This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314651
* - Follow the lead of dcphy(4) and pnphy(4) and move the reminder of the PHYMarius Strobl2011-10-081-2/+1
| | | | | | | | | | | | | | | | | drivers that only ever attach to a particular MAC driver, i.e. inphy(4), ruephy(4) and xlphy(4), to the directory where the respective MAC driver lives and only compile it into the kernel when the latter is also there, also removing it from miibus.ko and moving it into the module of the respective MAC driver. - While at it, rename exphy.c, which comes from NetBSD where the MAC driver it corresponds to also is named ex(4) instead of xl(4) but that in FreeBSD actually identifies itself as xlphy(4), and its function names accordingly for consistency. - Additionally while at it, fix some minor style issues like whitespace in the register headers and add multi-inclusion protection to inphyreg.h. Notes: svn path=/head/; revision=226154
* Move the xl driver form sys/pci to sys/dev/xl for consistency.Warner Losh2008-08-101-1/+1
| | | | Notes: svn path=/head/; revision=181522
* Remove bridge(4) from the tree. if_bridge(4) is a full functionalMax Laier2005-09-271-1/+1
| | | | | | | | | | | replacement and has additional features which make it superior. Discussed on: -arch Reviewed by: thompsa X-MFC-after: never (RELENG_6 as transition period) Notes: svn path=/head/; revision=150636
* Use a consistent style and one much closer to the rest of /usr/srcDavid E. O'Brien2001-01-061-4/+5
| | | | Notes: svn path=/head/; revision=70711
* Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead ofPeter Wemm2000-05-271-1/+1
| | | | | | | encoding the relative path. Notes: svn path=/head/; revision=60966
* Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.Peter Wemm2000-05-041-1/+1
| | | | | | | | | | This means that the kernel can be totally self contained now and is not dependent on the last buildworld to update /usr/share/mk. This might also make it easier to build 5.x kernels on 4.0 boxes etc, assuming gensetdefs and config(8) are updated. Notes: svn path=/head/; revision=59951
* Zap KMODDEPS linePeter Wemm2000-05-011-1/+0
| | | | Notes: svn path=/head/; revision=59865
* Add ${DEBUG_FLAGS} to CFLAGS in bsd.kmod.mk, not in scattered moduleBruce Evans2000-01-281-1/+0
| | | | | | | | makefiles. Bad examples in fxp/Makefile keep getting copied to new makefiles. Notes: svn path=/head/; revision=56735
* Removed special rules for building and cleaning device interface filesBruce Evans1999-11-281-19/+1
| | | | | | | | and empty options files. The rules are now generated automatically in bsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}). Notes: svn path=/head/; revision=53846
* Zap some unused echo "#define NFOO 1" > foo.h style defunct stuff.Peter Wemm1999-09-271-5/+2
| | | | Notes: svn path=/head/; revision=51712
* Don't generate 'bpf.h' since it's not used.Peter Wemm1999-09-271-5/+2
| | | | Notes: svn path=/head/; revision=51704
* Change the name of the installed KLM to contain a leading "if_".David E. O'Brien1999-09-201-1/+2
| | | | | | | | | Except for miibus which is now installed as miibus.ko. Discussed by: msmith, peter, and wpaul Notes: svn path=/head/; revision=51443
* Convert the 3Com XL driver to miibus. This one is a little trickyBill Paul1999-08-291-0/+5
| | | | | | | | | | | | | | | | | | | due to the fact that there are non-MII cards supported by the same driver and I don't have all of the cards available for testing. There's also the 3c905B-COMBO which has MII, AUI and BNC media ports all in one package. Supporting the COMBO is difficult because we have to add the 10base5 and 10base2 media types to the same ifmedia struct as the MII-attached types, however there is no way to force the miibus and child PHYs into existence before xl_attach() completes, so there is no ifmedia struct available in xl_attach(). What we do inistead is use the mediainit method as a callback: when a child PHY is attached, it calls the miibus mediainit routine which selects a default media. This routing also calls the NIC driver's mediainit method (if it implements one) at which point we can safely add the other media types. Notes: svn path=/head/; revision=50579
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Convert the VIA Rhine driver to newbus and set it up to be compiled asBill Paul1999-08-101-2/+2
| | | | | | | | | | | | | a module. Also modified the code to work on FreeBSD/alpha and added device vr0 to the alpha GENERIC config. While I was in the neighborhood, I noticed that I was still using #define NFPX 1 in all of the Makefiles that I'd copied from the fxp module. I don't really use #define Nfoo X so it didn't matter, but I decided to customize this correctly anyway. Notes: svn path=/head/; revision=49610
* Create module directories for the xl, ti, tl and sk drivers and addBill Paul1999-07-231-0/+28
them to the Makefile so that modules will be generated for /modules. Notes: svn path=/head/; revision=49016