commit | dc5e44ec6f75d493df484728587b00b87a233482 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Tue Oct 11 19:52:31 2011 +0200 |
committer | Jeff Garzik <jgarzik@redhat.com> | Fri Oct 14 13:07:18 2011 -0400 |
tree | 1c2c86410c3398d925d68965d83f310447dff062 | |
parent | f6b56696b974a7d6d55f98ebcfb0a1099696fc2e [diff] |
pata_hpt366: add hpt36x_find_mode() helper Factor out code for finding the register programming information from hpt366_set_mode() to hpt36x_find_mode(). This makes pata_hpt366 driver more similar to pata_{37x,3x2n} ones. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>