Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364108
b: refs/heads/master
c: 81d985a
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent 5404332 commit c0ec8b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: c71b2e52a0fb895ad709dbe8caec3dfd2a612c04
refs/heads/master: 81d985a11e9a51eb88ddea98df8d60bfdda7cafb
10 changes: 2 additions & 8 deletions trunk/drivers/staging/comedi/drivers/cb_pcidas64.c
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,6 @@ struct ext_clock_info {
/* this structure is for data unique to this hardware driver. */
struct pcidas64_private {
/* base addresses (physical) */
resource_size_t plx9080_phys_iobase;
resource_size_t main_phys_iobase;
resource_size_t dio_counter_phys_iobase;
/* base addresses (ioremapped) */
Expand Down Expand Up @@ -4053,13 +4052,8 @@ static int auto_attach(struct comedi_device *dev,
/* Initialize dev->board_name */
dev->board_name = thisboard->name;

dev->iobase = pci_resource_start(pcidev, 2);

devpriv->plx9080_phys_iobase =
pci_resource_start(pcidev, 0);
devpriv->main_phys_iobase = dev->iobase;
devpriv->dio_counter_phys_iobase =
pci_resource_start(pcidev, 3);
devpriv->main_phys_iobase = pci_resource_start(pcidev, 2);
devpriv->dio_counter_phys_iobase = pci_resource_start(pcidev, 3);

devpriv->plx9080_iobase = pci_ioremap_bar(pcidev, 0);
devpriv->main_iobase = pci_ioremap_bar(pcidev, 2);
Expand Down

0 comments on commit c0ec8b8

Please sign in to comment.