Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193925
b: refs/heads/master
c: 0bc92b5
h: refs/heads/master
i:
  193923: d3c02a7
v: v3
  • Loading branch information
Amit Kumar Salecha authored and David S. Miller committed Apr 3, 2010
1 parent 48f0ccb commit 32b3d45
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: 4e4f10f6498bc5038c0a110b5f21682fcb5578d7
refs/heads/master: 0bc92b5b4987ab55f2b75ef42251476b2e049e3d
10 changes: 10 additions & 0 deletions trunk/drivers/net/qlcnic/qlcnic_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,16 @@ qlcnic_load_firmware(struct qlcnic_adapter *adapter)

flashaddr += 8;
}

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

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

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

0 comments on commit 32b3d45

Please sign in to comment.