• Bartlomiej Zolnierkiewicz's avatar
    [ide] apply undecoded slave fixup only for ide-cs · dc3f1bf7
    Bartlomiej Zolnierkiewicz authored
    From: Alan Cox <alan@lxorguk.ukuu.org.uk>
    (some changes by me - bart)
    
    We add probe_hwif_init_with_fixup (seperate naming as requested by
    Bartlomiej). This runs a fixup on present interfaces before attaching
    the drives. In order to be useful we need also an _with_fixup version
    of ide_register_hw function. 
    
    The sometimes troublesome undecoded slave detector is moved to its own
    function and exported so that ide-cs and the upcoming delkin_cb can both
    use it (along with any arch specific cf/pcmcia drivers I don't know
    about). The non-relevant checks for this scenario are removed.
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    dc3f1bf7
ide.h 48.1 KB