Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258427
b: refs/heads/master
c: 781223a
h: refs/heads/master
i:
  258425: 0af8083
  258423: 976c394
v: v3
  • Loading branch information
Sergei Shtylyov authored and David S. Miller committed Jul 23, 2011
1 parent 07f2540 commit f666987
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: ccbae55e1c6dc18e95d72c044cf9345ea08abf7b
refs/heads/master: 781223a15c510b4cb11328603bfc41ec8352f015
5 changes: 1 addition & 4 deletions trunk/drivers/net/wan/sbni.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ sbni_pci_probe( struct net_device *dev )
!= NULL ) {
int pci_irq_line;
unsigned long pci_ioaddr;
u16 subsys;

if( pdev->vendor != SBNI_PCI_VENDOR &&
pdev->device != SBNI_PCI_DEVICE )
Expand All @@ -314,9 +313,7 @@ sbni_pci_probe( struct net_device *dev )

/* Avoid already found cards from previous calls */
if( !request_region( pci_ioaddr, SBNI_IO_EXTENT, dev->name ) ) {
pci_read_config_word( pdev, PCI_SUBSYSTEM_ID, &subsys );

if (subsys != 2)
if (pdev->subsystem_device != 2)
continue;

/* Dual adapter is present */
Expand Down

0 comments on commit f666987

Please sign in to comment.