diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-28 12:12:06 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-12-07 16:23:24 -0500 |
commit | e15c1c1f3f903f679c9782b540f9d52c80c99610 (patch) | |
tree | dc7c18f9f783b0f1c689e5ddd3ae7873421912eb /drivers/net/pcmcia | |
parent | 6ec22f9b037fc0c2e00ddb7023fad279c365324d (diff) |
pcmcia: remove unused IRQ_FIRST_SHARED
Komuro pointed out that IRQ_FIRST_SHARED is not used at all in the
PCMCIA subsystem, so remove it. Also, remove two bogus assignments.
CC: Karsten Keil <keil@b1-systems.de>
CC: netdev@vger.kernel.org
CC: alsa-devel@alsa-project.org
CC: Komuro <komurojun-mbn@nifty.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/net/pcmcia')
-rw-r--r-- | drivers/net/pcmcia/axnet_cs.c | 2 | ||||
-rw-r--r-- | drivers/net/pcmcia/fmvj18x_cs.c | 2 | ||||
-rw-r--r-- | drivers/net/pcmcia/pcnet_cs.c | 2 | ||||
-rw-r--r-- | drivers/net/pcmcia/smc91c92_cs.c | 2 | ||||
-rw-r--r-- | drivers/net/pcmcia/xirc2ps_cs.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c index 800597b82d18..cb2ce03bd681 100644 --- a/drivers/net/pcmcia/axnet_cs.c +++ b/drivers/net/pcmcia/axnet_cs.c | |||
@@ -270,7 +270,7 @@ static int try_io_port(struct pcmcia_device *link) | |||
270 | /* for master/slave multifunction cards */ | 270 | /* for master/slave multifunction cards */ |
271 | link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; | 271 | link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; |
272 | link->irq.Attributes = | 272 | link->irq.Attributes = |
273 | IRQ_TYPE_DYNAMIC_SHARING|IRQ_FIRST_SHARED; | 273 | IRQ_TYPE_DYNAMIC_SHARING; |
274 | } | 274 | } |
275 | } else { | 275 | } else { |
276 | /* This should be two 16-port windows */ | 276 | /* This should be two 16-port windows */ |
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c index 6e3e1ced6db4..fc5a890ba0a9 100644 --- a/drivers/net/pcmcia/fmvj18x_cs.c +++ b/drivers/net/pcmcia/fmvj18x_cs.c | |||
@@ -426,7 +426,7 @@ static int fmvj18x_config(struct pcmcia_device *link) | |||
426 | 426 | ||
427 | if (link->io.NumPorts2 != 0) { | 427 | if (link->io.NumPorts2 != 0) { |
428 | link->irq.Attributes = | 428 | link->irq.Attributes = |
429 | IRQ_TYPE_DYNAMIC_SHARING|IRQ_FIRST_SHARED; | 429 | IRQ_TYPE_DYNAMIC_SHARING; |
430 | ret = mfc_try_io_port(link); | 430 | ret = mfc_try_io_port(link); |
431 | if (ret != 0) goto failed; | 431 | if (ret != 0) goto failed; |
432 | } else if (cardtype == UNGERMANN) { | 432 | } else if (cardtype == UNGERMANN) { |
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c index cbe462ed221f..f41fbcc34327 100644 --- a/drivers/net/pcmcia/pcnet_cs.c +++ b/drivers/net/pcmcia/pcnet_cs.c | |||
@@ -490,7 +490,7 @@ static int try_io_port(struct pcmcia_device *link) | |||
490 | /* for master/slave multifunction cards */ | 490 | /* for master/slave multifunction cards */ |
491 | link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; | 491 | link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; |
492 | link->irq.Attributes = | 492 | link->irq.Attributes = |
493 | IRQ_TYPE_DYNAMIC_SHARING|IRQ_FIRST_SHARED; | 493 | IRQ_TYPE_DYNAMIC_SHARING; |
494 | } | 494 | } |
495 | } else { | 495 | } else { |
496 | /* This should be two 16-port windows */ | 496 | /* This should be two 16-port windows */ |
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index 9e0da370912e..49185c3c1201 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -454,7 +454,7 @@ static int mhz_mfc_config(struct pcmcia_device *link) | |||
454 | link->conf.Attributes |= CONF_ENABLE_SPKR; | 454 | link->conf.Attributes |= CONF_ENABLE_SPKR; |
455 | link->conf.Status = CCSR_AUDIO_ENA; | 455 | link->conf.Status = CCSR_AUDIO_ENA; |
456 | link->irq.Attributes = | 456 | link->irq.Attributes = |
457 | IRQ_TYPE_DYNAMIC_SHARING|IRQ_FIRST_SHARED; | 457 | IRQ_TYPE_DYNAMIC_SHARING; |
458 | link->io.IOAddrLines = 16; | 458 | link->io.IOAddrLines = 16; |
459 | link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; | 459 | link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; |
460 | link->io.NumPorts2 = 8; | 460 | link->io.NumPorts2 = 8; |
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c index fe504b7f369f..55fa5ca245d1 100644 --- a/drivers/net/pcmcia/xirc2ps_cs.c +++ b/drivers/net/pcmcia/xirc2ps_cs.c | |||
@@ -841,7 +841,7 @@ xirc2ps_config(struct pcmcia_device * link) | |||
841 | link->conf.Attributes |= CONF_ENABLE_SPKR; | 841 | link->conf.Attributes |= CONF_ENABLE_SPKR; |
842 | link->conf.Status |= CCSR_AUDIO_ENA; | 842 | link->conf.Status |= CCSR_AUDIO_ENA; |
843 | } | 843 | } |
844 | link->irq.Attributes |= IRQ_TYPE_DYNAMIC_SHARING|IRQ_FIRST_SHARED ; | 844 | link->irq.Attributes |= IRQ_TYPE_DYNAMIC_SHARING; |
845 | link->io.NumPorts2 = 8; | 845 | link->io.NumPorts2 = 8; |
846 | link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; | 846 | link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; |
847 | if (local->dingo) { | 847 | if (local->dingo) { |