Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364107
b: refs/heads/master
c: c71b2e5
h: refs/heads/master
i:
  364105: bed0125
  364103: edd52c2
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent 9262463 commit 5404332
Show file tree
Hide file tree
Showing 2 changed files with 4 additions 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: 8b46d7da7f5e869a39b81c3d2193e88b1b52fc99
refs/heads/master: c71b2e52a0fb895ad709dbe8caec3dfd2a612c04
13 changes: 3 additions & 10 deletions trunk/drivers/staging/comedi/drivers/cb_pcidas64.c
Original file line number Diff line number Diff line change
Expand Up @@ -4061,16 +4061,9 @@ static int auto_attach(struct comedi_device *dev,
devpriv->dio_counter_phys_iobase =
pci_resource_start(pcidev, 3);

/* remap, won't work with 2.0 kernels but who cares */
devpriv->plx9080_iobase =
ioremap(devpriv->plx9080_phys_iobase,
pci_resource_len(pcidev, 0));
devpriv->main_iobase =
ioremap(devpriv->main_phys_iobase,
pci_resource_len(pcidev, 2));
devpriv->dio_counter_iobase =
ioremap(devpriv->dio_counter_phys_iobase,
pci_resource_len(pcidev, 3));
devpriv->plx9080_iobase = pci_ioremap_bar(pcidev, 0);
devpriv->main_iobase = pci_ioremap_bar(pcidev, 2);
devpriv->dio_counter_iobase = pci_ioremap_bar(pcidev, 3);

if (!devpriv->plx9080_iobase || !devpriv->main_iobase
|| !devpriv->dio_counter_iobase) {
Expand Down

0 comments on commit 5404332

Please sign in to comment.