diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2012-02-09 14:15:35 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 09:12:02 -0500 |
commit | 69e5f1ea61a3e84c03103c6a18ee9cacef4cbb9e (patch) | |
tree | c5c4f7c0112ff93c79a819d6e63d4a6b2afde03a /drivers/scsi/qla2xxx | |
parent | 6246b8a1d26c7cdb77fd2f3f3578d4db025d5c9e (diff) |
[SCSI] qla2xxx: Use a valid enode-mac if none defined.
Original 'defaults' were not OUI valid.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 38d865911ee..e5b417aa9fc 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -5255,9 +5255,9 @@ qla81xx_nvram_config(scsi_qla_host_t *vha) | |||
5255 | memcpy(icb->enode_mac, nv->enode_mac, sizeof(icb->enode_mac)); | 5255 | memcpy(icb->enode_mac, nv->enode_mac, sizeof(icb->enode_mac)); |
5256 | /* Some boards (with valid NVRAMs) still have NULL enode_mac!! */ | 5256 | /* Some boards (with valid NVRAMs) still have NULL enode_mac!! */ |
5257 | if (!memcmp(icb->enode_mac, "\0\0\0\0\0\0", sizeof(icb->enode_mac))) { | 5257 | if (!memcmp(icb->enode_mac, "\0\0\0\0\0\0", sizeof(icb->enode_mac))) { |
5258 | icb->enode_mac[0] = 0x01; | 5258 | icb->enode_mac[0] = 0x00; |
5259 | icb->enode_mac[1] = 0x02; | 5259 | icb->enode_mac[1] = 0xC0; |
5260 | icb->enode_mac[2] = 0x03; | 5260 | icb->enode_mac[2] = 0xDD; |
5261 | icb->enode_mac[3] = 0x04; | 5261 | icb->enode_mac[3] = 0x04; |
5262 | icb->enode_mac[4] = 0x05; | 5262 | icb->enode_mac[4] = 0x05; |
5263 | icb->enode_mac[5] = 0x06 + ha->port_no; | 5263 | icb->enode_mac[5] = 0x06 + ha->port_no; |