Fri Mar 9 20:19:25 2018 UTC ()
add adadc driver


(macallan)
diff -r1.35 -r1.36 src/sys/arch/macppc/conf/POWERMAC_G5

cvs diff -r1.35 -r1.36 src/sys/arch/macppc/conf/POWERMAC_G5 (switch to unified diff)

--- src/sys/arch/macppc/conf/POWERMAC_G5 2018/03/08 23:27:12 1.35
+++ src/sys/arch/macppc/conf/POWERMAC_G5 2018/03/09 20:19:25 1.36
@@ -1,236 +1,237 @@ @@ -1,236 +1,237 @@
1# Lean and mean config file for the POWERMAC G5 1# Lean and mean config file for the POWERMAC G5
2# Author: Sanjay Lal <sanjayl@kymasys.com> 2# Author: Sanjay Lal <sanjayl@kymasys.com>
3 3
4include "arch/macppc/conf/std.macppc.g5" 4include "arch/macppc/conf/std.macppc.g5"
5 5
6options INCLUDE_CONFIG_FILE # embed config file in kernel binary 6options INCLUDE_CONFIG_FILE # embed config file in kernel binary
7maxusers 32 7maxusers 32
8 8
9options PMAC_G5 9options PMAC_G5
10#options OFWOEA_DEBUG 10#options OFWOEA_DEBUG
11#no makeoptions MACHINE_ARCH 11#no makeoptions MACHINE_ARCH
12#makeoptions MACHINE_ARCH="powerpc64" 12#makeoptions MACHINE_ARCH="powerpc64"
13 13
14options ALTIVEC # Include AltiVec support 14options ALTIVEC # Include AltiVec support
15options EXSTORAGE_MAX=64 15options EXSTORAGE_MAX=64
16#options MULTIPROCESSOR 16#options MULTIPROCESSOR
17 17
18# Standard system options 18# Standard system options
19options INSECURE # disable kernel security levels 19options INSECURE # disable kernel security levels
20 20
21options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 21options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
22options NTP # NTP phase/frequency locked loop 22options NTP # NTP phase/frequency locked loop
23options KTRACE # system call tracing via ktrace(1) 23options KTRACE # system call tracing via ktrace(1)
24 24
25options SYSVMSG # System V message queues 25options SYSVMSG # System V message queues
26options SYSVSEM # System V semaphores 26options SYSVSEM # System V semaphores
27#options SEMMNI=10 # number of semaphore identifiers 27#options SEMMNI=10 # number of semaphore identifiers
28#options SEMMNS=60 # number of semaphores in system 28#options SEMMNS=60 # number of semaphores in system
29#options SEMUME=10 # max number of undo entries per process 29#options SEMUME=10 # max number of undo entries per process
30#options SEMMNU=30 # number of undo structures in system 30#options SEMMNU=30 # number of undo structures in system
31options SYSVSHM # System V shared memory 31options SYSVSHM # System V shared memory
32#options SHMMAXPGS=1024 # 1024 pages is the default 32#options SHMMAXPGS=1024 # 1024 pages is the default
33 33
34options MODULAR # loadable kernel modules 34options MODULAR # loadable kernel modules
35 35
36options USERCONF # userconf(4) support 36options USERCONF # userconf(4) support
37#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 37#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
38options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 38options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
39 39
40# Alternate buffer queue strategies for better responsiveness under high 40# Alternate buffer queue strategies for better responsiveness under high
41# disk I/O load. 41# disk I/O load.
42#options BUFQ_READPRIO 42#options BUFQ_READPRIO
43options BUFQ_PRIOCSCAN 43options BUFQ_PRIOCSCAN
44 44
45# Diagnostic/debugging support options 45# Diagnostic/debugging support options
46options DIAGNOSTIC # cheap kernel consistency checks 46options DIAGNOSTIC # cheap kernel consistency checks
47#options DEBUG # expensive debugging checks/support 47#options DEBUG # expensive debugging checks/support
48options ZS_CONSOLE_ABORT# allow break to get into DDB on serial 48options ZS_CONSOLE_ABORT# allow break to get into DDB on serial
49options DDB # in-kernel debugger 49options DDB # in-kernel debugger
50options DDB_ONPANIC=1 # don't go into ddb on panic. 50options DDB_ONPANIC=1 # don't go into ddb on panic.
51options DDB_HISTORY_SIZE=512 # enable history editing in DDB 51options DDB_HISTORY_SIZE=512 # enable history editing in DDB
52options TRAP_PANICWAIT 52options TRAP_PANICWAIT
53#options DDB_COMMANDONENTER="bt" 53#options DDB_COMMANDONENTER="bt"
54 54
55makeoptions DEBUG="-g" # compile full symbol table 55makeoptions DEBUG="-g" # compile full symbol table
56 56
57# Compatibility options 57# Compatibility options
58include "conf/compat_netbsd70.config" 58include "conf/compat_netbsd70.config"
59#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 59#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
60 60
61# File systems 61# File systems
62file-system FFS # UFS 62file-system FFS # UFS
63file-system MFS # memory file system 63file-system MFS # memory file system
64file-system TMPFS # memory file system 64file-system TMPFS # memory file system
65file-system KERNFS # /kern 65file-system KERNFS # /kern
66file-system PROCFS # /proc 66file-system PROCFS # /proc
67file-system NFS # Network File System client 67file-system NFS # Network File System client
68#file-system CD9660 # ISO 9660 + Rock Ridge file system 68#file-system CD9660 # ISO 9660 + Rock Ridge file system
69#file-system MSDOSFS # MS-DOS file system 69#file-system MSDOSFS # MS-DOS file system
70file-system PTYFS # /dev/pts/N support 70file-system PTYFS # /dev/pts/N support
71#file-system HFS # experimental - Apple HFS+ (read-only) 71#file-system HFS # experimental - Apple HFS+ (read-only)
72 72
73# File system options 73# File system options
74#options QUOTA # legacy UFS quotas 74#options QUOTA # legacy UFS quotas
75#options QUOTA2 # new, in-filesystem UFS quotas 75#options QUOTA2 # new, in-filesystem UFS quotas
76#options FFS_EI # FFS Endian Independant support 76#options FFS_EI # FFS Endian Independant support
77#options WAPBL # File system journaling support 77#options WAPBL # File system journaling support
78#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 78#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
79#options NFSSERVER # Network File System server 79#options NFSSERVER # Network File System server
80#options FFS_NO_SNAPSHOT # ffs snapshots 80#options FFS_NO_SNAPSHOT # ffs snapshots
81#options UFS_EXTATTR # Extended attribute support for UFS1 81#options UFS_EXTATTR # Extended attribute support for UFS1
82#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 82#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
83 # immutable) behave as system flags. 83 # immutable) behave as system flags.
84#options APPLE_UFS # Apple UFS support in FFS 84#options APPLE_UFS # Apple UFS support in FFS
85# Networking options 85# Networking options
86#options GATEWAY # packet forwarding 86#options GATEWAY # packet forwarding
87options INET # IP + ICMP + TCP + UDP 87options INET # IP + ICMP + TCP + UDP
88options INET6 # IPV6 88options INET6 # IPV6
89 89
90# These options enable verbose messages for several subsystems. 90# These options enable verbose messages for several subsystems.
91# Warning, these may compile large string tables into the kernel! 91# Warning, these may compile large string tables into the kernel!
92#options PCIVERBOSE # verbose PCI device autoconfig messages 92#options PCIVERBOSE # verbose PCI device autoconfig messages
93#options MIIVERBOSE # verbose PHY autoconfig messages 93#options MIIVERBOSE # verbose PHY autoconfig messages
94#options PCI_CONFIG_DUMP # verbosely dump PCI config space 94#options PCI_CONFIG_DUMP # verbosely dump PCI config space
95 95
96# wscons options 96# wscons options
97#options WSEMUL_SUN # sun terminal emulation 97#options WSEMUL_SUN # sun terminal emulation
98options WSEMUL_VT100 # VT100 / VT220 emulation 98options WSEMUL_VT100 # VT100 / VT220 emulation
99#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 99#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
100#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 100#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
101options WS_DEFAULT_FG=WSCOL_BLACK 101options WS_DEFAULT_FG=WSCOL_BLACK
102options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE 102options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
103options WS_KERNEL_FG=WSCOL_GREEN 103options WS_KERNEL_FG=WSCOL_GREEN
104options WS_KERNEL_BG=WSCOL_LIGHT_WHITE 104options WS_KERNEL_BG=WSCOL_LIGHT_WHITE
105options FONT_GALLANT12x22 105options FONT_GALLANT12x22
106 106
107# Kernel root file system and dump configuration. 107# Kernel root file system and dump configuration.
108config netbsd root on ? type ? 108config netbsd root on ? type ?
109#config netbsd root on gem0 type nfs 109#config netbsd root on gem0 type nfs
110options NFS_BOOT_DHCP 110options NFS_BOOT_DHCP
111 111
112# 112#
113# Device configuration 113# Device configuration
114# 114#
115 115
116mainbus* at root 116mainbus* at root
117 117
118cpu* at mainbus? 118cpu* at mainbus?
119uni_n* at mainbus? 119uni_n* at mainbus?
120memory* at mainbus? 120memory* at mainbus?
121spdmem* at memory? addr ? 121spdmem* at memory? addr ?
122ki2c* at uni_n? # Keywest I2C 122ki2c* at uni_n? # Keywest I2C
123 123
124ibmcpc* at mainbus? 124ibmcpc* at mainbus?
125uninorth* at mainbus? 125uninorth* at mainbus?
126smu* at mainbus? 126smu* at mainbus?
127#options SMU_DEBUG 127#options SMU_DEBUG
128smuiic* at smu? 128smuiic* at smu?
129smusat* at smuiic? 129smusat* at smuiic?
130 130
131pci* at ibmcpc? bus ? 131pci* at ibmcpc? bus ?
132pci* at uninorth? bus ? 132pci* at uninorth? bus ?
133pci* at ppb? bus ? 133pci* at ppb? bus ?
134 134
135pchb* at pci? dev ? function ? # PCI-Host bridges 135pchb* at pci? dev ? function ? # PCI-Host bridges
136ppb* at pci? dev ? function ? # PCI-PCI bridges 136ppb* at pci? dev ? function ? # PCI-PCI bridges
137 137
138obio0 at pci? dev ? function ? 138obio0 at pci? dev ? function ?
139zsc* at obio? 139zsc* at obio?
140zstty* at zsc? channel ? 140zstty* at zsc? channel ?
141#snapper* at obio? 141#snapper* at obio?
142ki2c* at obio? # Keywest I2C 142ki2c* at obio? # Keywest I2C
143iic* at i2cbus? 143iic* at i2cbus?
144 144
145admtemp* at iic? 145admtemp* at iic?
146lmtemp* at iic? 146lmtemp* at iic?
147dstemp* at iic? 147dstemp* at iic?
 148adadc* at iic?
