Commit e9967b6c authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Jeff Garzik

[PATCH] Handle an old acenic card

Hi Jes.  I really do have a Rev. 5 card, and it works much better treated
as a Tigon I than as a Tigon II.
parent e2b22293
...@@ -1209,8 +1209,9 @@ static int __init ace_init(struct net_device *dev) ...@@ -1209,8 +1209,9 @@ static int __init ace_init(struct net_device *dev)
switch(tig_ver){ switch(tig_ver){
#ifndef CONFIG_ACENIC_OMIT_TIGON_I #ifndef CONFIG_ACENIC_OMIT_TIGON_I
case 4: case 4:
printk(KERN_INFO " Tigon I (Rev. 4), Firmware: %i.%i.%i, ", case 5:
tigonFwReleaseMajor, tigonFwReleaseMinor, printk(KERN_INFO " Tigon I (Rev. %i), Firmware: %i.%i.%i, ",
tig_ver, tigonFwReleaseMajor, tigonFwReleaseMinor,
tigonFwReleaseFix); tigonFwReleaseFix);
writel(0, &regs->LocalCtrl); writel(0, &regs->LocalCtrl);
ap->version = 1; ap->version = 1;
...@@ -1235,7 +1236,7 @@ static int __init ace_init(struct net_device *dev) ...@@ -1235,7 +1236,7 @@ static int __init ace_init(struct net_device *dev)
break; break;
default: default:
printk(KERN_WARNING " Unsupported Tigon version detected " printk(KERN_WARNING " Unsupported Tigon version detected "
"(%i), ", tig_ver); "(%i)\n", tig_ver);
ecode = -ENODEV; ecode = -ENODEV;
goto init_error; goto init_error;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment