]> Git Repo - J-u-boot.git/commitdiff
net: ne2000: Move dev_addr variable from grobal to local.
authorNobuhiro Iwamatsu <[email protected]>
Tue, 17 Jun 2008 04:07:11 +0000 (13:07 +0900)
committerBen Warren <[email protected]>
Sun, 6 Jul 2008 07:23:44 +0000 (00:23 -0700)
Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
Signed-off-by: Ben Warren <[email protected]>
drivers/net/ne2000.c

index eab3dd5d2f3331e48f475421666284285d1bff82..ec92485cbe78794423aff5e71ae623369f588a97 100644 (file)
@@ -758,8 +758,6 @@ static hw_info_t hw_info[] = {
 
 #define NR_INFO                (sizeof(hw_info)/sizeof(hw_info_t))
 
-u8 dev_addr[6];
-
 #define PCNET_CMD      0x00
 #define PCNET_DATAPORT 0x10    /* NatSemi-defined port window offset. */
 #define PCNET_RESET    0x1f    /* Issue a read to reset, a write to clear. */
@@ -877,6 +875,7 @@ void uboot_push_tx_done(int key, int val) {
 
 int eth_init(bd_t *bd) {
        int r;
+       u8 dev_addr[6];
        char ethaddr[20];
 
        PRINTK("### eth_init\n");
This page took 0.036469 seconds and 4 git commands to generate.