projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6246b8a
)
[SCSI] qla2xxx: Use a valid enode-mac if none defined.
author
Andrew Vasquez
<andrew.vasquez@qlogic.com>
Thu, 9 Feb 2012 19:15:35 +0000
(11:15 -0800)
committer
James Bottomley
<JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:12:02 +0000
(08:12 -0600)
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>
drivers/scsi/qla2xxx/qla_init.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_init.c
b/drivers/scsi/qla2xxx/qla_init.c
index 38d865911ee4cf4d09fc7c85e016a9774aedc617..e5b417aa9fca508294b403f207f995812d863de7 100644
(file)
--- 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)
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] = 0x0
1
;
- icb->enode_mac[1] = 0x
02
;
- icb->enode_mac[2] = 0x
03
;
+ icb->enode_mac[0] = 0x0
0
;
+ icb->enode_mac[1] = 0x
C0
;
+ icb->enode_mac[2] = 0x
DD
;
icb->enode_mac[3] = 0x04;
icb->enode_mac[4] = 0x05;
icb->enode_mac[5] = 0x06 + ha->port_no;