diff options
Diffstat (limited to 'drivers/ide/legacy/ht6560b.c')
-rw-r--r-- | drivers/ide/legacy/ht6560b.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/ide/legacy/ht6560b.c b/drivers/ide/legacy/ht6560b.c index c48e87e512d3..19ccd006f205 100644 --- a/drivers/ide/legacy/ht6560b.c +++ b/drivers/ide/legacy/ht6560b.c | |||
@@ -143,16 +143,16 @@ static void ht6560b_selectproc (ide_drive_t *drive) | |||
143 | current_timing = timing; | 143 | current_timing = timing; |
144 | if (drive->media != ide_disk || !drive->present) | 144 | if (drive->media != ide_disk || !drive->present) |
145 | select |= HT_PREFETCH_MODE; | 145 | select |= HT_PREFETCH_MODE; |
146 | (void) HWIF(drive)->INB(HT_CONFIG_PORT); | 146 | (void)inb(HT_CONFIG_PORT); |
147 | (void) HWIF(drive)->INB(HT_CONFIG_PORT); | 147 | (void)inb(HT_CONFIG_PORT); |
148 | (void) HWIF(drive)->INB(HT_CONFIG_PORT); | 148 | (void)inb(HT_CONFIG_PORT); |
149 | (void) HWIF(drive)->INB(HT_CONFIG_PORT); | 149 | (void)inb(HT_CONFIG_PORT); |
150 | HWIF(drive)->OUTB(select, HT_CONFIG_PORT); | 150 | outb(select, HT_CONFIG_PORT); |
151 | /* | 151 | /* |
152 | * Set timing for this drive: | 152 | * Set timing for this drive: |
153 | */ | 153 | */ |
154 | HWIF(drive)->OUTB(timing, IDE_SELECT_REG); | 154 | outb(timing, IDE_SELECT_REG); |
155 | (void) HWIF(drive)->INB(IDE_STATUS_REG); | 155 | (void)inb(IDE_STATUS_REG); |
156 | #ifdef DEBUG | 156 | #ifdef DEBUG |
157 | printk("ht6560b: %s: select=%#x timing=%#x\n", | 157 | printk("ht6560b: %s: select=%#x timing=%#x\n", |
158 | drive->name, select, timing); | 158 | drive->name, select, timing); |