1# 2# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3# 4# For more information read the handbook part System Administration -> 5# Configuring the FreeBSD Kernel -> The Configuration File. 6# The handbook is available in /usr/share/doc/handbook or online as 7# latest version from the FreeBSD World Wide Web server 8# <URL:http://www.FreeBSD.ORG/> 9# 10# An exhaustive list of options and more detailed explanations of the 11# device lines is present in the ./LINT configuration file. If you are 12# in doubt as to the purpose or necessity of a line, check first in LINT. 13#
| 1# 2# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3# 4# For more information read the handbook part System Administration -> 5# Configuring the FreeBSD Kernel -> The Configuration File. 6# The handbook is available in /usr/share/doc/handbook or online as 7# latest version from the FreeBSD World Wide Web server 8# <URL:http://www.FreeBSD.ORG/> 9# 10# An exhaustive list of options and more detailed explanations of the 11# device lines is present in the ./LINT configuration file. If you are 12# in doubt as to the purpose or necessity of a line, check first in LINT. 13#
|
15 16# GENERIC98 -- Generic PC98 machine with WD/SCSI disks 17 18machine pc98 19cpu I386_CPU 20cpu I486_CPU 21cpu I586_CPU 22cpu I686_CPU 23ident GENERIC98 24maxusers 32 25 26#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 27 28options PC98 #PC98 29options MATH_EMULATE #Support for x87 emulation 30options INET #InterNETworking 31options FFS #Berkeley Fast Filesystem 32options FFS_ROOT #FFS usable as root device [keep this!] 33options MFS #Memory Filesystem 34options MFS_ROOT #MFS usable as root device, "MFS" req'ed 35options NFS #Network Filesystem 36options NFS_ROOT #NFS usable as root device, "NFS" req'ed 37options MSDOSFS #MSDOS Filesystem 38options CD9660 #ISO 9660 Filesystem 39options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed 40options PROCFS #Process filesystem 41options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 42options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 43options EPSON_BOUNCEDMA #use bounce buufer for 15-16M 44#options EPSON_MEMWIN #EPSON memory window support 45options UCONSOLE #Allow users to grab the console 46#options LINE30 47options USERCONFIG #boot -c editor 48options VISUAL_USERCONFIG #visual boot -c editor 49 50options COM_MULTIPORT 51 52# 53# IBM-PC HDD support 54#options COMPAT_ATDISK 55 56# To make an SMP kernel, the next two are needed 57#options SMP # Symmetric MultiProcessor Kernel 58#options APIC_IO # Symmetric (APIC) I/O 59# Optionally these may need tweaked, (defaults shown): 60#options NCPU=2 # number of CPUs 61#options NBUS=4 # number of busses 62#options NAPIC=1 # number of IO APICs 63#options NINTR=24 # number of INTs 64 65controller isa0 at nexus? 66controller pnp0 # PnP support for ISA 67controller pci0 at nexus? 68 69controller fdc0 at isa? port IO_FD1 irq 11 drq 2 70disk fd0 at fdc0 drive 0 71disk fd1 at fdc0 drive 1 72disk fd2 at fdc0 drive 2 73disk fd3 at fdc0 drive 3 74 75controller wdc0 at isa? port IO_WD1 irq 9 76disk wd0 at wdc0 drive 0 77#disk wd1 at wdc0 drive 1 78#disk wd2 at wdc0 drive 2 79#disk wd3 at wdc0 drive 3 80 81device wcd0 #IDE CD-ROM 82#device wfd0 #IDE Floppy (e.g. LS-120) 83 84# A single entry for any of these controllers (ncr, ahb, ahc) is 85# sufficient for any number of installed devices. 86controller ncr0 87controller ahc0 88controller isp0 89controller adv0 90 91# 92# WD33C93 SCSI card (55/92 like board) 93# 94 95options BS_TARG_SAFEMODE 96 97# PC-9801-92 98controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0 99# SC-98 100# controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x10000 101# HA-55BS2 and later 102#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x20000 103# ELECOM type 104#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x30000 105# SMIT 106#controller bs0 at isa? port IO_SCSI irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000 107# Logitec LHA-20x 108#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x50000 109 110controller scbus0 111 112device da0 113 114device sa0 115 116device pass0 117 118device cd0 #Only need one of these, the code dynamically grows 119 120controller matcd0 at isa? port? 121 122# keyboard driver 123device pckbd0 at isa? port IO_KBD irq 1 124#options KBD_INSTALL_CDEV 125 126device gdc0 at isa? 127 128# splash screen/screen saver 129pseudo-device splash 130 131device sc0 at isa? 132 133device npx0 at nexus? port IO_NPX irq 8 134 135# 136# Laptop support (see LINT for more options) 137# 138device apm0 at nexus? disable flags 0x31 # Advanced Power Management 139 140# PCCARD (PCMCIA) support 141#controller card0 142#device pcic0 at card? 143#device pcic1 at card? 144 145# 146# Serial Interface 147# 148# COM1 149device sio0 at isa? port IO_COM1 irq 4 150# COM2 (2nd CCU) 151device sio1 at isa? port 0x238 irq 5 flags 0x12000000 152# PC-9861K, PC-9801-101, MDC-926Rs 153#device sio1 at isa? port IO_COM2 irq 5 flags 0x01000000 154#device sio2 at isa? port IO_COM3 irq 6 flags 0x02000000 155# PC-9801-120 (PnP off) 156#device sio1 at isa? port 0x8b0 irq 5 flags 0x11000000 157# MC-16550II, MC-RS98 158#device sio1 at isa? port 0xd2 irq 5 flags 0x14000101 159#device sio2 at isa? port 0x8d2 flags 0x14000101 160# RSB-2000, RSB-3000, B98-02 161#device sio1 at isa? port 0xb0 flags 0x15000101 162#device sio2 at isa? port 0xb1 flags 0x15000101 163# RSB-384 164#device sio1 at isa? port 0xb0 flags 0x16000000 165#device sio2 at isa? port 0xb1 flags 0x16000000 166# RSA-98III 167#device sio1 at isa? port 0x50e0 irq 5 flags 0x18000101 168#device sio2 at isa? port 0x51e0 flags 0x18000101 169# ESP98 170#options COM_ESP 171#device sio1 at isa? port 0x18b0 irq 5 flags 0x19000000 172 173device mse0 at isa? port IO_MSE irq 13 174# NEW Parallel port 175device ppc0 at isa? port? irq 14 176controller ppbus0 177device lpt0 at ppbus? 178device plip0 at ppbus? 179device ppi0 at ppbus? 180#controller vpo0 at ppbus? 181# OLD Parallel port 182# Please stay olpt driver after ppc driver 183device olpt0 at isa? port IO_LPT 184 185# 186# The following Ethernet NICs are all PCI devices. 187# 188device ax0 # ASIX AX88140A 189device de0 # DEC/Intel DC21x4x (``Tulip'') 190device fxp0 # Intel EtherExpress PRO/100B (82557, 82558) 191device mx0 # Macronix 98713/98715/98725 (``PMAC'') 192device pn0 # Lite-On 82c168/82c169 (``PNIC'') 193device rl0 # RealTek 8129/8139 194device sf0 # Adaptec AIC-6915 (``Starfire'') 195device tl0 # Texas Instruments ThunderLAN 196device tx0 # SMC 9432TX (83c170 ``EPIC'') 197device vr0 # VIA Rhine, Rhine II 198device vx0 # 3Com 3c590, 3c595 (``Vortex'') 199device wb0 # Winbond W89C840F 200device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') 201 202# 203# DP8390 NIC 204# 205# ed0: generic driver 206# ed1: LANEED LD-BDN 207# ed2: EGY-98 208# ed3: LGY-98 209# ed4: ICM-IF-2766/EN-2298-T 210# ed5: SIC-98 211# ed6: PC-9801-108 212# ed7: LA-98 213# ed8: C-NET(98) 214# ed9: C-NET(98)E/L 215# fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98 216# fe1: C-NET(98)P2/C-NET(9N)E 217# 218# FE_8BIT_SUPPORT is needed to support LAC-98 219# 220device ed0 at isa? port 0x00d0 irq 6 221device ed5 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000 222device ed1 at isa? port 0x00d8 irq 6 flags 0x200000 223device ed3 at isa? port 0x00d0 irq 6 flags 0x400000 224device ed4 at isa? port 0x56d0 irq 5 flags 0x500000 225device ed2 at isa? port 0x00d8 irq 6 flags 0x300000 226device ed7 at isa? port 0x00d0 irq 6 flags 0x900000 227device ed6 at isa? port 0x0770 irq 6 flags 0x800000 228device ed9 at isa? port 0x03d0 irq 6 flags 0xb00000 229device ed8 at isa? port 0xa3d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000 230device ep0 at isa? port 0x40d0 irq 3 231device fe0 at isa? port 0x00d0 irq 3 232device fe1 at isa? port 0x73d0 irq 5 233device lnc0 at isa? port 0x03d0 irq 6 234#device zp0 at isa? port 0x00d0 irq 10 iomem 0xe0000 235 236options FE_8BIT_SUPPORT # LAC-98 support 237 238#controller snd0 239#device sb0 at isa? port 0x20d2 irq 10 conflicts drq 3 240#device sbxvi0 at isa? drq 3 241#device sbmidi0 at isa? port 0x80d2 242#device opl0 at isa? port 0x28d2 243#device pcm0 at isa? port 0xa460 irq 12 244#device mss0 at isa? port 0xf40 irq 12 drq 1 245 246pseudo-device loop 247pseudo-device ether 248pseudo-device sl 1 249pseudo-device ppp 1 250pseudo-device tun 1
| 15 16# GENERIC98 -- Generic PC98 machine with WD/SCSI disks 17 18machine pc98 19cpu I386_CPU 20cpu I486_CPU 21cpu I586_CPU 22cpu I686_CPU 23ident GENERIC98 24maxusers 32 25 26#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 27 28options PC98 #PC98 29options MATH_EMULATE #Support for x87 emulation 30options INET #InterNETworking 31options FFS #Berkeley Fast Filesystem 32options FFS_ROOT #FFS usable as root device [keep this!] 33options MFS #Memory Filesystem 34options MFS_ROOT #MFS usable as root device, "MFS" req'ed 35options NFS #Network Filesystem 36options NFS_ROOT #NFS usable as root device, "NFS" req'ed 37options MSDOSFS #MSDOS Filesystem 38options CD9660 #ISO 9660 Filesystem 39options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed 40options PROCFS #Process filesystem 41options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 42options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 43options EPSON_BOUNCEDMA #use bounce buufer for 15-16M 44#options EPSON_MEMWIN #EPSON memory window support 45options UCONSOLE #Allow users to grab the console 46#options LINE30 47options USERCONFIG #boot -c editor 48options VISUAL_USERCONFIG #visual boot -c editor 49 50options COM_MULTIPORT 51 52# 53# IBM-PC HDD support 54#options COMPAT_ATDISK 55 56# To make an SMP kernel, the next two are needed 57#options SMP # Symmetric MultiProcessor Kernel 58#options APIC_IO # Symmetric (APIC) I/O 59# Optionally these may need tweaked, (defaults shown): 60#options NCPU=2 # number of CPUs 61#options NBUS=4 # number of busses 62#options NAPIC=1 # number of IO APICs 63#options NINTR=24 # number of INTs 64 65controller isa0 at nexus? 66controller pnp0 # PnP support for ISA 67controller pci0 at nexus? 68 69controller fdc0 at isa? port IO_FD1 irq 11 drq 2 70disk fd0 at fdc0 drive 0 71disk fd1 at fdc0 drive 1 72disk fd2 at fdc0 drive 2 73disk fd3 at fdc0 drive 3 74 75controller wdc0 at isa? port IO_WD1 irq 9 76disk wd0 at wdc0 drive 0 77#disk wd1 at wdc0 drive 1 78#disk wd2 at wdc0 drive 2 79#disk wd3 at wdc0 drive 3 80 81device wcd0 #IDE CD-ROM 82#device wfd0 #IDE Floppy (e.g. LS-120) 83 84# A single entry for any of these controllers (ncr, ahb, ahc) is 85# sufficient for any number of installed devices. 86controller ncr0 87controller ahc0 88controller isp0 89controller adv0 90 91# 92# WD33C93 SCSI card (55/92 like board) 93# 94 95options BS_TARG_SAFEMODE 96 97# PC-9801-92 98controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0 99# SC-98 100# controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x10000 101# HA-55BS2 and later 102#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x20000 103# ELECOM type 104#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x30000 105# SMIT 106#controller bs0 at isa? port IO_SCSI irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000 107# Logitec LHA-20x 108#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x50000 109 110controller scbus0 111 112device da0 113 114device sa0 115 116device pass0 117 118device cd0 #Only need one of these, the code dynamically grows 119 120controller matcd0 at isa? port? 121 122# keyboard driver 123device pckbd0 at isa? port IO_KBD irq 1 124#options KBD_INSTALL_CDEV 125 126device gdc0 at isa? 127 128# splash screen/screen saver 129pseudo-device splash 130 131device sc0 at isa? 132 133device npx0 at nexus? port IO_NPX irq 8 134 135# 136# Laptop support (see LINT for more options) 137# 138device apm0 at nexus? disable flags 0x31 # Advanced Power Management 139 140# PCCARD (PCMCIA) support 141#controller card0 142#device pcic0 at card? 143#device pcic1 at card? 144 145# 146# Serial Interface 147# 148# COM1 149device sio0 at isa? port IO_COM1 irq 4 150# COM2 (2nd CCU) 151device sio1 at isa? port 0x238 irq 5 flags 0x12000000 152# PC-9861K, PC-9801-101, MDC-926Rs 153#device sio1 at isa? port IO_COM2 irq 5 flags 0x01000000 154#device sio2 at isa? port IO_COM3 irq 6 flags 0x02000000 155# PC-9801-120 (PnP off) 156#device sio1 at isa? port 0x8b0 irq 5 flags 0x11000000 157# MC-16550II, MC-RS98 158#device sio1 at isa? port 0xd2 irq 5 flags 0x14000101 159#device sio2 at isa? port 0x8d2 flags 0x14000101 160# RSB-2000, RSB-3000, B98-02 161#device sio1 at isa? port 0xb0 flags 0x15000101 162#device sio2 at isa? port 0xb1 flags 0x15000101 163# RSB-384 164#device sio1 at isa? port 0xb0 flags 0x16000000 165#device sio2 at isa? port 0xb1 flags 0x16000000 166# RSA-98III 167#device sio1 at isa? port 0x50e0 irq 5 flags 0x18000101 168#device sio2 at isa? port 0x51e0 flags 0x18000101 169# ESP98 170#options COM_ESP 171#device sio1 at isa? port 0x18b0 irq 5 flags 0x19000000 172 173device mse0 at isa? port IO_MSE irq 13 174# NEW Parallel port 175device ppc0 at isa? port? irq 14 176controller ppbus0 177device lpt0 at ppbus? 178device plip0 at ppbus? 179device ppi0 at ppbus? 180#controller vpo0 at ppbus? 181# OLD Parallel port 182# Please stay olpt driver after ppc driver 183device olpt0 at isa? port IO_LPT 184 185# 186# The following Ethernet NICs are all PCI devices. 187# 188device ax0 # ASIX AX88140A 189device de0 # DEC/Intel DC21x4x (``Tulip'') 190device fxp0 # Intel EtherExpress PRO/100B (82557, 82558) 191device mx0 # Macronix 98713/98715/98725 (``PMAC'') 192device pn0 # Lite-On 82c168/82c169 (``PNIC'') 193device rl0 # RealTek 8129/8139 194device sf0 # Adaptec AIC-6915 (``Starfire'') 195device tl0 # Texas Instruments ThunderLAN 196device tx0 # SMC 9432TX (83c170 ``EPIC'') 197device vr0 # VIA Rhine, Rhine II 198device vx0 # 3Com 3c590, 3c595 (``Vortex'') 199device wb0 # Winbond W89C840F 200device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') 201 202# 203# DP8390 NIC 204# 205# ed0: generic driver 206# ed1: LANEED LD-BDN 207# ed2: EGY-98 208# ed3: LGY-98 209# ed4: ICM-IF-2766/EN-2298-T 210# ed5: SIC-98 211# ed6: PC-9801-108 212# ed7: LA-98 213# ed8: C-NET(98) 214# ed9: C-NET(98)E/L 215# fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98 216# fe1: C-NET(98)P2/C-NET(9N)E 217# 218# FE_8BIT_SUPPORT is needed to support LAC-98 219# 220device ed0 at isa? port 0x00d0 irq 6 221device ed5 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000 222device ed1 at isa? port 0x00d8 irq 6 flags 0x200000 223device ed3 at isa? port 0x00d0 irq 6 flags 0x400000 224device ed4 at isa? port 0x56d0 irq 5 flags 0x500000 225device ed2 at isa? port 0x00d8 irq 6 flags 0x300000 226device ed7 at isa? port 0x00d0 irq 6 flags 0x900000 227device ed6 at isa? port 0x0770 irq 6 flags 0x800000 228device ed9 at isa? port 0x03d0 irq 6 flags 0xb00000 229device ed8 at isa? port 0xa3d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000 230device ep0 at isa? port 0x40d0 irq 3 231device fe0 at isa? port 0x00d0 irq 3 232device fe1 at isa? port 0x73d0 irq 5 233device lnc0 at isa? port 0x03d0 irq 6 234#device zp0 at isa? port 0x00d0 irq 10 iomem 0xe0000 235 236options FE_8BIT_SUPPORT # LAC-98 support 237 238#controller snd0 239#device sb0 at isa? port 0x20d2 irq 10 conflicts drq 3 240#device sbxvi0 at isa? drq 3 241#device sbmidi0 at isa? port 0x80d2 242#device opl0 at isa? port 0x28d2 243#device pcm0 at isa? port 0xa460 irq 12 244#device mss0 at isa? port 0xf40 irq 12 drq 1 245 246pseudo-device loop 247pseudo-device ether 248pseudo-device sl 1 249pseudo-device ppp 1 250pseudo-device tun 1
|
252pseudo-device gzip # Exec gzipped a.out's 253 254# The `bpf' pseudo-device enables the Berkeley Packet Filter. 255# Be aware of the administrative consequences of enabling this! 256pseudo-device bpf 4 #Berkeley packet filter 257 258# KTRACE enables the system-call tracing facility ktrace(2). 259# This adds 4 KB bloat to your kernel, and slightly increases 260# the costs of each syscall. 261options KTRACE #kernel tracing 262 263# This provides support for System V shared memory and message queues. 264# 265options SYSVSHM 266options SYSVMSG 267options SYSVSEM
| 252pseudo-device gzip # Exec gzipped a.out's 253 254# The `bpf' pseudo-device enables the Berkeley Packet Filter. 255# Be aware of the administrative consequences of enabling this! 256pseudo-device bpf 4 #Berkeley packet filter 257 258# KTRACE enables the system-call tracing facility ktrace(2). 259# This adds 4 KB bloat to your kernel, and slightly increases 260# the costs of each syscall. 261options KTRACE #kernel tracing 262 263# This provides support for System V shared memory and message queues. 264# 265options SYSVSHM 266options SYSVMSG 267options SYSVSEM
|