Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193802
b: refs/heads/master
c: e270299
h: refs/heads/master
v: v3
  • Loading branch information
Amit Kumar Salecha authored and David S. Miller committed Mar 29, 2010
1 parent 0f59f5c commit e64c6c4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 10c0f2a852a529eacf2f223bbaef47832224a521
refs/heads/master: e270299a2f7a3040fe598113f74c2a7d5f63b582
10 changes: 10 additions & 0 deletions trunk/drivers/net/netxen/netxen_nic_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,16 @@ netxen_load_firmware(struct netxen_adapter *adapter)

flashaddr += 8;
}

size = (__force u32)nx_get_fw_size(adapter) % 8;
if (size) {
data = cpu_to_le64(ptr64[i]);

if (adapter->pci_mem_write(adapter,
flashaddr, data))
return -EIO;
}

} else {
u64 data;
u32 hi, lo;
Expand Down

0 comments on commit e64c6c4

Please sign in to comment.