Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13611
b: refs/heads/master
c: 385023c
h: refs/heads/master
i:
  13609: 7c97dfc
  13607: 892817f
v: v3
  • Loading branch information
Ashutosh Naik authored and Jeff Garzik committed Nov 9, 2005
1 parent e425fae commit 190c68f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 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: 6d3874844f3279f170dca5339b8a94d6f1868425
refs/heads/master: 385023cb8972971540d17c92baf0132693955f5f
16 changes: 7 additions & 9 deletions trunk/drivers/net/dgrs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,7 @@ MODULE_PARM_DESC(nicmode, "Digi RightSwitch operating mode (1: switch, 2: multi-
static int __init dgrs_init_module (void)
{
int i;
int eisacount = 0, pcicount = 0;
int cardcount = 0;

/*
* Command line variable overrides
Expand Down Expand Up @@ -1591,15 +1591,13 @@ static int __init dgrs_init_module (void)
* Find and configure all the cards
*/
#ifdef CONFIG_EISA
eisacount = eisa_driver_register(&dgrs_eisa_driver);
if (eisacount < 0)
return eisacount;
#endif
#ifdef CONFIG_PCI
pcicount = pci_register_driver(&dgrs_pci_driver);
if (pcicount)
return pcicount;
cardcount = eisa_driver_register(&dgrs_eisa_driver);
if (cardcount < 0)
return cardcount;
#endif
cardcount = pci_register_driver(&dgrs_pci_driver);
if (cardcount)
return cardcount;
return 0;
}

Expand Down

0 comments on commit 190c68f

Please sign in to comment.