diff options
author | Andres Salomon <dilinger@queued.net> | 2008-04-28 02:15:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 08:58:39 -0700 |
commit | f5c90e85dc77669a55fecfb593bb8e7f47374ee2 (patch) | |
tree | e33321b93005f2e0db1793f5c0c397cb386b4d28 /drivers/scsi/mac53c94.h | |
parent | 9286361beab8ef5c928ecb2bfefe68ab0176238b (diff) | |
download | blackbird-op-linux-f5c90e85dc77669a55fecfb593bb8e7f47374ee2.tar.gz blackbird-op-linux-f5c90e85dc77669a55fecfb593bb8e7f47374ee2.zip |
lxfb: clean up register definitions
- Rename various bitfield defines to match the data sheet names.
- Rename DF_ register definitions to VP_ to match the data sheet;
ie, DF_PAR -> VP_PAR.
- for GP/DC registers, rather than defining to specific addresses, use
an enum to number them sequentially and just multiply by 4 (bytes) to
access them (in read_*/write_* functions).
- for VP/FP registers, use an enum and multiple by 8 (bytes). They're
64bit registers.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/mac53c94.h')
0 files changed, 0 insertions, 0 deletions