aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/pci/sgiioc4.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/ide/pci/sgiioc4.c b/drivers/ide/pci/sgiioc4.c
index dd634541ce36..8581789352aa 100644
--- a/drivers/ide/pci/sgiioc4.c
+++ b/drivers/ide/pci/sgiioc4.c
@@ -108,13 +108,6 @@ sgiioc4_init_hwif_ports(hw_regs_t * hw, unsigned long data_port,
108 hw->io_ports.irq_addr = irq_port; 108 hw->io_ports.irq_addr = irq_port;
109} 109}
110 110
111static void
112sgiioc4_maskproc(ide_drive_t * drive, int mask)
113{
114 writeb(ATA_DEVCTL_OBS | (mask ? 2 : 0),
115 (void __iomem *)drive->hwif->io_ports.ctl_addr);
116}
117
118static int 111static int
119sgiioc4_checkirq(ide_hwif_t * hwif) 112sgiioc4_checkirq(ide_hwif_t * hwif)
120{ 113{
@@ -563,8 +556,6 @@ static const struct ide_port_ops sgiioc4_port_ops = {
563 .set_dma_mode = sgiioc4_set_dma_mode, 556 .set_dma_mode = sgiioc4_set_dma_mode,
564 /* reset DMA engine, clear IRQs */ 557 /* reset DMA engine, clear IRQs */
565 .resetproc = sgiioc4_resetproc, 558 .resetproc = sgiioc4_resetproc,
566 /* mask on/off NIEN register */
567 .maskproc = sgiioc4_maskproc,
568}; 559};
569 560
570static const struct ide_dma_ops sgiioc4_dma_ops = { 561static const struct ide_dma_ops sgiioc4_dma_ops = {