diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-07-26 17:58:12 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 20:39:52 +0200 |
commit | d68f4321357165346fb15ef41dbbf9dce7894f29 (patch) | |
tree | 81511511970607a4f7fb0ffb6e9b470df769991e /Documentation/scsi | |
parent | [SCSI] advansys: Remove pci_slot_info (diff) | |
download | linux-d68f4321357165346fb15ef41dbbf9dce7894f29.tar.xz linux-d68f4321357165346fb15ef41dbbf9dce7894f29.zip |
[SCSI] advansys: use memcpy instead of open-coded loop
Use memcpy to initialise eep_config instead of a loop. For
AdvInitFrom38C1600EEP where we need to modify the default EEPROM
configuration, do it after the loop, and do it using the structure
definition, not by finding the right byte. I think it was wrong for
big-endian machines.
Also delete some non-useful comments and prototypes.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'Documentation/scsi')
0 files changed, 0 insertions, 0 deletions