Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mac68k/obio Avoid attaching on the Mac TV, as this ...
details: https://anonhg.NetBSD.org/src/rev/d48bdead0897
branches: trunk
changeset: 494143:d48bdead0897
user: scottr <scottr%NetBSD.org@localhost>
date: Sun Jul 02 21:10:14 2000 +0000
description:
Avoid attaching on the Mac TV, as this system seems to not be
completely backward compatible to the II-series sound hardware.
diffstat:
sys/arch/mac68k/obio/asc.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r d60ce8f801d3 -r d48bdead0897 sys/arch/mac68k/obio/asc.c
--- a/sys/arch/mac68k/obio/asc.c Sun Jul 02 21:05:41 2000 +0000
+++ b/sys/arch/mac68k/obio/asc.c Sun Jul 02 21:10:14 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asc.c,v 1.37 2000/06/29 08:15:14 mrg Exp $ */
+/* $NetBSD: asc.c,v 1.38 2000/07/02 21:10:14 scottr Exp $ */
/*
* Copyright (C) 1997 Scott Reynolds
@@ -125,6 +125,8 @@
if (oa->oa_addr != (-1))
addr = (bus_addr_t)oa->oa_addr;
+ else if (current_mac_model->machineid == MACH_MACTV)
+ return 0;
else if (current_mac_model->machineid == MACH_MACIIFX)
addr = (bus_addr_t)MAC68K_IIFX_ASC_BASE;
else
Home |
Main Index |
Thread Index |
Old Index