summaryrefslogtreecommitdiff
path: root/sys/arch/i386/conf/PCMCIA
blob: ab6fd10df37ce39624f5211efe5c048b997d14b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#	$OpenBSD: PCMCIA,v 1.10 1997/01/01 20:10:37 graichen Exp $
#

machine		i386		# architecture, used by config; REQUIRED

option		I586_CPU
option		I486_CPU
option		I386_CPU
option		INSECURE
option		GPL_MATH_EMULATE

option		DUMMY_NOPS	# speed hack; recommanded
option		XSERVER

maxusers	32		# estimated number of users
option		TIMEZONE=300	# time zone to adjust RTC time by
option		DST=1		# daylight savings time used by RTC

option		SWAPPAGER	# paging; REQUIRED
option		DEVPAGER	# mmap() of devices

option		DDB		# in-kernel debugger
#makeoptions	DEBUG="-g"	# compile full symbol table
#option		DIAGNOSTIC	# internally consistency checks
option		KTRACE		# system call tracing, a la ktrace(1)

option		SYSVMSG		# System V-like message queues
option		SYSVSEM		# System V-like semaphores
option		SYSVSHM		# System V-like memory sharing
#option		SHMMAXPGS=1024	# 1024 pages is the default

option		COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
option		COMPAT_09	# NetBSD 0.9,
option		COMPAT_10	# NetBSD 1.0,
option		COMPAT_43	# and 4.3BSD
#option		TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD

option		COMPAT_SVR4	# binary compatibility with SVR4
option		COMPAT_IBCS2	# binary compatibility with SCO and ISC
option		COMPAT_LINUX	# binary compatibility with Linux

option		USER_LDT	# user-settable LDT; used by WINE
option		LKM		# loadable kernel modules

option		FFS #,QUOTA	# UFS and quotas
#option		LFS		# log-structured file system
option		MFS		# memory file system

option		NFSCLIENT	# Network File System client
option		NFSSERVER	# Network File System server
option		HAS_VOPLEASE	# XXX

option		APM_NOIDLE
#option			PCIVERBOSE
#option			PCMCIA_DEBUG
#option			PCMCIA_ISA_DEBUG

### SCSI:
#option			CD9660		# ISO 9660 + Rock Ridge file system
###
option		MSDOSFS		# MS-DOS file system
option		FIFO		# FIFOs; RECOMMENDED
option		PROCFS		# /proc

#option		GATEWAY		# packet forwarding
option		INET		# IP + ICMP + TCP + UDP
#option		NS		# XNS
#option		ISO,TPIP	# OSI
#option		EON		# OSI tunneling over IP
#option		CCITT,LLC,HDLC	# X.25

config		bsd	swap generic

# Local Athena options

option		PCVT_CTRL_ALT_DEL	# For screwed-over Linux weenies

mainbus0 at root
isa0	at mainbus0
pci0	at mainbus0 bus 0

npx0	at isa? port 0xf0 irq 13	# math coprocessor
isadma0	at isa?

vt0	at isa? port 0x60 irq 1

com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
com1	at isa? port 0x2f8 irq 3
com2	at isa? port 0x3e8 irq 5

lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports

pms0	at pckbd? irq 12		# PS/2 auxiliary port mouse

fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
fd0	at fdc0 drive 0

wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
wd0	at wdc0 drive 0

spkr0	at pckbd? port 0x61
#apm0	at mainbus?

# Multiple controllers need some testing.  Some laptops have multiple PCIC
# controllers instead of two-slot controllers.
# The i82365 (pcic) controller uses the same ports for the first two
# controllers and for the second two controllers.
# On some systems there the pcicmaster is a pci-chip (you'll see a pci
# device of the type "class bridge, subclass PCMCIA, ..." at bootup)
# you may try the following:
#
#   pcicmaster0     at isa? port 0x3000 size 2
#   pcic0           at pcicmaster0 irq 11 iomem 0xd4000 iosiz 4096
#
# IRQ 2/9 doesn't seem to work for status change interrupts, so use one
# of the higher ones.
pcicmaster0	at isa? port 0x3E0 size 2
pcic0	at pcicmaster0 irq 11 iomem 0xd4000 iosiz 4096
pcic1	at pcicmaster0 irq 12 iomem 0xd5000 iosiz 4096
pcicmaster1 at isa? port 0x3E2 size 2
pcic2	at pcicmaster1 irq 11 iomem 0xd6000 iosiz 4096
pcic3	at pcicmaster1 irq 12 iomem 0xd7000 iosiz 4096

pcmcia* at pcic?

#ed0     at pcmcia? port 0x300 iomem 0xd8000 iosiz 8192 	irq 10
ed0     at pcmcia? port 0x300 size 0x20 irq 10 slot ?
ep0     at pcmcia? port 0x300 size 0x10 irq 10 slot ?
#com1    at pcmcia? port 0x2f8 size 8 irq 5 slot ?
#com2    at pcmcia? port 0x3e8 size 8 irq 5 slot ?
com3    at pcmcia? port 0x2e8 size 8	irq 3 slot ?

pseudo-device	loop	1		# network loopback
pseudo-device	bpfilter 4		# packet filter
pseudo-device	ppp	2		# PPP
pseudo-device	pty	64		# pseudo-terminals