Re: New topic (PowerPC Linux PCI HELL)

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Sep 18 2000 - 06:11:34 EDT

  • Next message: Sebastian Willing: "Problems with bzImage (?)"

    > All I wanted was a function that allows the driver to decide that which
    > needs to be enabled.
    >
    > pci_enable_device(struct pci_dev *dev, byte enable_mask)
    >
    > This would allow drivers to enable that which it needs and not weird out
    > the hardware that does not like all of this extra fluff.

    Sounds not too daft

    static inline int pci_enable_device(struct pci_device *dev)
    {
            return pci_enable_device_features(USE_IO|USE_MM);
    }

    and then just go and turn the existing enable_device into enable_device_Features ?

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Mon Sep 18 2000 - 06:23:37 EDT