this patch contains some minor cleanups for Serverworks IDE driver:
- udma_modes array in svwks_tune_chipset() function is
meaningless (lists 0,1,2,3,4,5). Removed;
- same function, variable drive_pci2 == drive_pci + 4, no
need to assign it in the switch statement;
- removed some unneeded initializations of local vars;
- svwks_proc variable moved into #ifdef DISPLAY_SVWKS_TIMING
where it must live.
Compiles, but untested. Please consider applyiing.
-- Andrey Panin | Embedded systems software engineer firstname.lastname@example.org | PGP key: wwwkeys.eu.pgp.net
This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:21 EST