Re: [RFC][PATCH 1/4] PCI legacy I/O port free driver - Introduce pci_set_bar_mask*()

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

 



Kenji Kaneshige <[email protected]> wrote:
>
> This patch introduces a new interface pci_select_resource() for PCI
>  device drivers to tell kernel what resources they want to use.

It'd be nice if we didn't need to introduce any new API functions for this.
If we could just do:

struct pci_something pci_something_table[] = {
	...
	{
		...
		.dont_allocate_io_space = 1,
		...
	},
	...
};

within each driver which wants it.

But I can't think of a suitable per-device-id structure with which we can
do that :(

-
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