• Hanna V. Linder's avatar
    [PATCH] zr36120.c: Convert pci_find_device to pci_dev_present · 13e1da92
    Hanna V. Linder authored
    --On Thursday, September 30, 2004 10:27:48 AM +0200 Gerd Knorr <kraxel@bytesex.org> wrote:
    >> The whole driver is CONFIG_BROKEN anyway... I only verified my changes
    >> didn't add new compiler errors. What part should I remove? Just this check?
    >
    > pci/quirks.c does these checks and sets the flags.
    > Replacing with a check for "pci_pci_problems & PCIPCI_TRITON" should do.
    >
    > bttv does simliar things in bttv_check_chipset() (bttv-cards.c),
    > you might want to have a look there ...
    >
    
    Thanks a lot for your help. Is this what you were thinking?
    Signed-off-by: default avatarHanna Linder <hannal@us.ibm.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    13e1da92
zr36120.c 53.7 KB