Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81013
b: refs/heads/master
c: 6a90579
h: refs/heads/master
i:
  81011: c036194
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Dec 11, 2007
1 parent 2a76f38 commit ac7660b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 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: 7a73bd7f06dad5c466c5f3a4712696a3932a428b
refs/heads/master: 6a9057933421126ef8265c15b8220c015865b1eb
19 changes: 1 addition & 18 deletions trunk/arch/powerpc/platforms/iseries/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ void __init iSeries_pci_final_fixup(void)
}

++num_dev;
pdev->sysdata = (void *)node;
pdev->sysdata = node;
PCI_DN(node)->pcidev = pdev;
allocate_device_bars(pdev);
iSeries_Device_Information(pdev, num_dev);
Expand All @@ -223,23 +223,6 @@ void __init iSeries_pci_final_fixup(void)
mf_display_src(0xC9000200);
}

#if 0
/*
* Returns the device node for the passed pci_dev
* Sanity Check Node PciDev to passed pci_dev
* If none is found, returns a NULL which the client must handle.
*/
static struct device_node *get_device_node(struct pci_dev *pdev)
{
struct device_node *node;

node = pdev->sysdata;
if (node == NULL || PCI_DN(node)->pcidev != pdev)
node = find_device_node(pdev->bus->number, pdev->devfn);
return node;
}
#endif

/*
* Config space read and write functions.
* For now at least, we look for the device node for the bus and devfn
Expand Down

0 comments on commit ac7660b

Please sign in to comment.