Annotation of sys/arch/sparc/conf/SUN4, Revision 1.1.1.1
1.1 nbrk 1: # $OpenBSD: SUN4,v 1.35 2006/12/10 16:14:20 miod Exp $
2: # $NetBSD: GENERIC,v 1.28.2.1 1996/07/02 23:55:22 jtc Exp $
3:
4: # Machine architecture; required by config(8)
5: machine sparc
6:
7: include "../../../conf/GENERIC"
8:
9: option SUN4 # sun4/100, sun4/200, sun4/300
10:
11: #option MMU_3L # 3-level MMU on sun4/400
12:
13: # Options for SPARCstation hardware
14: option COMPAT_SUNOS # compatibility with SunOS binaries
15: option COMPAT_SVR4 # compatibility with SVR4 binaries
16: option PROCFS # /proc
17:
18: option WSEMUL_SUN # provide sun terminal emulation; required
19: option WSEMUL_NO_VT100 # do not provide vt100 terminal emulation
20:
21: maxusers 16 # estimated number of users
22:
23: # Generic swap; second partition of root disk or network.
24: config bsd swap generic
25:
26: # Main bus and CPU .. all systems.
27: mainbus0 at root
28: cpu0 at mainbus0
29:
30: # Bus types found on SPARC systems.
31: obio0 at mainbus0 # sun4 and sun4m
32: vmes0 at mainbus0 # sun4
33: vmel0 at mainbus0 # sun4
34:
35: # Mostek clock found on 4/300, sun4c, and sun4m systems.
36: # The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
37: clock0 at obio0 addr 0xf2000000 # sun4/300
38:
39: # Intersil clock found on 4/100 and 4/200 systems.
40: oclock0 at obio0 addr 0xf3000000 # sun4/200
41: oclock0 at obio0 addr 0x03000000 # sun4/100
42:
43: # Memory error registers.
44: memreg0 at obio0 addr 0xf4000000 # sun4/200 and sun4/300
45: memreg0 at obio0 addr 0x04000000 # sun4/100
46:
47: # Timer chip found on 4/300, sun4c, and sun4m systems.
48: timer0 at obio0 addr 0xef000000 # sun4/300
49:
50: # EEPROM found on 4/100 and 4/200 systems. Note that the 4/300
51: # doesn't use this driver; the `EEPROM' is in the NVRAM on the
52: # Mostek clock chip on 4/300 systems.
53: eeprom0 at obio0 addr 0xf2000000 # sun4/200
54: eeprom0 at obio0 addr 0x02000000 # sun4/100
55:
56: # 8 segment led display on sun4 systems
57: led0 at mainbus0 # sun4
58:
59: # Zilog 8530 serial chips. Each has two-channels.
60: # zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
61: zs0 at obio0 addr 0xf1000000 level 12 # sun4/200 and sun4/300
62: zs0 at obio0 addr 0x01000000 level 12 # sun4/100
63: zs1 at obio0 addr 0xf0000000 level 12 # sun4/200 and sun4/300
64: zs1 at obio0 addr 0x00000000 level 12 # sun4/100
65: zs2 at obio0 addr 0xe0000000 level 12 # sun4/300
66:
67: zstty* at zs?
68: zskbd* at zs?
69: wskbd* at zskbd?
70:
71: #
72: # Note the flags on the esp entries below, that work around
73: # deficiencies in the current driver:
74: # bits 0-7: disable disconnect/reselect for the corresponding target
75: # bits 8-15: disable synch negotiation for target [bit-8]
76: # Note: targets 4-7 have disconnect/reselect enabled on the premise
77: # that tape devices normally have one of these targets. Tape
78: # devices should be allowed to disconnect for the SCSI bus
79: # to operate acceptably.
80: #
81:
82: # sun4/300 SCSI - an NCR53c94 or equivalent behind
83: # an LSI Logic DMA controller
84: dma0 at obio0 addr 0xfa001000 level 4 # sun4/300
85: esp0 at obio0 addr 0xfa000000 level 4 flags 0x00ff000f
86:
87: # sun4/300 and sun4c Ethernet - an AMD 7990 LANCE
88: le0 at obio0 addr 0xf9000000 level 6 # sun4/300
89:
90: # sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
91: # or on a Multibus/VME card.
92: ie0 at obio0 addr 0xf6000000 level 6 # sun4/200 on-board
93: ie0 at obio0 addr 0x06000000 level 6 # sun4/100 on-board
94:
95: ie1 at vmes0 addr 0xffe88000 level 5 vect 0x75
96: ie2 at vmes0 addr 0xff31ff02 level 5 vect 0x76
97: ie3 at vmes0 addr 0xff35ff02 level 5 vect 0x77
98: ie4 at vmes0 addr 0xff2dff02 level 5 vect 0x7c
99:
100: # Xylogics 753 or 7053 VME SMD disk controllers and disks, found
101: # on sun4 systems.
102: xdc0 at vmel0 addr 0xffffee80 level 3 vect 0x44
103: xdc1 at vmel0 addr 0xffffee90 level 3 vect 0x45
104: xdc2 at vmel0 addr 0xffffeea0 level 3 vect 0x46
105: xdc3 at vmel0 addr 0xffffeeb0 level 3 vect 0x47
106: xd* at xdc?
107:
108: # Xylogics 451 or 451 VME SMD disk controllers and disks, found
109: # on sun4 systems.
110: xyc0 at vmes0 addr 0xffffee40 level 3 vect 0x48
111: xyc1 at vmes0 addr 0xffffee48 level 3 vect 0x49
112: xy* at xyc?
113:
114: # NCR5380-based "Sun SCSI 3" VME SCSI controller.
115: # This driver has several flags which may be enabled by OR'ing
116: # the values and using the "flags" directive.
117: # Valid flags are:
118: #
119: # 0x01 Use DMA (may be polled)
120: # 0x02 Use DMA completion interrupts
121: # 0x04 Allow disconnect/reselect
122: #
123: # E.g. the following would enable DMA, interrupts, and reselect:
124: # si0 at vmes0 addr 0xff200000 level 3 vect 0x40 flags 0x07
125: #
126: si0 at vmes0 addr 0xff200000 level 3 vect 0x40 flags 0x01
127:
128: # NCR5380-based "SCSI Weird" on-board SCSI interface found
129: # on sun4/100 systems. The flags are the same as the "si"
130: # controller. Note, while DMA is enabled by default, only
131: # polled DMA works at this time, and reselects do not work
132: # on this particular controller.
133: sw0 at obio0 addr 0x0a000000 level 3 flags 0x01
134:
135: # Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
136: # systems.
137: bwtwo0 at obio0 addr 0xfd000000 level 4 # sun4/200
138: bwtwo0 at obio0 addr 0xfb300000 level 4 # sun4/300 in P4 slot
139: bwtwo0 at obio0 addr 0x0b300000 level 4 # sun4/100 in P4 slot
140: wsdisplay* at bwtwo?
141:
142: # Sun "cgtwo" VME color framebuffer.
143: cgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xa8
144: wsdisplay* at cgtwo?
145:
146: # Sun "cgfour" color framebuffer.
147: cgfour0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
148: cgfour0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
149: wsdisplay* at cgfour?
150:
151: # Sun "cgsix" accelerated color framebuffer.
152: cgsix0 at obio0 addr 0xfb000000 level 4 # sun4/300 P4
153: cgsix0 at obio0 addr 0x0b000000 level 4 # sun4/100 P4
154: wsdisplay* at cgsix?
155:
156: # Sun "cgeight" 24-bit framebuffer.
157: cgeight0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
158: cgeight0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
159: wsdisplay* at cgeight?
160:
161: # SCSI bus layer. SCSI devices attach to the SCSI bus, which attaches
162: # to the underlying hardware controller.
163: scsibus* at esp?
164: scsibus* at si?
165: scsibus* at sw?
166:
167: # These entries find devices on all SCSI busses and assign
168: # unit numers dynamically.
169: sd* at scsibus? # SCSI disks
170: st* at scsibus? # SCSI tapes
171: cd* at scsibus? # SCSI CD-ROMs
172: ch* at scsibus? # SCSI changer devices
173: ss* at scsibus? # SCSI scanners
174: uk* at scsibus? # unknown SCSI devices
CVSweb