aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/pcnet_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/pcnet_cs.c')
-rw-r--r--drivers/net/pcmcia/pcnet_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c
index 518b094c9f6d..d06a0ce7cb89 100644
--- a/drivers/net/pcmcia/pcnet_cs.c
+++ b/drivers/net/pcmcia/pcnet_cs.c
@@ -317,7 +317,7 @@ static hw_info_t *get_hwinfo(struct pcmcia_device *link)
317 req.Attributes = WIN_DATA_WIDTH_8|WIN_MEMORY_TYPE_AM|WIN_ENABLE; 317 req.Attributes = WIN_DATA_WIDTH_8|WIN_MEMORY_TYPE_AM|WIN_ENABLE;
318 req.Base = 0; req.Size = 0; 318 req.Base = 0; req.Size = 0;
319 req.AccessSpeed = 0; 319 req.AccessSpeed = 0;
320 i = pcmcia_request_window(&link, &req, &link->win); 320 i = pcmcia_request_window(link, &req, &link->win);
321 if (i != 0) 321 if (i != 0)
322 return NULL; 322 return NULL;
323 323
@@ -1491,7 +1491,7 @@ static int setup_shmem_window(struct pcmcia_device *link, int start_pg,
1491 req.Attributes |= WIN_USE_WAIT; 1491 req.Attributes |= WIN_USE_WAIT;
1492 req.Base = 0; req.Size = window_size; 1492 req.Base = 0; req.Size = window_size;
1493 req.AccessSpeed = mem_speed; 1493 req.AccessSpeed = mem_speed;
1494 ret = pcmcia_request_window(&link, &req, &link->win); 1494 ret = pcmcia_request_window(link, &req, &link->win);
1495 if (ret) 1495 if (ret)
1496 goto failed; 1496 goto failed;
1497 1497