Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/conf Remove legacy comment regarding the ins...



details:   https://anonhg.NetBSD.org/src/rev/bfc8cd6ceff0
branches:  trunk
changeset: 830055:bfc8cd6ceff0
user:      sevan <sevan%NetBSD.org@localhost>
date:      Sat Feb 24 18:58:00 2018 +0000

description:
Remove legacy comment regarding the instability of awacs(4)
Enable awacs(4), skipping MAMBO config as it is for an emulator.

>From <macallan>
"that warning about the awacs driver making some
machines lock up can probably go. It's ancient and I've never seen it
actually happen, I have several oldish macs with different awacs
variants and it's enabled in all my configs. In fact it predates my
macppc interrupt cleanup ( I think I did that in 2005 or so ) and I
strongly suspect that fixed the problem.
( the ancient code didn't properly distinguish between edge and level
triggered interrupts on grand central / heathrow type hardware, IIRC it
always just checked the level register(s) which resulted in edge
triggered interrupts being missed or misdetected. Most of the mac-io
goop from that time uses edge triggered interrupts, which includes
awacs )

If this actually happens to anyone I'd like to know about it"

diffstat:

 sys/arch/macppc/conf/GENERIC     |  10 +++-------
 sys/arch/macppc/conf/GENERIC_601 |   8 ++------
 sys/arch/macppc/conf/MAMBO       |   6 +-----
 3 files changed, 6 insertions(+), 18 deletions(-)

diffs (83 lines):

diff -r 464865f657f2 -r bfc8cd6ceff0 sys/arch/macppc/conf/GENERIC
--- a/sys/arch/macppc/conf/GENERIC      Sat Feb 24 17:12:10 2018 +0000
+++ b/sys/arch/macppc/conf/GENERIC      Sat Feb 24 18:58:00 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.342 2018/02/23 03:04:01 sevan Exp $
+# $NetBSD: GENERIC,v 1.343 2018/02/24 18:58:00 sevan Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.342 $"
+#ident                 "GENERIC-$Revision: 1.343 $"
 
 maxusers       32
 
@@ -389,11 +389,7 @@
 zstty* at zsc? channel ?
 mediabay* at obio?
 wdc*   at mediabay? flags 0
-# awacs is disabled because on most systems (7300 - 9600 PowerMacs,
-# many kinds of G4s), very heavy load can cause the machine to lock
-# up. ONLY enable this if your machine is never under heavy load, or
-# you'd rather have audio than worry about occasional lockups.
-#awacs*        at obio?                        # Apple audio device
+awacs* at obio?                        # Apple audio device
 ki2c*  at obio?                        # Keywest I2C
 ki2c*  at uni_n?                       # Keywest I2C
 iic*   at ki2c?
diff -r 464865f657f2 -r bfc8cd6ceff0 sys/arch/macppc/conf/GENERIC_601
--- a/sys/arch/macppc/conf/GENERIC_601  Sat Feb 24 17:12:10 2018 +0000
+++ b/sys/arch/macppc/conf/GENERIC_601  Sat Feb 24 18:58:00 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC_601,v 1.18 2018/02/23 03:04:01 sevan Exp $
+# $NetBSD: GENERIC_601,v 1.19 2018/02/24 18:58:00 sevan Exp $
 #
 # GENERIC machine description file
 # 
@@ -28,7 +28,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-ident          "GENERIC-$Revision: 1.18 $"
+ident          "GENERIC-$Revision: 1.19 $"
 
 maxusers       32
 
@@ -264,10 +264,6 @@
 zsc*   at obio?
 zstty* at zsc? channel ?
 
-# awacs is disabled because on most systems (7300 - 9600 PowerMacs,
-# many kinds of G4s), very heavy load can cause the machine to lock
-# up. ONLY enable this if your machine is never under heavy load, or
-# you'd rather have audio than worry about occasional lockups.
 awacs* at obio?                        # Apple audio device
 
 # Cryptographic Devices
diff -r 464865f657f2 -r bfc8cd6ceff0 sys/arch/macppc/conf/MAMBO
--- a/sys/arch/macppc/conf/MAMBO        Sat Feb 24 17:12:10 2018 +0000
+++ b/sys/arch/macppc/conf/MAMBO        Sat Feb 24 18:58:00 2018 +0000
@@ -6,7 +6,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.29 $"
+#ident                 "GENERIC-$Revision: 1.30 $"
 
 maxusers       32
 
@@ -138,10 +138,6 @@
 
 # PCI serial interfaces
 nvram* at obio?                        # nvram
-# awacs is disabled because on most systems (7300 - 9600 PowerMacs,
-# many kinds of G4s), very heavy load can cause the machine to lock
-# up. ONLY enable this if your machine is never under heavy load, or
-# you'd rather have audio than worry about occasional lockups.
 #awacs*        at obio?                        # Apple audio device
 #ki2c* at obio?                        # Keywest I2C
 wi*    at obio?                        # AirMac



Home | Main Index | Thread Index | Old Index