Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227915
b: refs/heads/master
c: 0980f2e
h: refs/heads/master
i:
  227913: 376a323
  227911: b417cb4
v: v3
  • Loading branch information
Stephen Hemminger committed Nov 1, 2010
1 parent d9c8d94 commit 418ba27
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 3644c1a2f12b15e1c8bfb9ebfaacbd177011a72d
refs/heads/master: 0980f2e8144ea0021a09be41176b736d76ca3db7
3 changes: 2 additions & 1 deletion trunk/drivers/staging/bcm/InterfaceInit.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ usbbcm_device_probe(struct usb_interface *intf, const struct usb_device_id *id)
PS_INTERFACE_ADAPTER psIntfAdapter;
struct net_device *ndev;

ndev = alloc_etherdev_mq(sizeof(MINI_ADAPTER), NO_OF_QUEUES);
/* Reserve one extra queue for the bit-bucket */
ndev = alloc_etherdev_mq(sizeof(MINI_ADAPTER), NO_OF_QUEUES+1);
if(ndev == NULL) {
dev_err(&udev->dev, DRV_NAME ": no memory for device\n");
return -ENOMEM;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/bcm/Macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ typedef enum _E_PHS_DSC_ACTION

#define FIRMWARE_BEGIN_ADDR 0xBFC00000

#define INVALID_QUEUE_INDEX (USHORT)-1
#define INVALID_QUEUE_INDEX (NO_OF_QUEUES+1)

#define INVALID_PID (pid_t)-1
#define DDR_80_MHZ 0
Expand Down

0 comments on commit 418ba27

Please sign in to comment.