1# $FreeBSD: head/sys/conf/NOTES 111500 2003-02-25 20:59:23Z obrien $ |
2# 3# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 4# 5# Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers', 6# 'makeoptions', 'hints', etc. go into the kernel configuration that you 7# run config(8) with. 8# 9# Lines that begin with 'hint.' are NOT for config(8), they go into your --- 1034 unchanged lines hidden (view full) --- 1044# For ISA the required hints are listed. 1045# EISA, MCA, PCI and pccard are self identifying buses, so no hints 1046# are needed. 1047 1048# 1049# Mandatory devices: 1050# 1051 |
1052# The keyboard controller; it controls the keyboard and the PS/2 mouse. 1053device atkbdc 1054hint.atkbdc.0.at="isa" 1055hint.atkbdc.0.port="0x060" 1056 1057# The AT keyboard 1058device atkbd 1059hint.atkbd.0.at="atkbdc" 1060hint.atkbd.0.irq="1" 1061 1062# Options for atkbd: 1063options ATKBD_DFLT_KEYMAP # specify the built-in keymap 1064makeoptions ATKBD_DFLT_KEYMAP=jp.106 1065 1066# These options are valid for other keyboard drivers as well. 1067options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 1068options KBD_INSTALL_CDEV # install a CDEV entry in /dev 1069 1070# `flags' for atkbd: 1071# 0x01 Force detection of keyboard, else we always assume a keyboard 1072# 0x02 Don't reset keyboard, useful for some newer ThinkPads 1073# 0x03 Force detection and avoid reset, might help with certain 1074# dockingstations 1075# 0x04 Old-style (XT) keyboard support, useful for older ThinkPads 1076 1077# PS/2 mouse 1078device psm 1079hint.psm.0.at="atkbdc" 1080hint.psm.0.irq="12" 1081 1082# Options for psm: 1083options PSM_HOOKRESUME #hook the system resume event, useful 1084 #for some laptops 1085options PSM_RESETAFTERSUSPEND #reset the device at the resume event 1086 1087# Video card driver for VGA adapters. 1088device vga 1089hint.vga.0.at="isa" 1090 1091# Options for vga: 1092# Try the following option if the mouse pointer is not drawn correctly 1093# or font does not seem to be loaded properly. May cause flicker on 1094# some systems. 1095options VGA_ALT_SEQACCESS 1096 1097# If you can dispense with some vga driver features, you may want to 1098# use the following options to save some memory. 1099#options VGA_NO_FONT_LOADING # don't save/load font 1100#options VGA_NO_MODE_CHANGE # don't change video modes 1101 1102# Older video cards may require this option for proper operation. 1103options VGA_SLOW_IOACCESS # do byte-wide i/o's to TS and GDC regs 1104 1105# The following option probably won't work with the LCD displays. 1106options VGA_WIDTH90 # support 90 column modes 1107 |
1108options FB_DEBUG # Frame buffer debugging 1109 1110device splash # Splash screen and screen saver support 1111 1112# Various screen savers. 1113device blank_saver 1114device daemon_saver 1115device fade_saver --- 48 unchanged lines hidden (view full) --- 1164# Optional devices: 1165# 1166 1167# 1168# SCSI host adapters: 1169# 1170# adv: All Narrow SCSI bus AdvanSys controllers. 1171# adw: Second Generation AdvanSys controllers including the ADV940UW. |
1172# aha: Adaptec 154x/1535/1640 |
1173# ahb: Adaptec 174x EISA controllers 1174# ahc: Adaptec 274x/284x/2910/293x/294x/394x/3950x/3960x/398X/4944/ 1175# 19160x/29160x, aic7770/aic78xx 1176# ahd: Adaptec 29320/39320 Controllers. 1177# aic: Adaptec 6260/6360, APA-1460 (PC Card), NEC PC9801-100 (C-BUS) 1178# amd: Support for the AMD 53C974 SCSI host adapter chip as found on devices 1179# such as the Tekram DC-390(T). |
1180# bt: Most Buslogic controllers: including BT-445, BT-54x, BT-64x, BT-74x, 1181# BT-75x, BT-946, BT-948, BT-956, BT-958, SDC3211B, SDC3211F, SDC3222F |
1182# isp: Qlogic ISP 1020, 1040 and 1040B PCI SCSI host adapters, 1183# ISP 1240 Dual Ultra SCSI, ISP 1080 and 1280 (Dual) Ultra2, 1184# ISP 12160 Ultra3 SCSI, 1185# Qlogic ISP 2100 and ISP 2200 1Gb Fibre Channel host adapters. 1186# Qlogic ISP 2300 and ISP 2312 2Gb Fibre Channel host adapters. 1187# ispfw: Firmware module for Qlogic host adapters 1188# mpt: LSI-Logic MPT/Fusion 53c1020 or 53c1030 Ultra4 1189# or FC9x9 Fibre Channel host adapters. 1190# ncr: NCR 53C810, 53C825 self-contained SCSI host adapters. 1191# sym: Symbios/Logic 53C8XX family of PCI-SCSI I/O processors: 1192# 53C810, 53C810A, 53C815, 53C825, 53C825A, 53C860, 53C875, 1193# 53C876, 53C885, 53C895, 53C895A, 53C896, 53C897, 53C1510D, 1194# 53C1010-33, 53C1010-66. 1195# trm: Tekram DC395U/UW/F DC315U adapters. |
1196# wds: WD7000 |
1197 |
1198# 1199# Note that the order is important in order for Buslogic ISA/EISA cards to be 1200# probed correctly. 1201# 1202device bt 1203hint.bt.0.at="isa" 1204hint.bt.0.port="0x330" |
1205device adv 1206hint.adv.0.at="isa" 1207device adw |
1208device aha 1209hint.aha.0.at="isa" |
1210device aic 1211hint.aic.0.at="isa" 1212device ahb 1213device ahc 1214device ahd 1215device amd 1216device isp 1217hint.isp.0.disable="1" --- 11 unchanged lines hidden (view full) --- 1229# a leading 0x, hence this silly dodge. 1230hint.isp.0.portwnn="w50000000aaaa0000" 1231hint.isp.0.nodewnn="w50000000aaaa0001" 1232device ispfw 1233device mpt 1234device ncr 1235device sym 1236device trm |
1237device wds 1238hint.wds.0.at="isa" 1239hint.wds.0.port="0x350" 1240hint.wds.0.irq="11" 1241hint.wds.0.drq="6" |
1242 1243# The aic7xxx driver will attempt to use memory mapped I/O for all PCI 1244# controllers that have it configured only if this option is set. Unfortunately, 1245# this doesn't work on some motherboards, which prevents it from being the 1246# default. 1247options AHC_ALLOW_MEMIO 1248 1249# Dump the contents of the ahc controller configuration PROM. --- 30 unchanged lines hidden (view full) --- 1280 # 4 (1<<2) -> 895a, 896, 1510d 1281#options SYM_SETUP_SCSI_DIFF #-HVD support for 825a, 875, 885 1282 # disabled:0 (default), enabled:1 1283#options SYM_SETUP_PCI_PARITY #-PCI parity checking 1284 # disabled:0, enabled:1 (default) 1285#options SYM_SETUP_MAX_LUN #-Number of LUNs supported 1286 # default:8, range:[1..64] 1287 |
1288# The 'asr' driver provides support for current DPT/Adaptec SCSI RAID 1289# controllers (SmartRAID V and VI and later). 1290# These controllers require the CAM infrastructure. |
1291# |
1292device asr 1293 1294# The 'dpt' driver provides support for old DPT controllers (http://www.dpt.com/). 1295# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O. 1296# The DPT controllers are commonly re-licensed under other brand-names - 1297# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and 1298# Compaq are actually DPT controllers. 1299# 1300# See src/sys/dev/dpt for debugging and other subtle options. 1301# DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various 1302# instruments are enabled. The tools in 1303# /usr/sbin/dpt_* assume these to be enabled. 1304# DPT_HANDLE_TIMEOUTS Normally device timeouts are handled by the DPT. 1305# If you ant the driver to handle timeouts, enable 1306# this option. If your system is very busy, this 1307# option will create more trouble than solve. 1308# DPT_TIMEOUT_FACTOR Used to compute the excessive amount of time to 1309# wait when timing out with the above option. 1310# DPT_DEBUG_xxxx These are controllable from sys/dev/dpt/dpt.h 1311# DPT_LOST_IRQ When enabled, will try, once per second, to catch 1312# any interrupt that got lost. Seems to help in some 1313# DPT-firmware/Motherboard combinations. Minimal 1314# cost, great benefit. 1315# DPT_RESET_HBA Make "reset" actually reset the controller 1316# instead of fudging it. Only enable this if you 1317# are 100% certain you need it. 1318 1319device dpt 1320 1321# DPT options 1322#!CAM# options DPT_MEASURE_PERFORMANCE 1323#!CAM# options DPT_HANDLE_TIMEOUTS 1324options DPT_TIMEOUT_FACTOR=4 1325options DPT_LOST_IRQ 1326options DPT_RESET_HBA 1327options DPT_ALLOW_MEMIO 1328 1329# 1330# Compaq "CISS" RAID controllers (SmartRAID 5* series) 1331# These controllers have a SCSI-like interface, and require the 1332# CAM infrastructure. 1333# 1334device ciss 1335 1336# 1337# Intel Integrated RAID controllers. 1338# This driver was developed and is maintained by Intel. Contacts 1339# at Intel for this driver are 1340# "Kannanthanam, Boji T" <boji.t.kannanthanam@intel.com> and 1341# "Leubner, Achim" <achim.leubner@intel.com>. 1342# 1343device iir 1344 1345# 1346# Mylex AcceleRAID and eXtremeRAID controllers with v6 and later 1347# firmware. These controllers have a SCSI-like interface, and require 1348# the CAM infrastructure. 1349# 1350device mly 1351 1352# 1353# Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers. Only 1354# one entry is needed; the code will find and configure all supported 1355# controllers. 1356# 1357device ida # Compaq Smart RAID 1358device mlx # Mylex DAC960 1359device amr # AMI MegaRAID 1360 1361# 1362# 3ware ATA RAID 1363# 1364device twe # 3ware ATA RAID 1365 1366# |
1367# The 'ATA' driver supports all ATA and ATAPI devices, including PC Card 1368# devices. You only need one "device ata" for it to find all 1369# PCI and PC Card ATA/ATAPI devices on modern machines. 1370device ata 1371device atadisk # ATA disk drives 1372device atapicd # ATAPI CDROM drives 1373device atapifd # ATAPI floppy drives 1374device atapist # ATAPI tape drives --- 528 unchanged lines hidden (view full) --- 1903# device iicbb 1904# device iicsmb 1905# The iic and smb devices are only needed if you want to control other 1906# I2C slaves connected to the external connector of some cards. 1907# 1908device bktr 1909 1910# |
1911# PC Card/PCMCIA 1912# (OLDCARD) 1913# 1914# card: pccard slots 1915# pcic: isa/pccard bridge 1916#device pcic 1917#hint.pcic.0.at="isa" 1918#hint.pcic.1.at="isa" 1919#device card 1 1920 1921# 1922# PC Card/PCMCIA and Cardbus 1923# (NEWCARD) 1924# 1925# Note that NEWCARD and OLDCARD are incompatible. Do not use both at the same 1926# time. 1927# 1928# pccbb: pci/cardbus bridge implementing YENTA interface 1929# pccard: pccard slots 1930# cardbus: cardbus slots 1931device cbb 1932device pccard 1933device cardbus 1934#device pcic ISA attachment currently busted 1935#hint.pcic.0.at="isa" 1936#hint.pcic.1.at="isa" 1937 1938# |
1939# SMB bus 1940# 1941# System Management Bus support is provided by the 'smbus' device. 1942# Access to the SMBus device is via the 'smb' device (/dev/smb*), 1943# which is a child of the 'smbus' device. 1944# 1945# Supported devices: 1946# smb standard io through /dev/smb* --- 346 unchanged lines hidden (view full) --- 2293# driver still mostly spells this option BROOKTREE_ALLOC_PAGES. 2294##options BKTR_ALLOC_PAGES=(217*4+1) 2295options BROOKTREE_ALLOC_PAGES=(217*4+1) 2296options MAXFILES=999 2297# METEOR_TEST_VIDEO has no effect since meteor is broken. 2298options METEOR_TEST_VIDEO 2299options NDEVFSINO=1025 2300options NDEVFSOVERFLOW=32769 |
2301 2302# Yet more undocumented options for linting. 2303options VGA_DEBUG |