diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/b43/pcmcia.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ray_cs.c | 8 |
2 files changed, 1 insertions, 10 deletions
diff --git a/drivers/net/wireless/b43/pcmcia.c b/drivers/net/wireless/b43/pcmcia.c index ffe1f89d5f72..dfbc41d431ff 100644 --- a/drivers/net/wireless/b43/pcmcia.c +++ b/drivers/net/wireless/b43/pcmcia.c | |||
@@ -76,8 +76,7 @@ static int __devinit b43_pcmcia_probe(struct pcmcia_device *dev) | |||
76 | dev->conf.Attributes = CONF_ENABLE_IRQ; | 76 | dev->conf.Attributes = CONF_ENABLE_IRQ; |
77 | dev->conf.IntType = INT_MEMORY_AND_IO; | 77 | dev->conf.IntType = INT_MEMORY_AND_IO; |
78 | 78 | ||
79 | win.Attributes = WIN_ADDR_SPACE_MEM | WIN_MEMORY_TYPE_CM | | 79 | win.Attributes = WIN_ENABLE | WIN_DATA_WIDTH_16 | |
80 | WIN_ENABLE | WIN_DATA_WIDTH_16 | | ||
81 | WIN_USE_WAIT; | 80 | WIN_USE_WAIT; |
82 | win.Base = 0; | 81 | win.Base = 0; |
83 | win.Size = SSB_CORE_SIZE; | 82 | win.Size = SSB_CORE_SIZE; |
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 7eb339af351b..a860bce6849b 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -785,7 +785,6 @@ static void ray_release(struct pcmcia_device *link) | |||
785 | { | 785 | { |
786 | struct net_device *dev = link->priv; | 786 | struct net_device *dev = link->priv; |
787 | ray_dev_t *local = netdev_priv(dev); | 787 | ray_dev_t *local = netdev_priv(dev); |
788 | int i; | ||
789 | 788 | ||
790 | dev_dbg(&link->dev, "ray_release\n"); | 789 | dev_dbg(&link->dev, "ray_release\n"); |
791 | 790 | ||
@@ -794,13 +793,6 @@ static void ray_release(struct pcmcia_device *link) | |||
794 | iounmap(local->sram); | 793 | iounmap(local->sram); |
795 | iounmap(local->rmem); | 794 | iounmap(local->rmem); |
796 | iounmap(local->amem); | 795 | iounmap(local->amem); |
797 | /* Do bother checking to see if these succeed or not */ | ||
798 | i = pcmcia_release_window(link, local->amem_handle); | ||
799 | if (i != 0) | ||
800 | dev_dbg(&link->dev, "ReleaseWindow(local->amem) ret = %x\n", i); | ||
801 | i = pcmcia_release_window(link, local->rmem_handle); | ||
802 | if (i != 0) | ||
803 | dev_dbg(&link->dev, "ReleaseWindow(local->rmem) ret = %x\n", i); | ||
804 | pcmcia_disable_device(link); | 796 | pcmcia_disable_device(link); |
805 | 797 | ||
806 | dev_dbg(&link->dev, "ray_release ending\n"); | 798 | dev_dbg(&link->dev, "ray_release ending\n"); |