As there is interest, I've redone my kernel config in the style espoused by Andriy & Mark.
Cheers, DMK On January 20, 2012 02:24:46 PM Mark Linimon wrote: > On Fri, Jan 20, 2012 at 07:23:35PM +0200, Andriy Gapon wrote: > > I think that it probably could be easier for you and for those reviewing > > your kernel config if you 'include'-d GENERIC into your kernel config > > and then used device/nodevice, options/nooptions, etc to make your > > customizations. > > I strongly recommend this path. > > It took a long period of time to factor out the crazy kernel configs that > were used all over the package building nodes. The "stuff that changed" > wound up only being ~15 lines, 10 of which were common to all nodes and > archs. The rest were minor tweaks. > > But there was no way to tell that without a lot of detective work. > > mcl
include GENERIC nocpu I486_CPU nocpu I586_CPU ident ADMINPC5 nodevice eisa # SCSI Controllers nodevice ahb nodevice ahc nooptions AHC_REG_PRETTY_PRINT nodevice ahd nodevice esp nodevice hptiop nodevice isp nodevice mpt nodevice sym nodevice trm nodevice adv nodevice adw nodevice aha nodevice aic nodevice bt nodevice ncv nodevice nsp nodevice stg # ATA/SCSI peripherals nodevice ch nodevice sa # RAID controllers interfaced to the SCSI subsystem nodevice amr nodevice arcmsr nodevice asr nodevice ciss nodevice dpt nodevice hptmv nodevice hptrr nodevice iir nodevice ips nodevice mly nodevice twa nodevice tws # RAID controllers nodevice aac nodevice aacp nodevice ida nodevice mfi nodevice mlx nodevice pst nodevice twe # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support nodevice cbb nodevice pccard nodevice cardbus # Parallel port nodevice plip nodevice vpo # PCI Ethernet NICs. nodevice bxe nodevice de nodevice igb nodevice ixgb nodevice ti nodevice txp nodevice vx # PCI Ethernet NICs that use the common MII bus controller code. nodevice ae nodevice age nodevice alc nodevice ale nodevice bce nodevice bfe nodevice bge nodevice dc nodevice et nodevice fxp nodevice jme nodevice lge nodevice msk nodevice nfe nodevice nge nodevice pcn nodevice re nodevice rl nodevice sf nodevice sge nodevice sis nodevice sk nodevice ste nodevice stge nodevice tl nodevice tx nodevice vge nodevice vr nodevice vte nodevice wb nodevice xl # ISA Ethernet NICs. pccard NICs included. nodevice cs # 'device ed' requires 'device miibus' nodevice ed nodevice ex nodevice ep nodevice fe nodevice ie nodevice sn nodevice xe # Wireless NIC cards nodevice wlan nooptions IEEE80211_DEBUG nooptions IEEE80211_AMPDU_AGE nooptions IEEE80211_SUPPORT_MESH nodevice wlan_wep nodevice wlan_ccmp nodevice wlan_tkip nodevice wlan_amrr nodevice an nodevice ath nodevice ath_pci nodevice ath_hal nooptions AH_SUPPORT_AR5416 nodevice ath_rate_sample nodevice ipw nodevice iwi nodevice iwn nodevice malo nodevice mwl nodevice ral nodevice wi nodevice wpi # USB support nodevice ohci nodevice xhci nodevice urio # USB Serial devices nodevice u3g nodevice uark nodevice ubsa nodevice uftdi nodevice uipaq nodevice uplcom nodevice uslcom nodevice uvisor nodevice uvscom # USB Wireless nodevice rum nodevice run nodevice uath nodevice upgt nodevice ural nodevice urtw nodevice zyd # Sound support nodevice snd_es137x # Ensoniq AudioPCI ES137x nodevice snd_ich # Intel, NVidia and other ICH AC'97 Audio nodevice snd_uaudio # USB Audio nodevice snd_via8233 # VIA VT8233x Audio # IPFIREWALL support options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=100 options IPSTEALTH # Linux support options COMPAT_LINUX options LINPROCFS # VESA support options VESA # Gateway support options IPDIVERT # FDESCFS (for java) options FDESCFS
_______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"