GENERIC revision 16359
1181834Sroberto#
2181834Sroberto# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3181834Sroberto#
4181834Sroberto#	$Id: GENERIC,v 1.70 1996/05/13 04:29:13 nate Exp $
5181834Sroberto#
6181834Sroberto
7181834Sroberto# GENERIC98 -- Generic PC98 machine with WD/SBIC55 disks
8181834Sroberto
9181834Srobertomachine		"pc98"
10181834Srobertocpu		"I386_CPU"
11181834Srobertocpu		"I486_CPU"
12181834Srobertocpu		"I586_CPU"
13181834Srobertocpu		"I686_CPU"
14181834Srobertoident		"GENERIC98"
15181834Srobertomaxusers	10
16181834Sroberto
17181834Srobertooptions		"PC98"			#PC98
18181834Srobertooptions		MATH_EMULATE		#Support for x87 emulation
19181834Sroberto#options		GPL_MATH_EMULATE	#GPL-licensed emulator
20181834Srobertooptions		INET			#InterNETworking
21181834Srobertooptions		FFS			#Berkeley Fast Filesystem
22181834Srobertooptions		NFS			#Network Filesystem
23181834Srobertooptions		MSDOSFS			#MSDOS Filesystem
24181834Srobertooptions		"CD9660"		#ISO 9660 Filesystem
25181834Srobertooptions		PROCFS			#Process filesystem
26181834Srobertooptions		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
27181834Srobertooptions		SYSVSHM			
28181834Srobertooptions		SYSVSEM
29181834Srobertooptions		SYSVMSG
30181834Srobertooptions		UCONSOLE		#Allow users to grab the console
31181834Srobertooptions		FAILSAFE		#Be conservative
32181834Srobertooptions		"MAXCONS=4"		#4 virtual consoles
33181834Srobertooptions		BOUNCE_BUFFERS		#include support for DMA bounce buffers
34181834Srobertooptions		EPSON_BOUNCEDMA		#use bounce buufer for 15-16M
35181834Sroberto#options		EPSON_MEMWIN		#EPSON memory window support
36181834Srobertooptions		"LINE30"
37181834Srobertooptions		AUTO_CLOCK
38181834Srobertooptions		COM_MULTIPORT
39181834Sroberto
40181834Sroberto#
41181834Sroberto#	non-Intel CPU support
42181834Sroberto#
43181834Sroberto#options	"IBM_486SLC"		# IBM486SLC/SLC2 support
44181834Sroberto#options	"CYRIX_486DLC"		# Cyrix 486DLC/SLC/DLC2/SLC2 support
45181834Sroberto#option		"CYRIX_5X86"		# Cyrix 5x86 support
46181834Sroberto#options	SUSP_HLT		# CPU enters suspend mode when HALT
47181834Sroberto#options	"DISABLE_5X86_LSSER"	# Load-Store reordering enable
48181834Sroberto
49181834Sroberto#
50181834Sroberto#	sbic55.c.new
51181834Sroberto#
52181834Sroberto#options	SCSI_SYNC		# synchronous transfer mode
53181834Sroberto#options	FORCE_BUSMASTER
54181834Sroberto#options	"HA55BS_ID=0"
55181834Sroberto
56181834Sroberto#
57181834Sroberto#	IBM-PC HDD support
58181834Sroberto#options	COMPAT_ATDISK
59181834Sroberto
60181834Sroberto#
61181834Sroberto#	FreeBSD(98)-current is a *TEST VERSION*.  
62181834Sroberto#	It is highly recomended to compile with following options, and to
63181834Sroberto#	record the panic messages and the result of trace command brefore 
64181834Sroberto#	reporting a problem.
65181834Sroberto#
66181834Sroberto#	If you need more information for the kernel, KTRACE option may help
67181834Sroberto#	you.
68181834Sroberto#
69181834Srobertooptions		DDB
70181834Srobertooptions		DIAGNOSTIC
71181834Sroberto#options	KTRACE
72181834Sroberto
73181834Sroberto
74181834Srobertoconfig		kernel	root on wd0
75181834Sroberto
76181834Srobertocontroller	nec0
77181834Srobertocontroller	pci0
78181834Sroberto
79181834Srobertocontroller	fdc0	at nec? port "IO_FD1" bio irq 11 drq 2 vector fdintr
80181834Srobertodisk		fd0	at fdc0 drive 0
81181834Srobertodisk		fd1	at fdc0 drive 1
82181834Srobertodisk		fd2	at fdc0 drive 2
83181834Srobertodisk		fd3	at fdc0 drive 3
84181834Srobertotape		ft0	at fdc0 drive 4
85181834Sroberto
86181834Srobertocontroller	wdc0	at nec? port "IO_WD1" bio irq 9 vector wdintr
87181834Srobertodisk		wd0	at wdc0 drive 0
88181834Sroberto#disk		wd1	at wdc0 drive 1
89181834Sroberto#disk		wd2	at wdc0 drive 2
90181834Sroberto#disk		wd3	at wdc0 drive 3
91181834Sroberto
92181834Srobertooptions		ATAPI	# Enable ATAPI support for IDE bus
93181834Srobertooptions		ATAPI_STATIC	#Don't do it as an LKM
94181834Srobertodevice		wcd	#IDE CD-ROM
95181834Sroberto
96181834Srobertocontroller	sbic0	at nec? port "IO_SCSI" bio irq 5 drq 3 vector sbicintr
97181834Sroberto#controller	sbic0	at nec? port "IO_SCSI" bio irq 5 drq 3 flags 0xff vector sbicintr
98181834Srobertocontroller	aic0	at nec? port 0x1840 bio irq 5 vector aicintr
99181834Srobertocontroller	ahc0
100181834Sroberto
101181834Srobertocontroller	scbus0
102181834Sroberto
103181834Srobertodevice		sd0
104181834Sroberto
105181834Srobertodevice		st0
106181834Sroberto
107181834Srobertodevice		cd0	#Only need one of these, the code dynamically grows
108181834Sroberto
109181834Srobertodevice		od0
110181834Sroberto
111181834Srobertocontroller	matcd0	at nec? port? bio
112181834Sroberto
113181834Sroberto# syscons is the default console driver, resembling an SCO console
114181834Srobertodevice		sc0	at nec? port "IO_KBD" tty irq 1 vector scintr
115181834Sroberto#options		XSERVER			# include code for XFree86
116181834Sroberto
117181834Sroberto# Mandatory, don't remove
118181834Srobertodevice		npx0	at nec? port "IO_NPX" irq 8 vector npxintr
119181834Sroberto
120181834Sroberto#
121181834Sroberto# Laptop support (see LINT for more options)
122181834Sroberto#
123181834Srobertodevice		apm0    at nec?	disable	# Advanced Power Management
124181834Srobertooptions		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
125181834Sroberto# PCCARD (PCMCIA) support
126181834Sroberto#controller	crd0
127181834Sroberto#device		pcic0	at crd?
128181834Sroberto#device		pcic1	at crd?
129181834Sroberto
130181834Srobertodevice		lpt0	at nec? port "IO_LPT"  tty
131181834Srobertodevice		mse0	at nec? port "IO_MSE" tty irq 13 vector mseintr
132181834Sroberto
133181834Srobertodevice		sio0	at nec? port "IO_COM1" tty irq 4 vector siointr
134181834Srobertodevice		sio1	at nec? port 0xd2  tty irq 5 flags 0x101 vector siointr
135181834Srobertodevice		sio2	at nec? port 0x8d2 tty flags 0x101 vector siointr
136181834Sroberto
137181834Sroberto
138181834Srobertodevice ed0 at nec? port 0x00d0 net irq 6 vector edintr
139181834Srobertodevice ed1 at nec? port 0x56d0 net irq 5 vector edintr
140181834Srobertodevice ed2 at nec? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 vector edintr
141181834Srobertodevice fe0 at nec? prot 0x00d0 net irq 3 vector feintr
142181834Srobertodevice zp0 at nec? port 0x0300 net irq 10 iomem 0xe0000 vector zpintr 
143181834Srobertodevice ep0 at nec? port 0x00d0 net irq 6 vector epintr
144181834Sroberto
145181834Sroberto#controller	snd0
146181834Sroberto#device	sb0	at nec? port 0x20d2 irq 10 conflicts drq 3 vector sbintr
147181834Sroberto#device	sbxvi0 	at nec? drq 3
148181834Sroberto#device	sbmidi0	at nec? port 0x80d2
149181834Sroberto#device	opl0	at nec? port 0x28d2
150181834Sroberto
151181834Sroberto#device pcm0    at nec? port 0xa460 irq 12 vector pcmintr
152181834Sroberto
153181834Sroberto#device	mss0	at nec? port 0xf40 irq12 drq 1 vectro adintr
154181834Sroberto
155181834Srobertopseudo-device	loop
156181834Srobertopseudo-device	ether
157181834Srobertopseudo-device	log
158181834Srobertopseudo-device	sl	2
159181834Sroberto# ijppp uses tun instead of ppp device
160181834Sroberto#pseudo-device	ppp	1
161181834Srobertopseudo-device	tun	1
162181834Srobertopseudo-device	pty	16
163181834Sroberto# keep this if you want to be able to continue to use /stand/sysinstall
164181834Srobertopseudo-device	gzip		# Exec gzipped a.out's
165181834Sroberto