148fcu* at iic? 149fcu* at iic?
149deq* at iic? 150deq* at iic?
150 151
151pmu* at obio? # Apple PMU 152pmu* at obio? # Apple PMU
152 153
153# Audio support 154# Audio support
154#audio* at audiobus? 155#audio* at audiobus?
155 156
156#spkr* at audio? # PC speaker (synthesized) 157#spkr* at audio? # PC speaker (synthesized)
157#wsbell* at spkr? 158#wsbell* at spkr?
158 159
159gem* at pci? dev ? function ? # gmac ethernet 160gem* at pci? dev ? function ? # gmac ethernet
160options GEM_DEBUG 161options GEM_DEBUG
161bge* at pci? dev ? function ? # borgcom ethernet 162bge* at pci? dev ? function ? # borgcom ethernet
162bmtphy* at mii? phy ? # Broadcom BCM5201/BCM5202 PHYs 163bmtphy* at mii? phy ? # Broadcom BCM5201/BCM5202 PHYs
163brgphy* at mii? phy ? # Broadcom BCM5400 PHYs 164brgphy* at mii? phy ? # Broadcom BCM5400 PHYs
164ukphy* at mii? phy ? # generic unknown PHYs 165ukphy* at mii? phy ? # generic unknown PHYs
165 166
166# PCI IEEE1394 controllers 167# PCI IEEE1394 controllers
167#fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 168#fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
168 169
169# IEEE1394 nodes 170# IEEE1394 nodes
170#ieee1394if* at fwohci? 171#ieee1394if* at fwohci?
171#fwip* at ieee1394if? # IP over IEEE1394 172#fwip* at ieee1394if? # IP over IEEE1394
172#sbp* at ieee1394if? euihi ? euilo ? 173#sbp* at ieee1394if? euihi ? euilo ?
173#scsibus* at sbp? 174#scsibus* at sbp?
174 175
175 176
176# PCI USB controllers 177# PCI USB controllers
177ohci* at pci? dev ? function ? # USB Open Host Controller 178ohci* at pci? dev ? function ? # USB Open Host Controller
178ehci* at pci? dev ? function ? # USB Enhanced Host Controller 179ehci* at pci? dev ? function ? # USB Enhanced Host Controller
179 180
180usb* at ohci? # USB bus support 181usb* at ohci? # USB bus support
181usb* at ehci? # USB bus support 182usb* at ehci? # USB bus support
182uhub* at usb? # USB Hubs 183uhub* at usb? # USB Hubs
183uhub* at uhub? port ? 184uhub* at uhub? port ?
184uhidev* at uhub? port ? configuration ? interface ? # USB HID device 185uhidev* at uhub? port ? configuration ? interface ? # USB HID device
185uhid* at uhidev? reportid ? # USB Generic HID 186uhid* at uhidev? reportid ? # USB Generic HID
186ukbd* at uhidev? reportid ? # USB Keyboards 187ukbd* at uhidev? reportid ? # USB Keyboards
187wskbd* at ukbd? console ? 188wskbd* at ukbd? console ?
188ums* at uhidev? reportid ? # USB Mice 189ums* at uhidev? reportid ? # USB Mice
189wsmouse* at ums? 190wsmouse* at ums?
190 191
191options OFWOEA_WSCONS_NO_ROM_FONT 192options OFWOEA_WSCONS_NO_ROM_FONT
192genfb* at pci? dev ? function ? # Generic Open Firmware Framebuffer 193genfb* at pci? dev ? function ? # Generic Open Firmware Framebuffer
193radeonfb* at pci? dev ? function ? 194radeonfb* at pci? dev ? function ?
194options RADEONFB_ALWAYS_ACCEL_PUTCHAR 195options RADEONFB_ALWAYS_ACCEL_PUTCHAR
195 196
196#radeon* at pci? dev ? function ? 197#radeon* at pci? dev ? function ?
197#radeondrmkmsfb* at radeonfbbus? 198#radeondrmkmsfb* at radeonfbbus?
198 199
199#pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 200#pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
200wdc* at pci? dev ? function ? # Kauai ATA 201wdc* at pci? dev ? function ? # Kauai ATA
201svwsata* at pci? dev ? function ? # ServerWorks SATA controllers 202svwsata* at pci? dev ? function ? # ServerWorks SATA controllers
202#options ATADEBUG 203#options ATADEBUG
203obio* at pci? dev ? function ? 204obio* at pci? dev ? function ?
204zsc* at obio? 205zsc* at obio?
205zstty* at zsc? channel ? 206zstty* at zsc? channel ?
206 207
207wsdisplay0 at wsemuldisplaydev? console 1 208wsdisplay0 at wsemuldisplaydev? console 1
208wsdisplay* at wsemuldisplaydev? 209wsdisplay* at wsemuldisplaydev?
209 210
210atabus* at ata? 211atabus* at ata?
211wd* at atabus? drive ? flags 0x0000 212wd* at atabus? drive ? flags 0x0000
212atapibus* at atapi? 213atapibus* at atapi?
213cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 214cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
214sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 215sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
215uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 216uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
216 217
217 218
218#pseudo-device crypto # opencrypto framework 219#pseudo-device crypto # opencrypto framework
219 # (disabled, requires generic softints) 220 # (disabled, requires generic softints)
220pseudo-device vnd # disk-like interface to files 221pseudo-device vnd # disk-like interface to files
221#pseudo-device md # memory disk device 222#pseudo-device md # memory disk device
222pseudo-device loop # network loopback 223pseudo-device loop # network loopback
223pseudo-device pty # pseudo-terminals 224pseudo-device pty # pseudo-terminals
224pseudo-device openfirm # /dev/openfirm 225pseudo-device openfirm # /dev/openfirm
225pseudo-device wsmux # mouse and keyboard multiplexor 226pseudo-device wsmux # mouse and keyboard multiplexor
226pseudo-device clockctl # user control of clock subsystem 227pseudo-device clockctl # user control of clock subsystem
227pseudo-device ksyms # /dev/ksyms 228pseudo-device ksyms # /dev/ksyms
228#pseudo-device nsmb # SMB requester 229#pseudo-device nsmb # SMB requester
229#pseudo-device pf # PF packet filter 230#pseudo-device pf # PF packet filter
230#pseudo-device pflog # PF log if 231#pseudo-device pflog # PF log if
231 232
232# Enable the hooks used for initializing the ram-disk. 233# Enable the hooks used for initializing the ram-disk.
233#options MEMORY_DISK_HOOKS 234#options MEMORY_DISK_HOOKS
234#options MEMORY_DISK_IS_ROOT # Force root on ram-disk 235#options MEMORY_DISK_IS_ROOT # Force root on ram-disk
235#options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes 236#options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes
236#options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 237#options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode