diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2007-02-07 18:17:37 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-07 18:17:37 +0100 |
commit | e139b0b02fd35a68c4353db34d3380c8a7c9a90d (patch) | |
tree | d1765408ccea13b30478dd8b386c5b83e5ae4b23 /drivers/ide/pci/hpt34x.c | |
parent | 0670afdf0e69e5e73c8358da9c39bf3a8807b03e (diff) | |
download | kernel_samsung_smdk4412-e139b0b02fd35a68c4353db34d3380c8a7c9a90d.zip kernel_samsung_smdk4412-e139b0b02fd35a68c4353db34d3380c8a7c9a90d.tar.gz kernel_samsung_smdk4412-e139b0b02fd35a68c4353db34d3380c8a7c9a90d.tar.bz2 |
hpt366: rework rate filtering
- Rework hpt3xx_ratemask() and hpt3xx_ratefilter() so that the former
returns the max. mode computed at the load time and doesn't have to do
bad Ultra33 drive list lookups anymore; remove the duplicate code from
the latter function. Move the quirky drive list lookup into
hpt3xx_quirkproc() where it should have been from the start...
- Disable UltraATA/100 for HPT370 by default as the 33 MHz ATA clock
being used does not allow for it, and this *greatly* increases the
transfer speed.
- Save some space by using byte-wide fields in struct hpt_info; switch to
reading the 8-bit PCI revision ID reg. only, not the whole 32-bit reg.
- Start incrementing the driver version number with each patch (should
have been done from the first one posted).
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/hpt34x.c')
0 files changed, 0 insertions, 0 deletions