summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-02-07 18:41:56 +0000
committerimp <imp@FreeBSD.org>2006-02-07 18:41:56 +0000
commit2c860550f36e6d3e10336f88f31079586844c9dd (patch)
treefab1e98fd8e62ee33bf4a12efd87ed9c652962a2 /sys/conf
parent529aebfbd88ec6e5451ac8cc35feafe2c13e227c (diff)
downloadFreeBSD-src-2c860550f36e6d3e10336f88f31079586844c9dd.zip
FreeBSD-src-2c860550f36e6d3e10336f88f31079586844c9dd.tar.gz
Allow one to subset phy. If you want the kitchen sink, use device
miibus (like today). If you want a subset, choose device mii and zero or more phy to include. We always include unkphy. We make use of the | functionality that ruslan recently added to config. This allowed me to trim 57k from my KB9202 kernel.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files56
1 files changed, 30 insertions, 26 deletions
diff --git a/sys/conf/files b/sys/conf/files
index eaba2ff..0d34ce1 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -55,7 +55,7 @@ emu10k1-alsa%diked.h optional snd_emu10k1 pci \
compile-with "CC=${CC} AWK=${AWK} sh $S/tools/emu10k1-mkalsa.sh $S/gnu/dev/sound/pci/emu10k1-alsa.h emu10k1-alsa%diked.h" \
no-obj no-implicit-rule before-depend \
clean "emu10k1-alsa%diked.h"
-miidevs.h optional miibus \
+miidevs.h optional miibus | mii \
dependency "$S/tools/miidevs2h.awk $S/dev/mii/miidevs" \
compile-with "${AWK} -f $S/tools/miidevs2h.awk $S/dev/mii/miidevs" \
no-obj no-implicit-rule before-depend \
@@ -695,31 +695,35 @@ dev/mcd/mcd.c optional mcd isa nowerror
dev/mcd/mcd_isa.c optional mcd isa nowerror
dev/md/md.c optional md
dev/mem/memdev.c optional mem
-dev/mii/acphy.c optional miibus
-dev/mii/amphy.c optional miibus
-dev/mii/bmtphy.c optional miibus
-dev/mii/brgphy.c optional miibus
-dev/mii/ciphy.c optional miibus
-dev/mii/e1000phy.c optional miibus
-dev/mii/exphy.c optional miibus
-dev/mii/inphy.c optional miibus
-dev/mii/lxtphy.c optional miibus
-dev/mii/mii.c optional miibus
-dev/mii/mii_physubr.c optional miibus
-dev/mii/miibus_if.m optional miibus
-dev/mii/mlphy.c optional miibus
-dev/mii/nsgphy.c optional miibus
-dev/mii/nsphy.c optional miibus
-dev/mii/pnaphy.c optional miibus
-dev/mii/qsphy.c optional miibus
-dev/mii/rgephy.c optional miibus
-dev/mii/rlphy.c optional miibus
-dev/mii/ruephy.c optional miibus
-dev/mii/tdkphy.c optional miibus
-dev/mii/tlphy.c optional miibus
-dev/mii/ukphy.c optional miibus
-dev/mii/ukphy_subr.c optional miibus
-dev/mii/xmphy.c optional miibus
+dev/mii/acphy.c optional miibus | acphy
+dev/mii/amphy.c optional miibus | amphy
+dev/mii/bmtphy.c optional miibus | bmtphy
+dev/mii/brgphy.c optional miibus | brgphy
+dev/mii/ciphy.c optional miibus | ciphy
+dev/mii/e1000phy.c optional miibus | e1000phy
+# XXX only xl cards?
+dev/mii/exphy.c optional miibus | exphy
+# XXX only fxp cards?
+dev/mii/inphy.c optional miibus | inphy
+dev/mii/lxtphy.c optional miibus | lxtphy
+dev/mii/mii.c optional miibus | mii
+dev/mii/mii_physubr.c optional miibus | mii
+dev/mii/miibus_if.m optional miibus | mii
+dev/mii/mlphy.c optional miibus | mlphy
+dev/mii/nsgphy.c optional miibus | nsgphy
+dev/mii/nsphy.c optional miibus | nsphy
+dev/mii/pnaphy.c optional miibus | pnaphy
+dev/mii/qsphy.c optional miibus | qsphy
+dev/mii/rgephy.c optional miibus | rgephy
+# XXX rl and re only?
+dev/mii/rlphy.c optional miibus | rlphy
+# XXX rue only?
+dev/mii/ruephy.c optional miibus | ruephy
+dev/mii/tdkphy.c optional miibus | tdkphy
+dev/mii/tlphy.c optional miibus | tlphy
+dev/mii/ukphy.c optional miibus | mii
+dev/mii/ukphy_subr.c optional miibus | mii
+dev/mii/xmphy.c optional miibus | xmphy
dev/mk48txx/mk48txx.c optional mk48txx
dev/mlx/mlx.c optional mlx
dev/mlx/mlx_disk.c optional mlx
OpenPOWER on IntegriCloud