Use the correct attachment for dreamcast audio. Found and tested by Bjorn Johannesson on port-dreamcast.diff -r1.1 -r1.2 src/sys/arch/dreamcast/conf/G1IDE
(nat)
--- src/sys/arch/dreamcast/conf/G1IDE 2016/12/29 11:49:05 1.1
+++ src/sys/arch/dreamcast/conf/G1IDE 2017/07/25 23:20:57 1.2
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: G1IDE,v 1.1 2016/12/29 11:49:05 tsutsui Exp $ | 1 | # $NetBSD: G1IDE,v 1.2 2017/07/25 23:20:57 nat Exp $ | |
2 | 2 | |||
3 | include "arch/dreamcast/conf/std.dreamcast" | 3 | include "arch/dreamcast/conf/std.dreamcast" | |
4 | 4 | |||
5 | options INCLUDE_CONFIG_FILE # embed config file in kernel binary | 5 | options INCLUDE_CONFIG_FILE # embed config file in kernel binary | |
6 | 6 | |||
7 | maxusers 16 # estimated number of users | 7 | maxusers 16 # estimated number of users | |
8 | 8 | |||
9 | # Standard system options | 9 | # Standard system options | |
10 | #options INSECURE # disable kernel security levels | 10 | #options INSECURE # disable kernel security levels | |
11 | 11 | |||
12 | #options RTC_OFFSET=-540 | 12 | #options RTC_OFFSET=-540 | |
13 | options HZ=100 # clock interrupt generates every 1/HZ sec | 13 | options HZ=100 # clock interrupt generates every 1/HZ sec | |
14 | options NTP # NTP phase/frequency locked loop | 14 | options NTP # NTP phase/frequency locked loop | |
@@ -180,27 +180,27 @@ wd* at atabus? drive ? flags 0x0000 | @@ -180,27 +180,27 @@ wd* at atabus? drive ? flags 0x0000 | |||
180 | atapibus* at atabus? | 180 | atapibus* at atabus? | |
181 | gdrom0 at atapibus? | 181 | gdrom0 at atapibus? | |
182 | 182 | |||
183 | g2bus0 at shb? | 183 | g2bus0 at shb? | |
184 | g2rtc0 at g2bus? # time-of-day clock | 184 | g2rtc0 at g2bus? # time-of-day clock | |
185 | gapspci* at g2bus? # GAPS PCI bridge | 185 | gapspci* at g2bus? # GAPS PCI bridge | |
186 | pci* at gapspci? | 186 | pci* at gapspci? | |
187 | rtk* at pci? dev ? function ? # SEGA Broadband Adapter | 187 | rtk* at pci? dev ? function ? # SEGA Broadband Adapter | |
188 | rlphy* at mii? phy ? | 188 | rlphy* at mii? phy ? | |
189 | 189 | |||
190 | mbe* at g2bus? # SEGA LAN Adapter | 190 | mbe* at g2bus? # SEGA LAN Adapter | |
191 | 191 | |||
192 | #aica* at g2bus? # AICA Sound Processing Unit | 192 | #aica* at g2bus? # AICA Sound Processing Unit | |
193 | #audio* at aica? | 193 | #audio* at audiobus? | |
194 | 194 | |||
195 | #spkr* at audio? # PC speaker (synthesized) | 195 | #spkr* at audio? # PC speaker (synthesized) | |
196 | 196 | |||
197 | #pseudo-device cgd # cryptographic disk devices | 197 | #pseudo-device cgd # cryptographic disk devices | |
198 | pseudo-device md # memory disk device (ramdisk) | 198 | pseudo-device md # memory disk device (ramdisk) | |
199 | pseudo-device vnd # disk-like interface to files | 199 | pseudo-device vnd # disk-like interface to files | |
200 | #options VND_COMPRESSION # compressed vnd(4) | 200 | #options VND_COMPRESSION # compressed vnd(4) | |
201 | 201 | |||
202 | # network pseudo-devices | 202 | # network pseudo-devices | |
203 | pseudo-device bpfilter # Berkeley packet filter | 203 | pseudo-device bpfilter # Berkeley packet filter | |
204 | #pseudo-device carp # Common Address Redundancy Protocol | 204 | #pseudo-device carp # Common Address Redundancy Protocol | |
205 | #pseudo-device ipfilter # IP filter (firewall) and NAT | 205 | #pseudo-device ipfilter # IP filter (firewall) and NAT | |
206 | pseudo-device loop # network loopback | 206 | pseudo-device loop # network loopback |
--- src/sys/arch/dreamcast/conf/GENERIC 2016/12/13 20:42:17 1.125
+++ src/sys/arch/dreamcast/conf/GENERIC 2017/07/25 23:20:57 1.126
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: GENERIC,v 1.125 2016/12/13 20:42:17 christos Exp $ | 1 | # $NetBSD: GENERIC,v 1.126 2017/07/25 23:20:57 nat Exp $ | |
2 | # | 2 | # | |
3 | # GENERIC machine description file | 3 | # GENERIC machine description file | |
4 | # | 4 | # | |
5 | # This machine description file is used to generate the default NetBSD | 5 | # This machine description file is used to generate the default NetBSD | |
6 | # kernel. The generic kernel does not include all options, subsystems | 6 | # kernel. The generic kernel does not include all options, subsystems | |
7 | # and device drivers, but should be useful for most applications. | 7 | # and device drivers, but should be useful for most applications. | |
8 | # | 8 | # | |
9 | # The machine description file can be customised for your specific | 9 | # The machine description file can be customised for your specific | |
10 | # machine to reduce the kernel size and improve its performance. | 10 | # machine to reduce the kernel size and improve its performance. | |
11 | # | 11 | # | |
12 | # For further information on compiling NetBSD kernels, see the config(8) | 12 | # For further information on compiling NetBSD kernels, see the config(8) | |
13 | # man page. | 13 | # man page. | |
14 | # | 14 | # | |
@@ -181,27 +181,27 @@ mlcd* at maple? port ? subunit ? | @@ -181,27 +181,27 @@ mlcd* at maple? port ? subunit ? | |||
181 | 181 | |||
182 | gdrom0 at shb? | 182 | gdrom0 at shb? | |
183 | 183 | |||
184 | g2bus0 at shb? | 184 | g2bus0 at shb? | |
185 | g2rtc0 at g2bus? # time-of-day clock | 185 | g2rtc0 at g2bus? # time-of-day clock | |
186 | gapspci* at g2bus? # GAPS PCI bridge | 186 | gapspci* at g2bus? # GAPS PCI bridge | |
187 | pci* at gapspci? | 187 | pci* at gapspci? | |
188 | rtk* at pci? dev ? function ? # SEGA Broadband Adapter | 188 | rtk* at pci? dev ? function ? # SEGA Broadband Adapter | |
189 | rlphy* at mii? phy ? | 189 | rlphy* at mii? phy ? | |
190 | 190 | |||
191 | mbe* at g2bus? # SEGA LAN Adapter | 191 | mbe* at g2bus? # SEGA LAN Adapter | |
192 | 192 | |||
193 | aica* at g2bus? # AICA Sound Processing Unit | 193 | aica* at g2bus? # AICA Sound Processing Unit | |
194 | audio* at aica? | 194 | audio* at audiobus? | |
195 | 195 | |||
196 | spkr* at audio? # PC speaker (synthesized) | 196 | spkr* at audio? # PC speaker (synthesized) | |
197 | 197 | |||
198 | #pseudo-device cgd # cryptographic disk devices | 198 | #pseudo-device cgd # cryptographic disk devices | |
199 | pseudo-device md # memory disk device (ramdisk) | 199 | pseudo-device md # memory disk device (ramdisk) | |
200 | pseudo-device vnd # disk-like interface to files | 200 | pseudo-device vnd # disk-like interface to files | |
201 | #options VND_COMPRESSION # compressed vnd(4) | 201 | #options VND_COMPRESSION # compressed vnd(4) | |
202 | 202 | |||
203 | # network pseudo-devices | 203 | # network pseudo-devices | |
204 | pseudo-device bpfilter # Berkeley packet filter | 204 | pseudo-device bpfilter # Berkeley packet filter | |
205 | #pseudo-device carp # Common Address Redundancy Protocol | 205 | #pseudo-device carp # Common Address Redundancy Protocol | |
206 | #pseudo-device ipfilter # IP filter (firewall) and NAT | 206 | #pseudo-device ipfilter # IP filter (firewall) and NAT | |
207 | pseudo-device loop # network loopback | 207 | pseudo-device loop # network loopback |