Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135338
b: refs/heads/master
c: eab50f7
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jan 30, 2009
1 parent 12f1e63 commit 66cf6f0
Show file tree
Hide file tree
Showing 2 changed files with 5 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: cd5549e0f4b5129cdb7b02fbb6a559f78eda7f4c
refs/heads/master: eab50f73ca51384d8f17886edc7bbc9969b91c0e
6 changes: 4 additions & 2 deletions trunk/drivers/atm/solos-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1090,8 +1090,6 @@ static int fpga_probe(struct pci_dev *dev, const struct pci_device_id *id)
iowrite32(0, card->config_regs + FPGA_MODE);
data32 = ioread32(card->config_regs + FPGA_MODE);
}
//Set RX empty flags
iowrite32(0xF0, card->config_regs + FLAGS_ADDR);

data32 = ioread32(card->config_regs + FPGA_VER);
fpga_ver = (data32 & 0x0000FFFF);
Expand All @@ -1102,6 +1100,10 @@ static int fpga_probe(struct pci_dev *dev, const struct pci_device_id *id)

if (fpga_ver > 27)
card->using_dma = 1;
else {
/* Set RX empty flag for all ports */
iowrite32(0xF0, card->config_regs + FLAGS_ADDR);
}

card->nr_ports = 2; /* FIXME: Detect daughterboard */

Expand Down

0 comments on commit 66cf6f0

Please sign in to comment.