GENERIC (45999) | GENERIC (46037) |
---|---|
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# |
14# $Id: GENERIC,v 1.164 1999/04/19 11:53:36 peter Exp $ | 14# $Id: GENERIC,v 1.165 1999/04/24 16:04:16 peter Exp $ |
15 | 15 |
16machine "i386" 17cpu "I386_CPU" 18cpu "I486_CPU" 19cpu "I586_CPU" 20cpu "I686_CPU" | 16machine i386 17cpu I386_CPU 18cpu I486_CPU 19cpu I586_CPU 20cpu I686_CPU |
21ident GENERIC 22maxusers 32 23 | 21ident GENERIC 22maxusers 32 23 |
24#makeoptions DEBUG="-g" #Build kernel with gdb(1) debug symbols | 24#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols |
25 26options MATH_EMULATE #Support for x87 emulation 27options INET #InterNETworking 28options FFS #Berkeley Fast Filesystem 29options FFS_ROOT #FFS usable as root device [keep this!] 30options MFS #Memory Filesystem 31options MFS_ROOT #MFS usable as root device, "MFS" req'ed 32options NFS #Network Filesystem 33options NFS_ROOT #NFS usable as root device, "NFS" req'ed 34options MSDOSFS #MSDOS Filesystem | 25 26options MATH_EMULATE #Support for x87 emulation 27options INET #InterNETworking 28options FFS #Berkeley Fast Filesystem 29options FFS_ROOT #FFS usable as root device [keep this!] 30options MFS #Memory Filesystem 31options MFS_ROOT #MFS usable as root device, "MFS" req'ed 32options NFS #Network Filesystem 33options NFS_ROOT #NFS usable as root device, "NFS" req'ed 34options MSDOSFS #MSDOS Filesystem |
35options "CD9660" #ISO 9660 Filesystem 36options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed | 35options CD9660 #ISO 9660 Filesystem 36options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed |
37options PROCFS #Process filesystem | 37options PROCFS #Process filesystem |
38options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] | 38options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] |
39options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 40options UCONSOLE #Allow users to grab the console 41options FAILSAFE #Be conservative 42options USERCONFIG #boot -c editor 43options VISUAL_USERCONFIG #visual boot -c editor 44 45config kernel root on wd0 46 --- 6 unchanged lines hidden (view full) --- 53#options NAPIC=1 # number of IO APICs 54#options NINTR=24 # number of INTs 55 56controller isa0 57controller pnp0 # PnP support for ISA 58controller eisa0 59controller pci0 60 | 39options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 40options UCONSOLE #Allow users to grab the console 41options FAILSAFE #Be conservative 42options USERCONFIG #boot -c editor 43options VISUAL_USERCONFIG #visual boot -c editor 44 45config kernel root on wd0 46 --- 6 unchanged lines hidden (view full) --- 53#options NAPIC=1 # number of IO APICs 54#options NINTR=24 # number of INTs 55 56controller isa0 57controller pnp0 # PnP support for ISA 58controller eisa0 59controller pci0 60 |
61controller fdc0 at isa? port "IO_FD1" irq 6 drq 2 | 61controller fdc0 at isa? port IO_FD1 irq 6 drq 2 |
62disk fd0 at fdc0 drive 0 63disk fd1 at fdc0 drive 1 64 | 62disk fd0 at fdc0 drive 0 63disk fd1 at fdc0 drive 1 64 |
65controller wdc0 at isa? port "IO_WD1" irq 14 | 65controller wdc0 at isa? port IO_WD1 irq 14 |
66disk wd0 at wdc0 drive 0 67disk wd1 at wdc0 drive 1 68 | 66disk wd0 at wdc0 drive 0 67disk wd1 at wdc0 drive 1 68 |
69controller wdc1 at isa? port "IO_WD2" irq 15 | 69controller wdc1 at isa? port IO_WD2 irq 15 |
70disk wd2 at wdc1 drive 0 71disk wd3 at wdc1 drive 1 72 | 70disk wd2 at wdc1 drive 0 71disk wd3 at wdc1 drive 1 72 |
73# ATAPI devices on wdc? |
|
73device wcd0 #IDE CD-ROM 74device wfd0 #IDE Floppy (e.g. LS-120) | 74device wcd0 #IDE CD-ROM 75device wfd0 #IDE Floppy (e.g. LS-120) |
76device wst0 #IDE Tape (e.g. Travan) |
|
75 76# A single entry for any of these controllers (ncr, ahb, ahc) is 77# sufficient for any number of installed devices. 78controller ncr0 79controller ahb0 80controller ahc0 81controller isp0 82 --- 4 unchanged lines hidden (view full) --- 87 88controller adv0 at isa? port ? irq ? 89controller adw0 90controller bt0 at isa? port ? irq ? 91controller aha0 at isa? port ? irq ? 92 93controller scbus0 94 | 77 78# A single entry for any of these controllers (ncr, ahb, ahc) is 79# sufficient for any number of installed devices. 80controller ncr0 81controller ahb0 82controller ahc0 83controller isp0 84 --- 4 unchanged lines hidden (view full) --- 89 90controller adv0 at isa? port ? irq ? 91controller adw0 92controller bt0 at isa? port ? irq ? 93controller aha0 at isa? port ? irq ? 94 95controller scbus0 96 |
95device da0 96 | 97device da0 #Only need one of these, the code dynamically grows |
97device sa0 | 98device sa0 |
98 | |
99device pass0 | 99device pass0 |
100device cd0 |
|
100 | 101 |
101device cd0 #Only need one of these, the code dynamically grows 102 | |
103device wt0 at isa? port 0x300 irq 5 drq 1 104device mcd0 at isa? port 0x300 irq 10 105 106controller matcd0 at isa? port 0x230 107 108device scd0 at isa? port 0x230 109 110# atkbdc0 controls both the keyboard and the PS/2 mouse 111controller atkbdc0 at isa? port IO_KBD 112device atkbd0 at atkbdc? irq 1 113device psm0 at atkbdc? irq 12 114 115device vga0 at isa? port ? conflicts 116 117# splash screen/screen saver 118pseudo-device splash 119 120# syscons is the default console driver, resembling an SCO console 121device sc0 at isa? | 102device wt0 at isa? port 0x300 irq 5 drq 1 103device mcd0 at isa? port 0x300 irq 10 104 105controller matcd0 at isa? port 0x230 106 107device scd0 at isa? port 0x230 108 109# atkbdc0 controls both the keyboard and the PS/2 mouse 110controller atkbdc0 at isa? port IO_KBD 111device atkbd0 at atkbdc? irq 1 112device psm0 at atkbdc? irq 12 113 114device vga0 at isa? port ? conflicts 115 116# splash screen/screen saver 117pseudo-device splash 118 119# syscons is the default console driver, resembling an SCO console 120device sc0 at isa? |
121 |
|
122# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 123#device vt0 at isa? 124#options XSERVER # support for X server 125#options FAT_CURSOR # start with block cursor 126# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 127#options PCVT_SCANSET=2 # IBM keyboards are non-std 128 129device npx0 at nexus? port IO_NPX irq 13 130 131# 132# Laptop support (see LINT for more options) 133# 134device apm0 at nexus? disable flags 0x31 # Advanced Power Management 135 136# PCCARD (PCMCIA) support 137#controller card0 138#device pcic0 at card? 139#device pcic1 at card? 140 | 122# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 123#device vt0 at isa? 124#options XSERVER # support for X server 125#options FAT_CURSOR # start with block cursor 126# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 127#options PCVT_SCANSET=2 # IBM keyboards are non-std 128 129device npx0 at nexus? port IO_NPX irq 13 130 131# 132# Laptop support (see LINT for more options) 133# 134device apm0 at nexus? disable flags 0x31 # Advanced Power Management 135 136# PCCARD (PCMCIA) support 137#controller card0 138#device pcic0 at card? 139#device pcic1 at card? 140 |
141device sio0 at isa? port "IO_COM1" flags 0x10 irq 4 142device sio1 at isa? port "IO_COM2" irq 3 143device sio2 at isa? disable port "IO_COM3" irq 5 144device sio3 at isa? disable port "IO_COM4" irq 9 | 141device sio0 at isa? port IO_COM1 flags 0x10 irq 4 142device sio1 at isa? port IO_COM2 irq 3 143device sio2 at isa? disable port IO_COM3 irq 5 144device sio3 at isa? disable port IO_COM4 irq 9 |
145 146# Parallel port 147device ppc0 at isa? port? irq 7 148controller ppbus0 149device lpt0 at ppbus? 150device plip0 at ppbus? 151device ppi0 at ppbus? 152#controller vpo0 at ppbus? --- 43 unchanged lines hidden (view full) --- 196options KTRACE #kernel tracing 197 198# This provides support for System V shared memory and message queues. 199# 200options SYSVSHM 201options SYSVMSG 202options SYSVSEM 203 | 145 146# Parallel port 147device ppc0 at isa? port? irq 7 148controller ppbus0 149device lpt0 at ppbus? 150device plip0 at ppbus? 151device ppi0 at ppbus? 152#controller vpo0 at ppbus? --- 43 unchanged lines hidden (view full) --- 196options KTRACE #kernel tracing 197 198# This provides support for System V shared memory and message queues. 199# 200options SYSVSHM 201options SYSVMSG 202options SYSVSEM 203 |
204 | |
205# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 206# aware of the legal and administrative consequences of enabling this 207# option. The number of devices determines the maximum number of 208# simultaneous BPF clients programs runnable. 209#pseudo-device bpfilter 4 #Berkeley packet filter 210 | 204# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 205# aware of the legal and administrative consequences of enabling this 206# option. The number of devices determines the maximum number of 207# simultaneous BPF clients programs runnable. 208#pseudo-device bpfilter 4 #Berkeley packet filter 209 |
211 | |
212# USB support 213#controller uhci0 214#controller ohci0 215#controller usb0 216# 217# for the moment we have to specify the priorities of the device 218# drivers explicitly by the ordering in the list below. This will 219# be changed in the future. 220# 221#device ums0 222#device ukbd0 223#device ulpt0 224#device uhid0 225#device ugen0 | 210# USB support 211#controller uhci0 212#controller ohci0 213#controller usb0 214# 215# for the moment we have to specify the priorities of the device 216# drivers explicitly by the ordering in the list below. This will 217# be changed in the future. 218# 219#device ums0 220#device ukbd0 221#device ulpt0 222#device uhid0 223#device ugen0 |