aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ibm_newemac/tah.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ibm_newemac/tah.c b/drivers/net/ibm_newemac/tah.c
index f161fb100e8e..6e35cbe15931 100644
--- a/drivers/net/ibm_newemac/tah.c
+++ b/drivers/net/ibm_newemac/tah.c
@@ -116,13 +116,14 @@ static int __devinit tah_probe(struct of_device *ofdev,
116 goto err_free; 116 goto err_free;
117 } 117 }
118 118
119 dev_set_drvdata(&ofdev->dev, dev);
120
119 /* Initialize TAH and enable IPv4 checksum verification, no TSO yet */ 121 /* Initialize TAH and enable IPv4 checksum verification, no TSO yet */
120 tah_reset(ofdev); 122 tah_reset(ofdev);
121 123
122 printk(KERN_INFO 124 printk(KERN_INFO
123 "TAH %s initialized\n", ofdev->node->full_name); 125 "TAH %s initialized\n", ofdev->node->full_name);
124 wmb(); 126 wmb();
125 dev_set_drvdata(&ofdev->dev, dev);
126 127
127 return 0; 128 return 0;
128 129