]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: Use a valid enode-mac if none defined.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Fri, 23 Dec 2011 20:00:45 +0000 (12:00 -0800)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 9 May 2012 00:40:52 +0000 (17:40 -0700)
Original 'defaults' were not OUI valid.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
drivers/scsi/qla2xxx/qla_init.c

index 1fa067e053d2877fad3a175099d1b9a38da06d4f..c21080e5a24faf895e7a05d417f92e4afc69992d 100644 (file)
@@ -5248,9 +5248,9 @@ qla81xx_nvram_config(scsi_qla_host_t *vha)
        memcpy(icb->enode_mac, nv->enode_mac, sizeof(icb->enode_mac));
        /* Some boards (with valid NVRAMs) still have NULL enode_mac!! */
        if (!memcmp(icb->enode_mac, "\0\0\0\0\0\0", sizeof(icb->enode_mac))) {
-               icb->enode_mac[0] = 0x01;
-               icb->enode_mac[1] = 0x02;
-               icb->enode_mac[2] = 0x03;
+               icb->enode_mac[0] = 0x00;
+               icb->enode_mac[1] = 0xC0;
+               icb->enode_mac[2] = 0xDD;
                icb->enode_mac[3] = 0x04;
                icb->enode_mac[4] = 0x05;
                icb->enode_mac[5] = 0x06 + ha->port_no;