mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
ide: remove QUIRK_LIST()
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
2fc5738819
commit
cd3dbc99da
3 changed files with 4 additions and 8 deletions
|
@ -189,12 +189,6 @@ void SELECT_MASK (ide_drive_t *drive, int mask)
|
|||
HWIF(drive)->maskproc(drive, mask);
|
||||
}
|
||||
|
||||
void QUIRK_LIST (ide_drive_t *drive)
|
||||
{
|
||||
if (HWIF(drive)->quirkproc)
|
||||
drive->quirk_list = HWIF(drive)->quirkproc(drive);
|
||||
}
|
||||
|
||||
/*
|
||||
* Some localbus EIDE interfaces require a special access sequence
|
||||
* when using 32-bit I/O instructions to transfer data. We call this
|
||||
|
|
|
@ -234,7 +234,10 @@ static inline void do_identify (ide_drive_t *drive, u8 cmd)
|
|||
|
||||
drive->media = ide_disk;
|
||||
printk("%s DISK drive\n", (id->config == 0x848a) ? "CFA" : "ATA" );
|
||||
QUIRK_LIST(drive);
|
||||
|
||||
if (hwif->quirkproc)
|
||||
drive->quirk_list = hwif->quirkproc(drive);
|
||||
|
||||
return;
|
||||
|
||||
err_misc:
|
||||
|
|
|
@ -964,7 +964,6 @@ extern u32 ide_read_24(ide_drive_t *);
|
|||
extern void SELECT_DRIVE(ide_drive_t *);
|
||||
extern void SELECT_INTERRUPT(ide_drive_t *);
|
||||
extern void SELECT_MASK(ide_drive_t *, int);
|
||||
extern void QUIRK_LIST(ide_drive_t *);
|
||||
|
||||
extern int drive_is_ready(ide_drive_t *);
|
||||
|
||||
|
|
Loading…
Reference in a new issue