palm_bk3710: those registers/bitfields don't exist
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 23 Apr 2009 20:53:43 +0000 (22:53 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 23 Apr 2009 20:53:43 +0000 (22:53 +0200)
commitfbd24ead9f8e3521d910ad0dc61d51d53b238ec5
treeb012121015315c30b84ffec1cfe47e69612e9477
parent5440f04583c3c0292784642ac3b80c068ff7a9be
palm_bk3710: those registers/bitfields don't exist

Bugfixes noted by checking the code against the controller
documentation (TI document number SPRUE21):

 - Remove declarations for eight non-existent registers (!);
   and remove accesses to two of them.

 - Remove access to various non-existent bitfields in some of
   the registers which *do* exist (those fields must-be-zero).

 - Provide comment to replace bogus reset logic (removed above,
   it relied on non-existent bitfields).  Resets require GPIO
   help; this driver doesn't currently know about that.

With some minor cleanup:  relocate a comment, avoid an extra
lookup of the PIO timings.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/palm_bk3710.c