Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135317
b: refs/heads/master
c: 316bea7
h: refs/heads/master
i:
  135315: 6b4ec09
v: v3
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jan 27, 2009
1 parent c7b7e19 commit b0cbeb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 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: fa755b9f2b03df1e0fa6d01b8949bbc778705973
refs/heads/master: 316bea79369334d11f8a6e22317a928d94c50ae5
10 changes: 0 additions & 10 deletions trunk/drivers/atm/solos-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ module_param(atmdebug, int, 0644);
module_param(firmware_upgrade, int, 0444);
module_param(fpga_upgrade, int, 0444);

static int opens;

static void fpga_queue(struct solos_card *card, int port, struct sk_buff *skb,
struct atm_vcc *vcc);
static int fpga_tx(struct solos_card *);
Expand Down Expand Up @@ -455,10 +453,6 @@ static int popen(struct atm_vcc *vcc)
set_bit(ATM_VF_READY, &vcc->flags);
list_vccs(0);

if (!opens)
iowrite32(1, card->config_regs + IRQ_EN_ADDR);

opens++; //count open PVCs

return 0;
}
Expand All @@ -484,8 +478,6 @@ static void pclose(struct atm_vcc *vcc)
fpga_queue(card, SOLOS_CHAN(vcc->dev), skb, NULL);

// dev_dbg(&card->dev->dev, "Close for vpi %d and vci %d on interface %d\n", vcc->vpi, vcc->vci, SOLOS_CHAN(vcc->dev));
if (!--opens)
iowrite32(0, card->config_regs + IRQ_EN_ADDR);

clear_bit(ATM_VF_ADDR, &vcc->flags);
clear_bit(ATM_VF_READY, &vcc->flags);
Expand Down Expand Up @@ -800,8 +792,6 @@ static int atm_init(struct solos_card *card)
{
int i;

opens = 0;

for (i = 0; i < card->nr_ports; i++) {
skb_queue_head_init(&card->tx_queue[i]);
skb_queue_head_init(&card->cli_queue[i]);
Expand Down

0 comments on commit b0cbeb2

Please sign in to comment.