Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35109
b: refs/heads/master
c: e1c3e50
h: refs/heads/master
i:
  35107: ab3c8a8
v: v3
  • Loading branch information
Henrik Kretzschmar authored and Jeff Garzik committed Jul 29, 2006
1 parent 06c7e28 commit 44fc0d8
Show file tree
Hide file tree
Showing 2 changed files with 5 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: a8bed49ecfb47a40cc401f5ec7c9a8a38098e728
refs/heads/master: e1c3e5014040869abd6ef2cdf987e7c74cb40ada
12 changes: 4 additions & 8 deletions trunk/drivers/net/tulip/uli526x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1702,7 +1702,6 @@ MODULE_PARM_DESC(mode, "ULi M5261/M5263: Bit 0: 10/100Mbps, bit 2: duplex, bit 8

static int __init uli526x_init_module(void)
{
int rc;

printk(version);
printed_version = 1;
Expand All @@ -1714,22 +1713,19 @@ static int __init uli526x_init_module(void)
if (cr6set)
uli526x_cr6_user_set = cr6set;

switch(mode) {
switch (mode) {
case ULI526X_10MHF:
case ULI526X_100MHF:
case ULI526X_10MFD:
case ULI526X_100MFD:
uli526x_media_mode = mode;
break;
default:uli526x_media_mode = ULI526X_AUTO;
default:
uli526x_media_mode = ULI526X_AUTO;
break;
}

rc = pci_module_init(&uli526x_driver);
if (rc < 0)
return rc;

return 0;
return pci_register_driver(&uli526x_driver);
}


Expand Down

0 comments on commit 44fc0d8

Please sign in to comment.