[PATCH] remove awacs dmasound

2007-07-17 Thread Johannes Berg
This patch kills the obsolete awacs dmasound because it is in
the way of doing power management improvements since it uses
ancient API.

Signed-off-by: Johannes Berg [EMAIL PROTECTED]
Cc: Benjamin Herrenschmidt [EMAIL PROTECTED]
Cc: Adrian Bunk [EMAIL PROTECTED]

---
This patch contains only the patch for the first two files here, please
remove the other ones manually:

git rm -- sound/oss/dmasound/awacs_defs.h
git rm -- sound/oss/dmasound/dac3550a.c
git rm -- sound/oss/dmasound/dmasound_awacs.c
git rm -- sound/oss/dmasound/tas3001c.c
git rm -- sound/oss/dmasound/tas3001c.h
git rm -- sound/oss/dmasound/tas3001c_tables.c
git rm -- sound/oss/dmasound/tas3004.c
git rm -- sound/oss/dmasound/tas3004.h
git rm -- sound/oss/dmasound/tas3004_tables.c
git rm -- sound/oss/dmasound/tas_common.c
git rm -- sound/oss/dmasound/tas_common.h
git rm -- sound/oss/dmasound/tas_eq_prefs.h
git rm -- sound/oss/dmasound/tas_ioctl.h
git rm -- sound/oss/dmasound/trans_16.c

 sound/oss/dmasound/Kconfig   |   14 
 sound/oss/dmasound/Makefile  |6 
 sound/oss/dmasound/awacs_defs.h  |  251 --
 sound/oss/dmasound/dac3550a.c|  209 --
 sound/oss/dmasound/dmasound_awacs.c  | 3215 ---
 sound/oss/dmasound/tas3001c.c|  849 -
 sound/oss/dmasound/tas3001c.h|   64 
 sound/oss/dmasound/tas3001c_tables.c |  375 
 sound/oss/dmasound/tas3004.c | 1138 
 sound/oss/dmasound/tas3004.h |   77 
 sound/oss/dmasound/tas3004_tables.c  |  301 ---
 sound/oss/dmasound/tas_common.c  |  214 --
 sound/oss/dmasound/tas_common.h  |  284 ---
 sound/oss/dmasound/tas_eq_prefs.h|   24 
 sound/oss/dmasound/tas_ioctl.h   |   24 
 sound/oss/dmasound/trans_16.c|  898 -
 16 files changed, 7943 deletions(-)


--- wireless-dev.orig/sound/oss/dmasound/Makefile   2007-05-01 
11:35:44.664734191 +0200
+++ wireless-dev/sound/oss/dmasound/Makefile2007-05-01 11:36:26.054734191 
+0200
@@ -2,12 +2,6 @@
 # Makefile for the DMA sound driver
 #
 
-dmasound_pmac-y+= dmasound_awacs.o \
-  trans_16.o dac3550a.o tas_common.o \
-  tas3001c.o tas3001c_tables.o \
-  tas3004.o tas3004_tables.o
-
 obj-$(CONFIG_DMASOUND_ATARI)   += dmasound_core.o dmasound_atari.o
-obj-$(CONFIG_DMASOUND_PMAC)+= dmasound_core.o dmasound_pmac.o
 obj-$(CONFIG_DMASOUND_PAULA)   += dmasound_core.o dmasound_paula.o
 obj-$(CONFIG_DMASOUND_Q40) += dmasound_core.o dmasound_q40.o


___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: [PATCH] remove awacs dmasound

2007-07-17 Thread Adrian Bunk
On Tue, Jul 17, 2007 at 03:28:31PM +0200, Johannes Berg wrote:
 This patch kills the obsolete awacs dmasound because it is in
 the way of doing power management improvements since it uses
 ancient API.
 
 Signed-off-by: Johannes Berg [EMAIL PROTECTED]
 Cc: Benjamin Herrenschmidt [EMAIL PROTECTED]
 Cc: Adrian Bunk [EMAIL PROTECTED]
 
 ---
 This patch contains only the patch for the first two files here, please
 remove the other ones manually:
 
 git rm -- sound/oss/dmasound/awacs_defs.h
 git rm -- sound/oss/dmasound/dac3550a.c
 git rm -- sound/oss/dmasound/dmasound_awacs.c
 git rm -- sound/oss/dmasound/tas3001c.c
 git rm -- sound/oss/dmasound/tas3001c.h
 git rm -- sound/oss/dmasound/tas3001c_tables.c
 git rm -- sound/oss/dmasound/tas3004.c
 git rm -- sound/oss/dmasound/tas3004.h
 git rm -- sound/oss/dmasound/tas3004_tables.c
 git rm -- sound/oss/dmasound/tas_common.c
 git rm -- sound/oss/dmasound/tas_common.h
 git rm -- sound/oss/dmasound/tas_eq_prefs.h
 git rm -- sound/oss/dmasound/tas_ioctl.h
 git rm -- sound/oss/dmasound/trans_16.c
 
  sound/oss/dmasound/Kconfig   |   14 

That's not in your patch, most likely because it's already removed as 
scheduled.

  sound/oss/dmasound/Makefile  |6 
  sound/oss/dmasound/awacs_defs.h  |  251 --
  sound/oss/dmasound/dac3550a.c|  209 --
  sound/oss/dmasound/dmasound_awacs.c  | 3215 
 ---
  sound/oss/dmasound/tas3001c.c|  849 -
  sound/oss/dmasound/tas3001c.h|   64 
  sound/oss/dmasound/tas3001c_tables.c |  375 
  sound/oss/dmasound/tas3004.c | 1138 
  sound/oss/dmasound/tas3004.h |   77 
  sound/oss/dmasound/tas3004_tables.c  |  301 ---
  sound/oss/dmasound/tas_common.c  |  214 --
  sound/oss/dmasound/tas_common.h  |  284 ---
  sound/oss/dmasound/tas_eq_prefs.h|   24 
  sound/oss/dmasound/tas_ioctl.h   |   24 
  sound/oss/dmasound/trans_16.c|  898 -
  16 files changed, 7943 deletions(-)
...

The option is already removed from the Kconfig file, and the code 
removal is scheduled for 2.6.24. I'll take care of this (I'll send
a patch through Andrew).

cu
Adrian

-- 

   Is there not promise of rain? Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   Only a promise, Lao Er said.
   Pearl S. Buck - Dragon Seed

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev