1#         $NetBSD: INSTALL_601,v 1.5 2025/02/10 19:49:08 christos Exp $
2#
3# config file for INSTALL
4#
5# this config more or less matches a Power Macintosh 7200 with a USB card,
6# and platinumfb
7
8include   "arch/macppc/conf/std.macppc.601"
9
10#options  INCLUDE_CONFIG_FILE # embed config file in kernel binary
11
12makeoptions         COPTS="-Os" # Reduce size.
13
14maxusers  12
15
16options   RTC_OFFSET=0        # hardware clock is this many mins. west of GMT
17
18# Enable the hooks used for initializing the ram-disk.
19options   MEMORY_DISK_HOOKS
20options   MEMORY_DISK_IS_ROOT # Force root on ram-disk
21options   MEMORY_DISK_SERVER=0          # no userspace memory disk support
22options   MEMORY_DISK_ROOT_SIZE=6000    # 3000 KiB
23options   MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
24
25options   USERCONF  # userconf(4) support
26options   PIPE_SOCKETPAIR               # smaller, but slower pipe(2)
27#options  SYSCTL_INCLUDE_DESCR          # Include sysctl descriptions in kernel
28
29# Compatibility options
30include   "conf/compat_netbsd13.config"
31
32# File systems
33file-system         FFS                 # UFS
34file-system         MFS                 # memory file system
35file-system         NFS                 # Network File System client
36file-system         CD9660              # ISO 9660 + Rock Ridge file system
37file-system         MSDOSFS             # MS-DOS file system
38#file-system        PTYFS               # /dev/pts/N support
39
40# Filesystem options
41options   NFS_V2_ONLY         # Exclude NFS3 code to save space
42options   APPLE_UFS # Apple UFS support in FFS
43#options  FFS_NO_SNAPSHOT     # No FFS snapshot support
44options   WAPBL               # File system journaling support
45
46# Networking options
47options   INET                # IP + ICMP + TCP + UDP
48options   INET6               # IPV6
49options   NFS_BOOT_DHCP       # Support DHCP NFS root
50
51options   WSEMUL_VT100        # VT100 / VT220 emulation
52options   WSDISPLAY_DEFAULTSCREENS=1
53#options  WSDISPLAY_COMPAT_USL                    # wsconscfg VT handling
54options   FONT_GALLANT12x22   # big, Sun-like font
55options   FONT_QVSS8x15                 # a smaller font for lower resolutions
56
57# Kernel root file system and dump configuration.
58config              netbsd    root on ? type ?
59
60#
61# Device configuration
62#
63
64mainbus* at root
65
66cpu*      at mainbus?
67bandit*   at mainbus?
68
69pci*      at bandit? bus ?
70pci*      at ppb? bus ?
71
72pchb*     at pci? dev ? function ?      # PCI-Host bridges
73ppb*      at pci? dev ? function ?      # PCI-PCI bridges
74
75# PCI SCSI controllers
76ahc*      at pci? dev ? function ?      # Adaptec 294x, aic78x0 SCSI
77
78# Display devices
79#
80# The 7200's onboard video is unsupported by OF so we need either a
81# graphics card that works as OF console or a serial console.
82# The only cards known to work ( so far ) are PCI Voodoo3s flashed with the
83# official Macintosh firmware from 3Dfx. The others should work but are
84# untested with OF 1.0.5
85# this will take over the console if output-device is set to 'platinum'.
86# It will provide a NetBSD console, but still won't work with OF
87platinumfb0         at mainbus?
88
89#gffb*              at pci?   function ?          # NVIDIA GeForce2 MX
90#machfb*            at pci? function ?  # ATI Mach 64, Rage, Rage Pro
91#r128fb*            at pci? function ?  # ATI Rage 128
92voodoofb* at pci? function ?  # 3Dfx Voodoo3
93
94# ATI Radeon. Still has problems on some hardware
95#radeonfb*          at pci? function ?
96
97# generic PCI framebuffer, should work with everything supported by OF
98genfb*              at pci? function ?
99
100# make sure the console display is always wsdisplay0
101wsdisplay0          at wsemuldisplaydev? console 1
102wsdisplay*          at wsemuldisplaydev? console 0
103
104obio*     at pci? dev ? function ?
105
106mc*       at obio?                      # MACE ethernet
107esp*      at obio? flags 0x00ff                   # 53c9x SCSI
108# the 7200 has no mesh but other PMacs with 601 cards may
109mesh*     at obio? flags 0xffff                   # MESH SCSI
110nvram*    at obio?                      # nvram
111
112# the new, improved ADB subsystem
113
114cuda*     at obio?                      # CUDA, for Old World PowerMacs
115nadb*     at adb_bus?                             # ADB bus enumerator, at cuda or pmu
116adbkbd* at nadb?                        # ADB keyboard
117adbms*    at nadb?                      # ADB mice and touchpads
118
119wskbd*              at wskbddev? console ?
120wsmouse*  at wsmousedev?
121
122iic0      at cuda0            # CUDA's IIC bus
123
124zsc*      at obio?
125zstty*    at zsc? channel ?
126mediabay* at obio?
127wdc*      at mediabay? flags 0
128
129# Cryptographic Devices
130
131# PCI cryptographic devices
132# (disabled, requires opencrypto framework which requires generic softints
133#hifn*    at pci? dev ? function ?      # Hifn 7755/7811/795x
134#ubsec*   at pci? dev ? function ?      # Broadcom 5501/5601/580x/582x
135
136scsibus* at scsi?
137
138sd*       at scsibus? target ? lun ?    # SCSI disks
139cd*       at scsibus? target ? lun ?    # SCSI CD-ROM drives
140
141wdc*      at obio? flags 0x1
142atabus* at ata?
143wd*       at atabus? drive ? flags 0x0000
144
145atapibus* at atapi?
146
147# PCI USB controllers
148ohci*     at pci? dev ? function ?      # USB Open Host Controller
149#ehci*    at pci? dev ? function ?      # USB Enhanced Host Controller
150
151uhci*    at pci? dev ? function ?
152usb*     at uhci?
153
154#usb*     at ehci?                                          # USB bus support
155usb*      at ohci?                                          # USB bus support
156uhub*     at usb?                                                     # USB Hubs
157uhub*     at uhub? port ?
158uhidev*   at uhub? port ? configuration ? interface ?       # USB HID device
159
160ums*      at uhidev? reportid ?                                       # USB Mice
161wsmouse* at ums? mux 0
162ukbd*     at uhidev? reportid ?                                       # USB Keyboards
163uhid*     at uhidev? reportid ?                                       # USB Generic HID
164
165umass*    at uhub? port ? configuration ? interface ?       # USB Mass Storage
166
167pseudo-device       md                            # memory disk
168#pseudo-device      fss                           # file system snapshot device
169pseudo-device       loop                          # network loopback
170pseudo-device       pty                           # pseudo-terminals
171
172pseudo-device       wsmux                         # mouse and keyboard multiplexor
173pseudo-device       openfirm            # /dev/openfirm
174
175#pseudo-device      raid                          # RAIDframe disk driver
176#options  RAID_AUTOCONFIG               # auto-configuration of RAID components
177rlphy*    at mii? phy ?                           # Realtek 8139/8201L PHYs
178rtk*      at pci? dev ? function ?      # Realtek 8129/8139
179
180#rgephy* at mii? phy ?                            # Realtek 8169S/8110S internal PHYs
181#ral*     at pci? dev ? function ?      # Ralink Technology RT25x0 802.11a/b/g
182