Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279020
b: refs/heads/master
c: bf684f6
h: refs/heads/master
v: v3
  • Loading branch information
Bjorn Helgaas authored and David S. Miller committed Dec 19, 2011
1 parent 7c37a1b commit 2e52947
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: bc12d289e10afe0205738af30883853ed0ab6883
refs/heads/master: bf684f6512223673aa78b62ea59df8be409c460d
9 changes: 2 additions & 7 deletions trunk/drivers/net/ethernet/dec/tulip/de4x5.c
Original file line number Diff line number Diff line change
Expand Up @@ -2127,14 +2127,9 @@ srom_search(struct net_device *dev, struct pci_dev *pdev)
u_long iobase = 0; /* Clear upper 32 bits in Alphas */
int i, j;
struct de4x5_private *lp = netdev_priv(dev);
struct list_head *walk;

list_for_each(walk, &pdev->bus_list) {
struct pci_dev *this_dev = pci_dev_b(walk);

/* Skip the pci_bus list entry */
if (list_entry(walk, struct pci_bus, devices) == pdev->bus) continue;
struct pci_dev *this_dev;

list_for_each_entry(this_dev, &pdev->bus->devices, bus_list) {
vendor = this_dev->vendor;
device = this_dev->device << 8;
if (!(is_DC21040 || is_DC21041 || is_DC21140 || is_DC2114x)) continue;
Expand Down

0 comments on commit 2e52947

Please sign in to comment.