• Bartlomiej Zolnierkiewicz's avatar
    [ide] remove pci_disable_device() calls from setup-pci.c and sgiioc4.c · 791ad0d8
    Bartlomiej Zolnierkiewicz authored
    On Mon, 03 Jan 2005 21:44:33 +0000, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
    >
    > Different PCI functions are but nothing requires that the PCI function
    > that is the IDE controller is only the IDE controller. In some cases
    > other logic lives in the "spare" BAR register areas of the device.
    >
    > One example where the weird design makes it obvious is the CS5520. Here
    > the 5520 bridge has the IDE in one BAR and all sorts of other logic
    > (including the xBUS virtual ISA environment) in the same PCI function.
    > On that chip a pci_disable_device on the IDE pci_dev turns off mundane
    > things like the timer chips keyboard and mouse 8).
    >
    > Other vendors do equally evil things and providing the chip reports IDE
    > class and has the IDE BARs set up nobody else is any the wiser and
    > presumably gate count goes down.
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    791ad0d8
setup-pci.c 23.6 KB