From: Sergei Shtylyov Date: Wed, 7 Feb 2007 17:18:05 +0000 (+0100) Subject: hpt366: cache channel's MCR address X-Git-Tag: v2.6.21-rc2~42^2~7^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc4ad4c6b3c6a51a0aa633e3d3fbc80b0ecabfe;p=pandora-kernel.git hpt366: cache channel's MCR address Begin the real driver redesign. For the starters: - cache the offset of the IDE channel's MISC. control registers which are used throughout the driver in hwif->select_data; - only touch the relevant MCR when detecting the cable type on HPT374's function 1; - make HPT36x's speedproc handler look the same way as HPT37x ones; fix the PIO timing register mask for HPT37x. - rename all the HPT3xx register related variables consistently; clean up the whitespace. Signed-off-by: Sergei Shtylyov Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed