Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79211
b: refs/heads/master
c: 9329f4e
h: refs/heads/master
i:
  79209: 298cf40
  79207: fb256fa
v: v3
  • Loading branch information
Robert P. J. Day authored and David S. Miller committed Jan 28, 2008
1 parent 62d076c commit 47aa386
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 67b3c27c8a8d8f81ffc3fe0afc0d805d66744d18
refs/heads/master: 9329f4e4d261bb026b53565e22b7fab1d2973cd0
4 changes: 2 additions & 2 deletions trunk/drivers/net/pcmcia/pcnet_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <linux/delay.h>
#include <linux/ethtool.h>
#include <linux/netdevice.h>
#include <linux/log2.h>
#include "../8390.h"

#include <pcmcia/cs_types.h>
Expand Down Expand Up @@ -1484,8 +1485,7 @@ static int setup_shmem_window(struct pcmcia_device *link, int start_pg,
window_size = 32 * 1024;

/* Make sure it's a power of two. */
while ((window_size & (window_size - 1)) != 0)
window_size += window_size & ~(window_size - 1);
window_size = roundup_pow_of_two(window_size);

/* Allocate a memory window */
req.Attributes = WIN_DATA_WIDTH_16|WIN_MEMORY_TYPE_CM|WIN_ENABLE;
Expand Down

0 comments on commit 47aa386

Please sign in to comment.