]> err.no Git - linux-2.6/commitdiff
[PATCH] orinoco: remove PCMCIA audio support, it's useless for wireless cards
authorPavel Roskin <proski@gnu.org>
Fri, 7 Apr 2006 08:10:21 +0000 (04:10 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Apr 2006 20:15:49 +0000 (16:15 -0400)
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco_cs.c
drivers/net/wireless/spectrum_cs.c

index 0e81312f0d43a5e5edd3fa949143eb3a6472f156..d2c48ac60f4658ebeebfb26be371fc1bbbe5365a 100644 (file)
@@ -231,12 +231,6 @@ orinoco_cs_config(struct pcmcia_device *link)
                        goto next_entry;
                link->conf.ConfigIndex = cfg->index;
 
-               /* Does this card need audio output? */
-               if (cfg->flags & CISTPL_CFTABLE_AUDIO) {
-                       link->conf.Attributes |= CONF_ENABLE_SPKR;
-                       link->conf.Status = CCSR_AUDIO_ENA;
-               }
-
                /* Use power settings for Vcc and Vpp if present */
                /* Note that the CIS values need to be rescaled */
                if (cfg->vcc.present & (1 << CISTPL_POWER_VNOM)) {
index a15c5d3361d8ffa2ff9262b7968f484b06e7bfa9..e5cb5329b436a11cd75301b51681ae81c64b8f27 100644 (file)
@@ -706,12 +706,6 @@ spectrum_cs_config(struct pcmcia_device *link)
                        goto next_entry;
                link->conf.ConfigIndex = cfg->index;
 
-               /* Does this card need audio output? */
-               if (cfg->flags & CISTPL_CFTABLE_AUDIO) {
-                       link->conf.Attributes |= CONF_ENABLE_SPKR;
-                       link->conf.Status = CCSR_AUDIO_ENA;
-               }
-
                /* Use power settings for Vcc and Vpp if present */
                /* Note that the CIS values need to be rescaled */
                if (cfg->vcc.present & (1 << CISTPL_POWER_VNOM)) {