Re: [PATCH] PCI: Add pci_assign_resource_fixed -- allow fixed address assignments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Apr 27, 2006, at 5:34 PM, Andrew Morton wrote:

Kumar Gala <[email protected]> wrote:

On some embedded systems the PCI address for hotplug devices are not only known a priori but are required to be at a given PCI address for other
master in the system to be able to access.

An example of such a system would be an FPGA which is setup from user space after the system has booted. The FPGA may be access by DSPs in the system
and those DSPs expect the FPGA at a fixed PCI address.

Added pci_assign_resource_fixed() as a way to allow assignment of the PCI
devices's BARs at fixed PCI addresses.

Is there any sane way in which we can arrange for this function to not be
present in vmlinux's which don't need it?

Options would be

a) Put it in a .a file.

   - messy from a source perspective

   - doesn't work if the only reference is from a module

   - small gains anyway.

b) Use CONFIG_EMBEDDED.

I'm fine with wrapping it in a CONFIG_EMBEDDED, Greg?

- k
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux