[PATCH 1/2] pcmcia: remove unused IRQ_FIRST_SHARED

Komuro komurojun-mbn at nifty.com
Wed Dec 30 05:51:14 EST 2009


 Hi,
 
 In drivers/net/pcmcia/smc91c92_cs.c,
 one IRQ_FIRST_SHARED is not removed yet.
 
 (1)
 static int osi_config(struct pcmcia_device *link)
 {
     struct net_device *dev = link->priv;
     static const unsigned int com[4] = { 0x3f8, 0x2f8, 0x3e8, 0x2e8 };
     int i, j;
 
     link->conf.Attributes |= CONF_ENABLE_SPKR;
     link->conf.Status = CCSR_AUDIO_ENA;
     link->irq.Attributes =
         IRQ_TYPE_DYNAMIC_SHARING|IRQ_FIRST_SHARED;    <== HERE
 
 
 (2)
 static int mhz_mfc_config(struct pcmcia_device *link)
 {
     struct net_device *dev = link->priv;
     struct smc_private *smc = netdev_priv(dev);
     win_req_t req;
     memreq_t mem;
     int i;
 
     link->conf.Attributes |= CONF_ENABLE_SPKR;
     link->conf.Status = CCSR_AUDIO_ENA;
 -    link->irq.Attributes =
 -        IRQ_TYPE_DYNAMIC_SHARING;                  <== It should be one line?
 
      
 +    link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING;





More information about the linux-pcmcia mailing list