X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Forion%2Ffiles%2Farch%2Farm%2Fmach-orion5x%2Fdt2-setup.c;h=8ff23f7dd8c8fd702823c0c572b75bdf4ffbb981;hb=3ba8ff7495f75650637d357d73f7429433cfe3db;hp=5ce2114460b915a13e9146b84b4b9a026e7e8750;hpb=c61e160c9341d9b3c5e084353ee0d6f2d525e617;p=openwrt-10.03%2F.git diff --git a/target/linux/orion/files/arch/arm/mach-orion5x/dt2-setup.c b/target/linux/orion/files/arch/arm/mach-orion5x/dt2-setup.c index 5ce211446..8ff23f7dd 100644 --- a/target/linux/orion/files/arch/arm/mach-orion5x/dt2-setup.c +++ b/target/linux/orion/files/arch/arm/mach-orion5x/dt2-setup.c @@ -294,7 +294,6 @@ static irqreturn_t dt2_power_handler(int irq, void *dev_id) static void __init dt2_init(void) { - DECLARE_MAC_BUF(mac_buf); /* * Setup basic Orion functions. Need to be called early. */ @@ -318,10 +317,10 @@ static void __init dt2_init(void) printk(KERN_INFO "Serial: %s\n", dt2_eeprom.fc.dt2_serial_number); printk(KERN_INFO "Revision: %016x\n", dt2_eeprom.fc.dt2_revision); - printk(KERN_INFO "DT2: Using MAC address %s for port 0\n", - print_mac(mac_buf, dt2_eeprom.gw.mac_addr[0])); - printk(KERN_INFO "DT2: Using MAC address %s for port 1\n", - print_mac(mac_buf, dt2_eeprom.gw.mac_addr[1])); + printk(KERN_INFO "DT2: Using MAC address %pM for port 0\n", + dt2_eeprom.gw.mac_addr[0]); + printk(KERN_INFO "DT2: Using MAC address %pM for port 1\n", + dt2_eeprom.gw.mac_addr[1]); orion5x_eth_init(&dt2_eth_data); memcpy(dt2_eth_data.mac_addr, dt2_eeprom.gw.mac_addr[0], 6);