Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309481
b: refs/heads/master
c: b4bd8ad
h: refs/heads/master
i:
  309479: d75326b
v: v3
  • Loading branch information
David Woodhouse authored and David S. Miller committed May 24, 2012
1 parent 35c3a7b commit 89e8090
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: f935f3f8a567d3d2531886e901ed0db183092abe
refs/heads/master: b4bd8ad9bb311e8536f726f7a633620ccd358cde
4 changes: 3 additions & 1 deletion trunk/drivers/atm/solos-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,7 @@ static uint32_t fpga_tx(struct solos_card *card)
} else if (skb && card->using_dma) {
SKB_CB(skb)->dma_addr = pci_map_single(card->dev, skb->data,
skb->len, PCI_DMA_TODEVICE);
card->tx_skb[port] = skb;
iowrite32(SKB_CB(skb)->dma_addr,
card->config_regs + TX_DMA_ADDR(port));
}
Expand Down Expand Up @@ -1152,7 +1153,8 @@ static int fpga_probe(struct pci_dev *dev, const struct pci_device_id *id)
db_fpga_upgrade = db_firmware_upgrade = 0;
}

if (card->fpga_version >= DMA_SUPPORTED){
if (card->fpga_version >= DMA_SUPPORTED) {
pci_set_master(dev);
card->using_dma = 1;
} else {
card->using_dma = 0;
Expand Down

0 comments on commit 89e8090

Please sign in to comment.