sata_inic162x: kill now unused SFF related stuff
authorTejun Heo <htejun@gmail.com>
Wed, 30 Apr 2008 07:35:15 +0000 (16:35 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 6 May 2008 15:40:56 +0000 (11:40 -0400)
commitf8b0685a8ea8e3974f8953378ede2111f8d49d22
tree31df41c54ae8c31b82cfaa0d11c8818876d89284
parentb3f677e501a494aa1582d4ff35fb3ac6f0a59b08
sata_inic162x: kill now unused SFF related stuff

sata_inic162x now doesn't use any SFF features.  Remove all SFF
related stuff.

* Mask unsolicited ATA interrupts.  This removes our primary source of
  spurious interrupts and spurious interrupt handling can be tightened
  up.  There's no need to clear ATA interrupts by reading status
  register either.

* Don't dance with IDMA_CTL_ATA_NIEN and simplify accesses to
  IDMA_CTL.

* Inherit from sata_port_ops instead of ata_sff_port_ops.

* Don't initialize or use ioaddr.  There's no need to map BAR0-4
  anymore.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_inic162x.c