GENERIC revision 32680
1139823Simp#
21541Srgrimes# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
31541Srgrimes#
4137668Smlaier# For more information read the handbook part System Administration -> 
51541Srgrimes# Configuring the FreeBSD Kernel -> The Configuration File. 
61541Srgrimes# The handbook is available in /usr/share/doc/handbook or online as
71541Srgrimes# latest version from the FreeBSD World Wide Web server 
81541Srgrimes# <URL:http://www.FreeBSD.ORG/>
91541Srgrimes#
101541Srgrimes# An exhaustive list of options and more detailed explanations of the 
111541Srgrimes# device lines is present in the ./LINT configuration file. If you are 
121541Srgrimes# in doubt as to the purpose or necessity of a line, check first in LINT.
131541Srgrimes#
141541Srgrimes#	$Id: GENERIC,v 1.103 1998/01/16 22:12:58 pst Exp $
151541Srgrimes
161541Srgrimesmachine		"i386"
171541Srgrimescpu		"I386_CPU"
181541Srgrimescpu		"I486_CPU"
191541Srgrimescpu		"I586_CPU"
201541Srgrimescpu		"I686_CPU"
211541Srgrimesident		GENERIC
221541Srgrimesmaxusers	10
231541Srgrimes
241541Srgrimesoptions		MATH_EMULATE		#Support for x87 emulation
251541Srgrimesoptions		INET			#InterNETworking
261541Srgrimesoptions		FFS			#Berkeley Fast Filesystem
271541Srgrimesoptions		NFS			#Network Filesystem
281541Srgrimesoptions		MSDOSFS			#MSDOS Filesystem
291541Srgrimesoptions		"CD9660"		#ISO 9660 Filesystem
3010939Swollmanoptions		PROCFS			#Process filesystem
311541Srgrimesoptions		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
321541Srgrimesoptions		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
33172467Ssilbyoptions		BOUNCE_BUFFERS		#include support for DMA bounce buffers
34172467Ssilbyoptions		UCONSOLE		#Allow users to grab the console
35172467Ssilbyoptions		FAILSAFE		#Be conservative
36204902Sqinglioptions		USERCONFIG		#boot -c editor
37143868Sglebiusoptions		VISUAL_USERCONFIG	#visual boot -c editor
381541Srgrimes
391549Srgrimesconfig		kernel	root on wd0
4024204Sbde
411541Srgrimescontroller	isa0
42164033Srwatsoncontroller	eisa0
431541Srgrimescontroller	pci0
44186948Sbz
4512704Sphkcontroller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
46186948Sbzdisk		fd0	at fdc0 drive 0
4712704Sphkdisk		fd1	at fdc0 drive 1
48192011Sqinglitape		ft0	at fdc0 drive 2
491541Srgrimes
501541Srgrimesoptions		"CMD640"	# work around CMD640 chip deficiency
51195914Sqinglicontroller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
52215207Sgnndisk		wd0	at wdc0 drive 0
53192011Sqinglidisk		wd1	at wdc0 drive 1
54186119Sqingli
5555009Sshincontroller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
561541Srgrimesdisk		wd2	at wdc1 drive 0
57192011Sqinglidisk		wd3	at wdc1 drive 1
581541Srgrimes
591541Srgrimesoptions		ATAPI		#Enable ATAPI support for IDE bus
601541Srgrimesoptions		ATAPI_STATIC	#Don't do it as an LKM
6181127Sumedevice		wcd0		#IDE CD-ROM
62170613Sbmsdevice		wfd0		#IDE Floppy (e.g. LS-120)
63189592Sbms
64195699Srwatson# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
65195699Srwatson# sufficient for any number of installed devices.
661541Srgrimescontroller	ncr0
6792723Salfredcontroller	amd0
6892723Salfredcontroller	ahb0
6992723Salfredcontroller	ahc0
7092723Salfred
7155009Sshincontroller	bt0	at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
72137628Smlaiercontroller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
73222143Sqinglicontroller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
7492723Salfredcontroller	aic0	at isa? port 0x340 bio irq 11 vector aicintr
7592723Salfredcontroller	nca0	at isa? port 0x1f88 bio irq 10 vector ncaintr
7692723Salfredcontroller	nca1	at isa? port 0x350 bio irq 5 vector ncaintr
77167729Sbmscontroller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
781541Srgrimes
79215701Sdimcontroller	scbus0
80195727Srwatson
81195699Srwatsondevice		sd0
82195699Srwatson
83183550Szecdevice		od0	#See LINT for possible `od' options.
84215701Sdim
85207369Sbzdevice		st0
86195699Srwatson
87195699Srwatsondevice		cd0	#Only need one of these, the code dynamically grows
88149221Sglebius
8921666Swollmandevice		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
90207369Sbzdevice		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
91207369Sbz
92207369Sbzcontroller	matcd0	at isa? port 0x230 bio
93215207Sgnn
94215207Sgnndevice		scd0	at isa? port 0x230 bio
95215207Sgnn
961541Srgrimes# syscons is the default console driver, resembling an SCO console
971541Srgrimesdevice		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
981541Srgrimes# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
991541Srgrimes#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
1001541Srgrimes#options		XSERVER			# support for X server
1011541Srgrimes#options		FAT_CURSOR		# start with block cursor
1021549Srgrimes# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
103169454Srwatson#options		PCVT_SCANSET=2		# IBM keyboards are non-std
1041541Srgrimes
1051541Srgrimesdevice		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
1061541Srgrimes
1071541Srgrimes#
108194951Srwatson# Laptop support (see LINT for more options)
109181803Sbz#
110194951Srwatsondevice		apm0    at isa?	disable	flags 0x31 # Advanced Power Management
111194951Srwatson
112194951Srwatson# PCCARD (PCMCIA) support
1131541Srgrimes#controller	card0
114194951Srwatson#device		pcic0	at card?
115194951Srwatson#device		pcic1	at card?
1161541Srgrimes
117194951Srwatsondevice		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
118194951Srwatsondevice		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
119194951Srwatsondevice		sio2	at isa? disable port "IO_COM3" tty irq 5 vector siointr
1201541Srgrimesdevice		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr
121194951Srwatson
122194951Srwatsondevice		lpt0	at isa? port? tty irq 7 vector lptintr
1231541Srgrimesdevice		lpt1	at isa? port? tty
124194951Srwatsondevice		mse0	at isa? port 0x23c tty irq 5 vector mseintr
1251541Srgrimes
1261541Srgrimesdevice		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
1271541Srgrimes
1281541Srgrimes# Order is important here due to intrusive probes, do *not* alphabetize
129133486Sandre# this list of network interfaces until the probes have been fixed.
130133486Sandre# Right now it appears that the ie0 must be probed before ep0. See
131133486Sandre# revision 1.20 of this file.
132133486Sandredevice de0
133169454Srwatsondevice fxp0
134133486Sandredevice tx0
135133486Sandredevice vx0
136133486Sandre
137194951Srwatsondevice ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr
138133486Sandredevice ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr
139194951Srwatsondevice ep0 at isa? port 0x300 net irq 10 vector epintr
140194951Srwatsondevice ex0 at isa? port? net irq? vector exintr
141184295Sbzdevice fe0 at isa? port 0x300 net irq ? vector feintr
142194951Srwatsondevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
143133486Sandredevice lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
144194951Srwatsondevice ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr
145184295Sbzdevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
146133486Sandre
147133486Sandrepseudo-device	loop
148133486Sandrepseudo-device	ether
1491541Srgrimespseudo-device	sl	1
1501541Srgrimespseudo-device	ppp	1
1511541Srgrimespseudo-device	tun	1
1521541Srgrimespseudo-device	pty	16
1531549Srgrimespseudo-device	gzip		# Exec gzipped a.out's
154169454Srwatson
1551541Srgrimes# KTRACE enables the system-call tracing facility ktrace(2).
1561541Srgrimes# This adds 4 KB bloat to your kernel, and slightly increases
1571541Srgrimes# the costs of each syscall.
1581541Srgrimesoptions		KTRACE		#kernel tracing
159166450Sbms
1601541Srgrimes# This provides support for System V shared memory.
1611541Srgrimes#
1621541Srgrimesoptions		SYSVSHM
1631541Srgrimes