GENERIC revision 15497
1170530Ssam#
2186904Ssam# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3170530Ssam#
4170530Ssam#	$Id: GENERIC,v 1.68 1996/04/29 20:03:41 jkh Exp $
5170530Ssam#
6170530Ssam
7170530Ssammachine		"i386"
8170530Ssamcpu		"I386_CPU"
9170530Ssamcpu		"I486_CPU"
10170530Ssamcpu		"I586_CPU"
11170530Ssamcpu		"I686_CPU"
12170530Ssamident		GENERIC
13170530Ssammaxusers	10
14170530Ssam
15170530Ssamoptions		MATH_EMULATE		#Support for x87 emulation
16170530Ssamoptions		INET			#InterNETworking
17170530Ssamoptions		FFS			#Berkeley Fast Filesystem
18170530Ssamoptions		NFS			#Network Filesystem
19170530Ssamoptions		MSDOSFS			#MSDOS Filesystem
20170530Ssamoptions		"CD9660"		#ISO 9660 Filesystem
21170530Ssamoptions		PROCFS			#Process filesystem
22170530Ssamoptions		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
23170530Ssamoptions		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
24170530Ssamoptions		BOUNCE_BUFFERS		#include support for DMA bounce buffers
25170530Ssamoptions		UCONSOLE		#Allow users to grab the console
26170530Ssamoptions		FAILSAFE		#Be conservative
27170530Ssam
28170530Ssamconfig		kernel	root on wd0
29170530Ssam
30178354Ssamcontroller	isa0
31178354Ssamcontroller	eisa0
32178354Ssamcontroller	pci0
33178354Ssam
34178354Ssamcontroller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
35178354Ssamdisk		fd0	at fdc0 drive 0
36178354Ssamdisk		fd1	at fdc0 drive 1
37178354Ssamtape		ft0	at fdc0 drive 2
38178354Ssam
39178354Ssamcontroller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
40178354Ssamdisk		wd0	at wdc0 drive 0
41178354Ssamdisk		wd1	at wdc0 drive 1
42178354Ssam
43178354Ssamcontroller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
44178354Ssamdisk		wd2	at wdc1 drive 0
45190578Srpaulodisk		wd3	at wdc1 drive 1
46178354Ssam
47178354Ssamoptions		ATAPI		#Enable ATAPI support for IDE bus
48178354Ssamoptions		ATAPI_STATIC	#Don't do it as an LKM
49178354Ssamdevice		wcd0	#IDE CD-ROM
50178354Ssam
51178354Ssam# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
52178354Ssam# for any number of installed devices.
53178354Ssamcontroller	ncr0
54178354Ssamcontroller	ahb0
55178354Ssamcontroller	ahc0
56178354Ssam
57178354Ssamcontroller	bt0	at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
58178354Ssamcontroller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
59178354Ssamcontroller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
60178354Ssamcontroller	aic0	at isa? port 0x340 bio irq 11 vector aicintr
61178354Ssamcontroller	nca0	at isa? port 0x1f88 bio irq 10 vector ncaintr
62178354Ssamcontroller	nca1	at isa? port 0x350 bio irq 5 vector ncaintr
63178354Ssamcontroller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
64178354Ssam
65178354Ssamcontroller	scbus0
66178354Ssam
67178354Ssamdevice		sd0
68178354Ssam
69178354Ssamdevice		od0
70178354Ssam
71178354Ssamdevice		st0
72170530Ssam
73170530Ssamdevice		cd0	#Only need one of these, the code dynamically grows
74178354Ssam
75170530Ssamdevice		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
76170530Ssamdevice		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
77178354Ssamdevice		mcd1	at isa? port 0x340 bio irq 11 vector mcdintr
78178354Ssam
79170530Ssamcontroller	matcd0	at isa? port 0x230 bio
80178354Ssam
81170530Ssamdevice		scd0	at isa? port 0x230 bio
82178354Ssam
83178354Ssam# syscons is the default console driver, resembling an SCO console
84178354Ssamdevice		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
85178354Ssam# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
86178354Ssam#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
87178354Ssam#options		PCVT_FREEBSD=210	# pcvt running on FreeBSD >= 2.0.5
88178354Ssam#options		XSERVER			# include code for XFree86
89178354Ssam#options		FAT_CURSOR		# start with block cursor
90178354Ssam# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
91170530Ssam#options		PCVT_SCANSET=2		# IBM keyboards are non-std
92178354Ssam
93191746Sthompsa# Mandatory, don't remove
94170530Ssamdevice		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
95170530Ssam
96170530Ssam#
97170530Ssam# Laptop support (see LINT for more options)
98170530Ssam#
99170530Ssamdevice		apm0    at isa?	disable	# Advanced Power Management
100170530Ssamoptions		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
101170530Ssam
102178354Ssamdevice		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
103178354Ssamdevice		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
104170530Ssamdevice		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
105170530Ssamdevice		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr
106170530Ssam
107170530Ssamdevice		lpt0	at isa? port? tty irq 7 vector lptintr
108170530Ssamdevice		lpt1	at isa? port? tty
109170530Ssamdevice		lpt2	at isa? port? tty
110170530Ssamdevice		mse0	at isa? port 0x23c tty irq 5 vector mseintr
111170530Ssam
112170530Ssamdevice		psm0	at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr
113170530Ssam
114170530Ssam# Order is important here due to intrusive probes, do *not* alphabetize
115170530Ssam# this list of network interfaces until the probes have been fixed.
116170530Ssam# Right now it appears that the ie0 must be probed before ep0. See
117170530Ssam# revision 1.20 of this file.
118170530Ssamdevice de0
119170530Ssamdevice fxp0
120170530Ssamdevice vx0
121170530Ssam
122178354Ssamdevice ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
123178354Ssamdevice ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
124170530Ssamdevice ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
125170530Ssamdevice ep0 at isa? port 0x300 net irq 10 vector epintr
126170530Ssamdevice fe0 at isa? port 0x300 net irq ? vector feintr
127170530Ssamdevice ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
128178354Ssamdevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
129178354Ssamdevice lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
130170530Ssamdevice lnc1 at isa? port 0x300 net irq 10 drq 0 vector lncintr
131170530Ssamdevice ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
132170530Ssamdevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
133170530Ssam
134178354Ssampseudo-device	loop
135178354Ssampseudo-device	ether
136170530Ssampseudo-device	log
137178354Ssampseudo-device	sl	1
138178354Ssam# ijppp uses tun instead of ppp device
139170530Ssam#pseudo-device	ppp	1
140178354Ssampseudo-device	tun	1
141178354Ssampseudo-device	pty	16
142178354Ssam# keep this if you want to be able to continue to use /stand/sysinstall
143178354Ssampseudo-device	gzip		# Exec gzipped a.out's
144178354Ssam