1999-03-09 14:06:55 +00:00
|
|
|
# This is loader.conf - a file full of useful variables that you can
|
|
|
|
# set to change the default load behavior of your system. You should
|
|
|
|
# not edit this file! Put any overrides into one of the
|
|
|
|
# loader_conf_files instead and you will be able to update these
|
|
|
|
# defaults later without spamming your local configuration information.
|
|
|
|
#
|
|
|
|
# All arguments must be in double quotes.
|
|
|
|
#
|
1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
##############################################################
|
|
|
|
### Basic configuration options ############################
|
|
|
|
##############################################################
|
|
|
|
|
|
|
|
exec=".( Loading /boot/defaults/loader.conf ) cr"
|
|
|
|
|
2000-09-12 20:21:11 +00:00
|
|
|
kernel="kernel" # /boot sub-directory containing kernel and modules
|
|
|
|
bootfile="kernel" # Kernel name (possibly absolute path)
|
2004-09-30 20:02:07 +00:00
|
|
|
kernel_options="" # Flags to be passed to the kernel
|
1999-03-09 14:06:55 +00:00
|
|
|
|
2002-05-24 02:28:58 +00:00
|
|
|
loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local"
|
|
|
|
nextboot_conf="/boot/nextboot.conf"
|
|
|
|
nextboot_enable="NO"
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
verbose_loading="NO" # Set to YES for verbose loader output
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################
|
|
|
|
### Splash screen configuration ############################
|
|
|
|
##############################################################
|
|
|
|
|
1999-05-14 10:03:58 +00:00
|
|
|
splash_bmp_load="NO" # Set this to YES for bmp splash screen!
|
|
|
|
splash_pcx_load="NO" # Set this to YES for pcx splash screen!
|
1999-03-09 14:06:55 +00:00
|
|
|
vesa_load="NO" # Set this to YES to load the vesa module
|
|
|
|
bitmap_load="NO" # Set this to YES if you want splash screen!
|
2000-09-16 19:56:23 +00:00
|
|
|
bitmap_name="splash.bmp" # Set this to the name of the bmp or pcx file
|
|
|
|
bitmap_type="splash_image_data" # and place it on the module_path
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
##############################################################
|
|
|
|
### Loader settings ########################################
|
|
|
|
##############################################################
|
|
|
|
|
1999-12-07 04:24:05 +00:00
|
|
|
#autoboot_delay="10" # Delay in seconds before autobooting
|
2003-07-01 01:03:32 +00:00
|
|
|
#beastie_disable="NO" # Turn the beastie boot menu on and off
|
1999-12-07 04:24:05 +00:00
|
|
|
#console="vidconsole" # Set the current console
|
|
|
|
#currdev="disk1s1a" # Set the current device
|
2004-08-06 15:06:06 +00:00
|
|
|
module_path="/boot/modules" # Set the module search path
|
1999-11-01 08:07:04 +00:00
|
|
|
#prompt="\\${interpret}" # Set the command prompt
|
1999-12-07 04:24:05 +00:00
|
|
|
#root_disk_unit="0" # Force the root disk unit number
|
|
|
|
#rootdev="disk1s1a" # Set the root filesystem
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
##############################################################
|
|
|
|
### Kernel settings ########################################
|
|
|
|
##############################################################
|
|
|
|
|
2002-07-16 18:16:01 +00:00
|
|
|
# The following boot_ variables are enabled
|
|
|
|
# by setting them to any value.
|
|
|
|
#boot_askname="" # Prompt the user for the name of the root device
|
2004-09-30 13:09:00 +00:00
|
|
|
#boot_cdrom="" # Attempt to mount root file system from CD-ROM
|
2002-07-16 18:16:01 +00:00
|
|
|
#boot_ddb="" # Instructs the kernel to start in the DDB debugger
|
|
|
|
#boot_gdb="" # Selects gdb-remote mode for the kernel debugger
|
2004-09-30 13:09:00 +00:00
|
|
|
#boot_multicons="" # Use multiple consoles
|
|
|
|
#boot_serial="" # Use serial console
|
2002-07-16 18:16:01 +00:00
|
|
|
#boot_single="" # Start system in single-user mode
|
2004-09-30 13:09:00 +00:00
|
|
|
#boot_userconfig="" # Run kernel's interactive device configuration program;
|
|
|
|
# currently a no-op
|
2002-07-16 18:16:01 +00:00
|
|
|
#boot_verbose="" # Causes extra debugging information to be printed
|
1999-12-07 18:35:58 +00:00
|
|
|
#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall"
|
|
|
|
# Sets the list of init candidates
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
##############################################################
|
|
|
|
### Kernel tunables ########################################
|
|
|
|
##############################################################
|
|
|
|
|
2004-07-29 20:08:40 +00:00
|
|
|
#hw.physmem="1G" # Limit physical memory. See loader(8)
|
2002-07-03 06:42:43 +00:00
|
|
|
#kern.dfldsiz="" # Set the initial data size limit
|
|
|
|
#kern.dflssiz="" # Set the initial stack size limit
|
|
|
|
#kern.hz="100" # Set the kernel interval timer rate
|
|
|
|
#kern.maxbcache="" # Set the max buffer cache KVA storage
|
|
|
|
#kern.maxdsiz="" # Set the max data size
|
|
|
|
#kern.maxfiles="" # Set the sys. wide open files limit
|
|
|
|
#kern.maxproc="" # Set the maximum # of processes
|
|
|
|
#kern.maxssiz="" # Set the max stack size
|
|
|
|
#kern.maxswzone="" # Set the max swmeta KVA storage
|
|
|
|
#kern.maxtsiz="" # Set the max text size
|
2001-11-26 03:49:59 +00:00
|
|
|
#kern.maxusers="32" # Set size of various static tables
|
2002-07-03 06:42:43 +00:00
|
|
|
#kern.nbuf="" # Set the number of buffer headers
|
|
|
|
#kern.ncallout="" # Set the maximum # of timer events
|
|
|
|
#kern.sgrowsiz="" # Set the amount to grow stack
|
2002-09-02 20:10:19 +00:00
|
|
|
#kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI
|
2002-11-02 08:49:51 +00:00
|
|
|
#kern.ipc.maxsockets="" # Set the maximum number of sockets avaliable
|
1999-03-09 14:06:55 +00:00
|
|
|
#kern.ipc.nmbclusters="" # Set the number of mbuf clusters
|
2002-07-03 06:42:43 +00:00
|
|
|
#kern.ipc.nmbufs="" # Set the maximum number of mbufs
|
|
|
|
#kern.ipc.nsfbufs="" # Set the number of sendfile(2) bufs
|
1999-03-09 14:06:55 +00:00
|
|
|
#net.inet.tcp.tcbhashsize="" # Set the value of TCBHASHSIZE
|
2002-04-26 20:52:59 +00:00
|
|
|
#vfs.root.mountfrom="" # Specify root partition in a way the
|
|
|
|
# kernel understands
|
2004-09-24 09:33:48 +00:00
|
|
|
#vfs.root.mountdelay="5" # Delay root partition mount if there is no
|
|
|
|
# required provider
|
2004-01-27 15:59:38 +00:00
|
|
|
#vm.kmem_size="" # Sets the size of kernel memory (bytes)
|
2001-01-06 06:52:49 +00:00
|
|
|
#debug.ktr.cpumask="0xf" # Bitmask of CPUs to enable KTR on
|
|
|
|
#debug.ktr.mask="0x1200" # Bitmask of KTR events to enable
|
|
|
|
#debug.ktr.verbose="1" # Enable console dump of KTR events
|
2003-03-02 18:04:10 +00:00
|
|
|
#net.graph.maxalloc="128" # Maximum number of queue items to allocate
|
|
|
|
#net.graph.ngqfreemax="64" # Maximum number of free queue items to cache
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
##############################################################
|
|
|
|
### Filesystem and related modules #########################
|
|
|
|
##############################################################
|
|
|
|
|
|
|
|
# Filesystems
|
|
|
|
|
|
|
|
cd9660_load="NO" # ISO 9660 filesystem
|
|
|
|
coda_load="NO" # CODA filesystem
|
2001-05-23 10:06:48 +00:00
|
|
|
fdescfs_load="NO" # Filedescriptors filesystem
|
2004-03-01 18:42:16 +00:00
|
|
|
linprocfs_load="NO" # Linux compatibility process filesystem
|
2001-05-25 08:14:14 +00:00
|
|
|
msdosfs_load="NO" # FAT-12/16/32
|
2004-09-30 20:02:07 +00:00
|
|
|
nfsclient_load="NO" # NFS client
|
|
|
|
nfsserver_load="NO" # NFS server
|
1999-05-14 10:03:58 +00:00
|
|
|
ntfs_load="NO" # NTFS
|
2000-07-28 11:54:09 +00:00
|
|
|
nullfs_load="NO" # Null filesystem
|
2001-05-23 10:06:48 +00:00
|
|
|
portalfs_load="NO" # Portal filesystem
|
1999-03-09 14:06:55 +00:00
|
|
|
procfs_load="NO" # Process filesystem
|
2004-09-30 20:02:07 +00:00
|
|
|
#umapfs_load="NO" # User-id map filesystem
|
2001-05-23 10:06:48 +00:00
|
|
|
unionfs_load="NO" # Union filesystem
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
# Related stuff
|
|
|
|
|
2004-09-30 20:02:07 +00:00
|
|
|
geom_ccd_load="NO" # Concatenated disk driver
|
|
|
|
geom_vinum_load="NO" # Concatenated/mirror/raid driver
|
|
|
|
g_md_load="NO" # Memory disk driver (vnode/swap/malloc)
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
##############################################################
|
|
|
|
### Screen saver modules ###################################
|
|
|
|
##############################################################
|
|
|
|
|
|
|
|
# This is best done in rc.conf
|
|
|
|
|
|
|
|
screensave_load="NO" # Set to YES to load a screensaver module
|
|
|
|
screensave_name="green_saver" # Set to the name of the screensaver module
|
|
|
|
|
|
|
|
|
|
|
|
##############################################################
|
|
|
|
### Emulation modules ######################################
|
|
|
|
##############################################################
|
|
|
|
|
|
|
|
ibcs2_load="NO" # IBCS2 (SCO) emulation
|
|
|
|
ibcs2_coff_load="NO"
|
|
|
|
linux_load="NO" # Linux emulation
|
1999-05-14 10:14:50 +00:00
|
|
|
svr4_load="NO" # SystemV R4 emulation
|
|
|
|
streams_load="NO" # System V streams module
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
##############################################################
|
|
|
|
### Networking modules #####################################
|
|
|
|
##############################################################
|
|
|
|
|
|
|
|
if_disc_load="NO" # Discard device
|
2002-11-02 06:52:28 +00:00
|
|
|
if_ef_load="NO" # pseudo-device providing support for multiple ethernet frame types
|
2002-11-02 08:49:51 +00:00
|
|
|
if_faith_load="NO" # IPv6-to-IPv4 TCP relay capturing interface
|
|
|
|
if_gif_load="NO" # generic tunnel interface
|
|
|
|
if_gre_load="NO" # encapsulating network device
|
1999-03-09 14:06:55 +00:00
|
|
|
if_ppp_load="NO" # Kernel ppp
|
|
|
|
if_sl_load="NO" # SLIP
|
2002-11-02 08:49:51 +00:00
|
|
|
if_stf_load="NO" # 6to4 tunnel interface
|
|
|
|
if_tap_load="NO" # Ethernet tunnel software network interface
|
1999-03-09 14:06:55 +00:00
|
|
|
if_tun_load="NO" # Tunnel driver (user process ppp)
|
2002-11-02 08:49:51 +00:00
|
|
|
if_vlan_load="NO" # IEEE 802.1Q VLAN network interface
|
1999-03-09 14:06:55 +00:00
|
|
|
ipfw_load="NO" # Firewall
|
2004-02-26 03:53:54 +00:00
|
|
|
pf_load="NO" # packet filter
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
|
1999-05-14 10:20:54 +00:00
|
|
|
##############################################################
|
|
|
|
### Networking drivers #####################################
|
|
|
|
##############################################################
|
|
|
|
|
1999-12-02 03:48:50 +00:00
|
|
|
miibus_load="NO" # miibus support, needed for some drivers
|
2000-01-14 20:41:03 +00:00
|
|
|
if_an_load="NO" # Aironet 4500/4800 802.11 wireless NICs
|
2002-11-02 06:52:28 +00:00
|
|
|
if_ar_load="NO" # Digi SYNC/570i
|
2003-05-16 04:31:00 +00:00
|
|
|
if_awi_load="NO" # AMD PCnetMobile IEEE 802.11 wireless NICs
|
2004-09-30 20:02:07 +00:00
|
|
|
if_bfe_load="NO" # Broadcom BCM4401
|
2002-11-02 08:49:51 +00:00
|
|
|
if_bge_load="NO" # Broadcom BCM570x PCI gigabit ethernet
|
2002-11-02 06:52:28 +00:00
|
|
|
if_cm_load="NO" # SMC (90c26, 90c56, 90c66)
|
1999-12-23 05:28:31 +00:00
|
|
|
if_dc_load="NO" # DEC/Intel 21143 and various workalikes
|
2002-11-02 06:52:28 +00:00
|
|
|
if_de_load="NO" # DEC DC21x4x ethernet
|
|
|
|
if_ed_load="NO" # National Semiconductor DS8390/WD83C690 ethernet
|
|
|
|
if_el_load="NO" # 3Com Etherlink 3C501
|
|
|
|
if_em_load="NO" # Intel(R) PRO/1000 gigabit ethernet
|
2003-05-16 04:31:00 +00:00
|
|
|
if_en_load="NO" # Midway-based ATM interfaces
|
2002-11-02 06:52:28 +00:00
|
|
|
if_ep_load="NO" # 3Com Etherlink III (3c5x9)
|
2003-05-16 04:31:00 +00:00
|
|
|
if_ex_load="NO" # Intel EtherExpress Pro/10 ethernet
|
2002-11-02 06:52:28 +00:00
|
|
|
if_fe_load="NO" # Fujitsu MB86960A/MB86965A based Ethernet adapters
|
1999-12-02 03:47:46 +00:00
|
|
|
if_fxp_load="NO" # Intel EtherExpress PRO/100B (82557, 82558)
|
2002-11-02 06:52:28 +00:00
|
|
|
if_gx_load="NO" # Intel Pro/1000 gigabit ethernet
|
2003-05-16 04:31:00 +00:00
|
|
|
if_ie_load="NO" # Intel 82586
|
2002-11-02 08:49:51 +00:00
|
|
|
if_lge_load="NO" # Level 1 LXT1001 NetCellerator PCI gigabit ethernet
|
|
|
|
if_lnc_load="NO" # AMD Lance/PCnet Ethernet
|
2003-05-16 04:31:00 +00:00
|
|
|
if_my_load="NO" # Myson PCI fast ethernet
|
2002-11-02 08:49:51 +00:00
|
|
|
if_nge_load="NO" # National Semiconductor PCI gigabit ethernet
|
|
|
|
if_oltr_load="NO" # Olicom
|
|
|
|
if_pcn_load="NO" # AMD PCnet PCI
|
|
|
|
if_ray_load="NO" # Raytheon Raylink/Webgear Aviator PCCard
|
2004-09-30 20:02:07 +00:00
|
|
|
if_re_load="NO" # RealTek 8139C+/8169/8169S/8110S
|
1999-12-23 05:28:31 +00:00
|
|
|
if_rl_load="NO" # RealTek 8129/8139
|
2002-11-02 08:49:51 +00:00
|
|
|
if_sbni_load="NO" # Granch SBNI12 leased line adapters
|
1999-12-02 03:47:46 +00:00
|
|
|
if_sf_load="NO" # Adaptec Duralink PCI (AIC-6915 "starfire")
|
|
|
|
if_sis_load="NO" # Silicon Integrated Systems SiS 900/7016
|
|
|
|
if_sk_load="NO" # SysKonnect SK-984x series PCI gigabit ethernet
|
2002-11-02 06:52:28 +00:00
|
|
|
if_sn_load="NO" # SMC 91Cxx
|
|
|
|
if_sr_load="NO" # synchronous RISCom/N2 / WANic 400/405
|
2002-11-02 08:49:51 +00:00
|
|
|
if_ste_load="NO" # Sundance Technologies ST201 fast ethernet
|
1999-12-02 03:47:46 +00:00
|
|
|
if_ti_load="NO" # Alteon Networks Tigon 1 and Tigon 2
|
|
|
|
if_tl_load="NO" # Texas Instruments TNETE100 ("ThunderLAN")
|
2002-11-02 06:52:28 +00:00
|
|
|
if_tx_load="NO" # SMC 83c17x fast ethernet
|
2002-11-02 08:49:51 +00:00
|
|
|
if_txp_load="NO" # 3Com 3XP Typhoon/Sidewinder (3CR990)
|
2004-09-30 20:02:07 +00:00
|
|
|
if_vge_load="NO" # VIA VT6122 PCI Gigabit Ethernet
|
1999-12-02 03:47:46 +00:00
|
|
|
if_vr_load="NO" # VIA Rhine I and Rhine II
|
2002-11-02 06:52:28 +00:00
|
|
|
if_vx_load="NO" # 3Com 3C590 family
|
1999-12-02 03:47:46 +00:00
|
|
|
if_wb_load="NO" # Winbond W89C840F
|
2000-01-14 20:41:03 +00:00
|
|
|
if_wi_load="NO" # WaveLAN/IEEE 802.11 wireless NICs
|
2000-06-17 23:09:51 +00:00
|
|
|
if_wx_load="NO" # Intel Gigabit Ethernet
|
2002-11-02 06:52:28 +00:00
|
|
|
if_xe_load="NO" # Xircom CreditCard PCMCIA
|
1999-12-02 03:47:46 +00:00
|
|
|
if_xl_load="NO" # 3Com Etherlink XL (3c900, 3c905, 3c905B)
|
1999-05-14 10:20:54 +00:00
|
|
|
|
2001-03-13 16:16:35 +00:00
|
|
|
##############################################################
|
|
|
|
### Netgraph modules #######################################
|
|
|
|
##############################################################
|
|
|
|
|
|
|
|
ng_UI_load="NO" # UI netgraph node type
|
|
|
|
ng_async_load="NO" # asynchronous framing netgraph node type
|
|
|
|
ng_bpf_load="NO" # Berkeley packet filter netgraph node type
|
|
|
|
ng_bridge_load="NO" # Ethernet bridging netgraph node type
|
|
|
|
ng_cisco_load="NO" # Cisco HDLC protocol netgraph node type
|
|
|
|
ng_echo_load="NO" # Netgraph echo node type
|
2004-09-30 20:02:07 +00:00
|
|
|
ng_eiface_load="NO" # generic Ethernet interface netgraph node type
|
|
|
|
ng_etf_load="NO" # Ethertype filtering netgraph node type
|
2001-03-13 16:16:35 +00:00
|
|
|
ng_ether_load="NO" # Ethernet netgraph node type
|
2004-09-30 20:02:07 +00:00
|
|
|
ng_fec_load="NO" # netgraph Fast EtherChannel node
|
2001-03-13 16:16:35 +00:00
|
|
|
ng_frame_relay_load="NO" # frame relay netgraph node type
|
2004-09-30 20:02:07 +00:00
|
|
|
ng_gif_load="NO" # generic tunnel interface netgraph node type
|
|
|
|
ng_gif_demux_load="NO" # demultiplexer for packets from ng_gif(4) nodes
|
2001-03-13 16:16:35 +00:00
|
|
|
ng_hole_load="NO" # Netgraph discard node type
|
2004-09-30 20:02:07 +00:00
|
|
|
ng_hub_load="NO" # packet distribution netgraph node type
|
2001-03-13 16:16:35 +00:00
|
|
|
ng_iface_load="NO" # interface Netgraph node type
|
2004-09-30 20:02:07 +00:00
|
|
|
ng_ip_input_load="NO" # netgraph IP input node type
|
2001-03-13 16:16:35 +00:00
|
|
|
ng_ksocket_load="NO" # kernel socket netgraph node type
|
2004-09-30 20:02:07 +00:00
|
|
|
ng_l2tp_load="NO" # L2TP protocol netgraph node type
|
2001-03-13 16:16:35 +00:00
|
|
|
ng_lmi_load="NO" # frame relay LMI protocol netgraph node type
|
|
|
|
ng_mppc_load="NO" # Microsoft MPPC/MPPE compression and encryption netgraph node type
|
2004-09-30 20:02:07 +00:00
|
|
|
ng_netflow_load="NO" # Cisco's NetFlow netgraph note type
|
2001-03-13 16:16:35 +00:00
|
|
|
ng_one2many_load="NO" # packet multiplexing netgraph node type
|
|
|
|
ng_ppp_load="NO" # PPP protocol netgraph node type
|
|
|
|
ng_pppoe_load="NO" # RFC 2516 PPPOE protocol netgraph node type
|
|
|
|
ng_pptpgre_load="NO" # PPTP GRE protocol netgraph node type
|
|
|
|
ng_rfc1490_load="NO" # RFC 1490 netgraph node type
|
|
|
|
ng_socket_load="NO" # Netgraph socket node type
|
2004-09-30 20:02:07 +00:00
|
|
|
ng_split_load="NO" # netgraph node to separate incoming and outgoing flows
|
|
|
|
ng_sppp_load="NO" # sppp netgraph node type
|
2001-03-13 16:16:35 +00:00
|
|
|
ng_tee_load="NO" # Netgraph ``tee'' node type
|
|
|
|
ng_tty_load="NO" # Netgraph node type that is also a line discipline
|
|
|
|
ng_vjc_load="NO" # Van Jacobsen compression netgraph node type
|
2004-09-30 20:02:07 +00:00
|
|
|
ng_vlan_load="NO" # IEEE 802.1Q VLAN tagging netgraph node type
|
2001-03-13 16:16:35 +00:00
|
|
|
|
|
|
|
##############################################################
|
|
|
|
### Sound modules ##########################################
|
|
|
|
##############################################################
|
|
|
|
|
2004-07-16 07:24:20 +00:00
|
|
|
sound_load="NO" # Digital sound subsystem
|
2001-03-13 16:16:35 +00:00
|
|
|
snd_ad1816_load="NO" # ad1816
|
2004-09-30 20:02:07 +00:00
|
|
|
snd_als4000_load="NO" # als4000
|
2001-03-13 16:16:35 +00:00
|
|
|
snd_cmi_load="NO" # cmi
|
|
|
|
snd_cs4281_load="NO" # cs4281
|
2004-09-30 20:02:07 +00:00
|
|
|
snd_csa_load="NO" # csa
|
2001-03-13 16:16:35 +00:00
|
|
|
snd_ds1_load="NO" # ds1
|
|
|
|
snd_emu10k1_load="NO" # Creative Sound Blaster Live
|
|
|
|
snd_es137x_load="NO" # es137x
|
2004-09-30 20:02:07 +00:00
|
|
|
snd_ess_load="NO" # ess
|
2001-03-13 16:16:35 +00:00
|
|
|
snd_fm801_load="NO" # fm801
|
2001-12-20 09:14:45 +00:00
|
|
|
snd_ich_load="NO" # Intel ICH
|
2001-03-13 16:16:35 +00:00
|
|
|
snd_maestro_load="NO" # Maestro
|
|
|
|
snd_maestro3_load="NO" # Maestro3
|
|
|
|
snd_mss_load="NO" # Mss
|
|
|
|
snd_neomagic_load="NO" # Neomagic
|
|
|
|
snd_sb16_load="NO" # Sound Blaster 16
|
2004-09-30 20:02:07 +00:00
|
|
|
snd_sb8_load="NO" # Sound Blaster Pro
|
|
|
|
snd_sbc_load="NO" # Sbc
|
2001-03-13 16:16:35 +00:00
|
|
|
snd_solo_load="NO" # Solo
|
|
|
|
snd_t4dwave_load="NO" # t4dwave
|
2002-08-17 16:23:44 +00:00
|
|
|
snd_via8233_load="NO" # via8233
|
2001-03-13 16:16:35 +00:00
|
|
|
snd_via82c686_load="NO" # via82c686
|
2004-09-30 20:02:07 +00:00
|
|
|
snd_vibes_load="NO" # vibes
|
2002-11-22 18:39:30 +00:00
|
|
|
snd_driver_load="NO" # All sound drivers
|
2001-03-13 16:16:35 +00:00
|
|
|
|
1999-11-16 22:00:46 +00:00
|
|
|
##############################################################
|
|
|
|
### USB modules ############################################
|
|
|
|
##############################################################
|
|
|
|
|
1999-11-22 04:08:37 +00:00
|
|
|
usb_load="NO" # USB subsystem
|
2000-05-02 11:51:07 +00:00
|
|
|
udbp_load="NO" # USB double bulk pipe host 2 host cables
|
1999-11-22 04:08:37 +00:00
|
|
|
ugen_load="NO" # USB generic device, if all else fails ...
|
2002-03-04 03:51:21 +00:00
|
|
|
ufm_load="NO" # Fm Radio
|
1999-11-22 04:08:37 +00:00
|
|
|
uhid_load="NO" # Human Interface Devices
|
|
|
|
ukbd_load="NO" # Keyboard
|
|
|
|
ulpt_load="NO" # Printer
|
|
|
|
ums_load="NO" # Mouse
|
|
|
|
umass_load="NO" # Mass Storage Devices
|
2000-10-30 10:55:03 +00:00
|
|
|
umodem_load="NO" # Modems
|
2000-10-25 10:34:38 +00:00
|
|
|
uscanner_load="NO" # Scanners
|
This commit adds device driver support for the ADMtek AN986 Pegasus
USB ethernet chip. Adapters that use this chip include the LinkSys
USB100TX. There are a few others, but I'm not certain of their
availability in the U.S. I used an ADMtek eval board for development.
Note that while the ADMtek chip is a 100Mbps device, you can't really
get 100Mbps speeds over USB. Regardless, this driver uses miibus to
allow speed and duplex mode selection as well as autonegotiation.
Building and kldloading the driver as a module is also supported.
Note that in order to make this driver work, I had to make what some
may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer()
function will use tsleep() for synchronous transfers that don't complete
right away. This is a problem since there are times when we need to
do sync transfers from an interrupt context (i.e. when reading registers
from the MAC via the control endpoint), where tsleep() us a no-no.
My hack allows the driver to have the code poll for transfer completion
subject to the xfer->timeout timeout rather that calling tsleep().
This hack is controlled by a quirk entry and is only enabled for the
ADMtek device.
Now, I'm sure there are a few of you out there ready to jump on me
and suggest some other approach that doesn't involve a busy wait. The
only solution that might work is to handle the interrupts in a kernel
thread, where you may have something resembling a process context that
makes it okay to tsleep(). This is lovely, except we don't have any
mechanism like that now, and I'm not about to implement such a thing
myself since it's beyond the scope of driver development. (Translation:
I'll be damned if I know how to do it.) If FreeBSD ever aquires such
a mechanism, I'll be glad to revisit the driver to take advantage of
it. In the meantime, I settled for what I perceived to be the solution
that involved the least amount of code changes. In general, the hit
is pretty light.
Also note that my only USB test box has a UHCI controller: I haven't
I don't have a machine with an OHCI controller available.
Highlights:
- Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part.
- Updated usbdevs and regenerated generated files
- Updated HARDWARE.TXT and RELNOTES.TXT files
- Updated sysinstall/device.c and userconfig.c
- Updated kernel configs -- device aue0 is commented out by default
- Updated /sys/conf/files
- Added new kld module directory
1999-12-28 02:01:18 +00:00
|
|
|
if_aue_load="NO" # ADMtek USB ethernet
|
2003-05-16 04:31:00 +00:00
|
|
|
if_axe_load="NO" # ASIX Electronics AX88172 USB ethernet
|
2000-01-14 03:14:49 +00:00
|
|
|
if_cue_load="NO" # CATC USB ethernet
|
2000-01-05 04:27:24 +00:00
|
|
|
if_kue_load="NO" # Kawasaki LSI USB ethernet
|
2004-09-30 20:02:07 +00:00
|
|
|
snd_uaudio_load="NO" # USB audio
|
1999-11-16 22:00:46 +00:00
|
|
|
|
1999-03-09 14:06:55 +00:00
|
|
|
##############################################################
|
|
|
|
### Other modules ##########################################
|
|
|
|
##############################################################
|
|
|
|
|
1999-06-13 15:45:49 +00:00
|
|
|
bktr_load="NO" # Brooktree Bt848/Bt878 TV/Video Capture Card
|
2000-06-17 23:09:51 +00:00
|
|
|
ispfw_load="NO" # Qlogic ISP Firmware
|
2001-03-13 16:16:35 +00:00
|
|
|
agp_load="NO" # agp module
|
2001-03-14 21:33:36 +00:00
|
|
|
accf_data_load="NO" # Wait for data accept filter
|
|
|
|
accf_http_load="NO" # Wait for full HTTP request accept filter
|
2000-09-10 13:58:58 +00:00
|
|
|
random_load="NO" # Random device
|
2004-04-15 12:12:15 +00:00
|
|
|
speaker_load="NO" # AT speaker module
|
1999-03-09 14:06:55 +00:00
|
|
|
|
2001-11-06 15:00:30 +00:00
|
|
|
##############################################################
|
|
|
|
### ACPI settings ##########################################
|
|
|
|
##############################################################
|
|
|
|
|
|
|
|
acpi_dsdt_load="NO" # DSDT Overriding
|
|
|
|
acpi_dsdt_type="acpi_dsdt" # Don't change this
|
|
|
|
acpi_dsdt_name="/boot/acpi_dsdt.aml"
|
|
|
|
# Override DSDT in BIOS by this file
|
2004-03-01 18:13:00 +00:00
|
|
|
acpi_video_load="NO" # Load the ACPI video extension driver
|
2001-11-06 15:00:30 +00:00
|
|
|
|
2002-08-01 22:03:19 +00:00
|
|
|
##############################################################
|
|
|
|
### TrustedBSD MAC settings ##################################
|
|
|
|
##############################################################
|
|
|
|
|
|
|
|
mac_biba_load="NO" # Biba MAC policy
|
|
|
|
mac_bsdextended_load="NO" # BSD/extended MAC policy
|
|
|
|
mac_ifoff="NO" # Interface silencing policy
|
|
|
|
mac_mls_load="NO" # MLS MAC policy
|
|
|
|
mac_none_load="NO" # Null MAC policy
|
|
|
|
mac_partition_load="NO" # Partition MAC policy
|
|
|
|
mac_seeotheruids_load="NO" # UID visbility MAC policy
|
|
|
|
|
1999-03-09 14:06:55 +00:00
|
|
|
##############################################################
|
|
|
|
### Module loading syntax example ##########################
|
|
|
|
##############################################################
|
|
|
|
|
|
|
|
#module_load="YES" # loads module "module"
|
|
|
|
#module_name="realname" # uses "realname" instead of "module"
|
|
|
|
#module_type="type" # passes "-t type" to load
|
|
|
|
#module_flags="flags" # passes "flags" to the module
|
|
|
|
#module_before="cmd" # executes "cmd" before loading the module
|
|
|
|
#module_after="cmd" # executes "cmd" after loading the module
|
|
|
|
#module_error="cmd" # executes "cmd" if load fails
|
|
|
|
|