diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-05-26 16:35:42 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-09 12:17:32 -0400 |
commit | 5bcd7a00a464fd81b4b68847b9b811a635a15b61 (patch) | |
tree | f0930151f01b5b66c9a10cf3545db3f3172b7d15 /drivers/ata | |
parent | be5d82183f1ebb022f923b008acf3b760d3a571d (diff) |
[libata] sata_sil: register table cleanup
Make the register offset table more maintainable.
From the 'sii-lbt' branch, which enables the LBT chip feature.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/sata_sil.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ata/sata_sil.c b/drivers/ata/sata_sil.c index a3b339bcf3cf..c3f0a86cb735 100644 --- a/drivers/ata/sata_sil.c +++ b/drivers/ata/sata_sil.c | |||
@@ -262,8 +262,9 @@ static const struct { | |||
262 | unsigned long sfis_cfg; /* SATA FIS reception config register */ | 262 | unsigned long sfis_cfg; /* SATA FIS reception config register */ |
263 | } sil_port[] = { | 263 | } sil_port[] = { |
264 | /* port 0 ... */ | 264 | /* port 0 ... */ |
265 | { 0x80, 0x8A, 0x00, 0x10, 0x40, 0x100, 0x148, 0xb4, 0x14c }, | 265 | /* tf ctl bmdma bmdma2 fifo scr sien mode sfis */ |
266 | { 0xC0, 0xCA, 0x08, 0x18, 0x44, 0x180, 0x1c8, 0xf4, 0x1cc }, | 266 | { 0x80, 0x8A, 0x0, 0x10, 0x40, 0x100, 0x148, 0xb4, 0x14c }, |
267 | { 0xC0, 0xCA, 0x8, 0x18, 0x44, 0x180, 0x1c8, 0xf4, 0x1cc }, | ||
267 | { 0x280, 0x28A, 0x200, 0x210, 0x240, 0x300, 0x348, 0x2b4, 0x34c }, | 268 | { 0x280, 0x28A, 0x200, 0x210, 0x240, 0x300, 0x348, 0x2b4, 0x34c }, |
268 | { 0x2C0, 0x2CA, 0x208, 0x218, 0x244, 0x380, 0x3c8, 0x2f4, 0x3cc }, | 269 | { 0x2C0, 0x2CA, 0x208, 0x218, 0x244, 0x380, 0x3c8, 0x2f4, 0x3cc }, |
269 | /* ... port 3 */ | 270 | /* ... port 3 */ |