On Thursday 25 October 2007, Alan Cox wrote:
> > So you'd suggest having search utilities (as with platform_bus)
> > returning resource indices not resources?
>
> That seems a bad idea to me
I'm assuming you mean they should continue to work like they
do today: return the resource. Your pseudoc
> So you'd suggest having search utilities (as with platform_bus)
> returning resource indices not resources?
That seems a bad idea to me
> Thing is, BARs are usually well defined, but when folk glue
> resources together they use whatever order is convenient on
> that particular platform. And di
On Wednesday 24 October 2007, Jeff Garzik wrote:
> >> Then a dev_iomap() analogue to pci_iomap() should be pretty
> >> straightforward to create.
> >
> > Another minor nit: addressing the various resource types.
> > The platform bus code has multiple lookup schemes.
> >
> > Calls like resource
David Brownell wrote:
On Wednesday 24 October 2007, Jeff Garzik wrote:
With regards to resource reservation... IMO we should mimic struct
pci_dev and add struct resource[] to struct device.
One minor difficulty: PCI has a limit on the number of BARs,
but other busses don't. It'd be better a
On Wednesday 24 October 2007, Jeff Garzik wrote:
> With regards to resource reservation... IMO we should mimic struct
> pci_dev and add struct resource[] to struct device.
One minor difficulty: PCI has a limit on the number of BARs,
but other busses don't. It'd be better as a "struct resource
On Wednesday 24 October 2007, Alan Cox wrote:
> On Wed, 24 Oct 2007 18:20:52 -0700
> David Brownell <[EMAIL PROTECTED]> wrote:
>
> > Add a new resource_len() function, so drivers can start using this
> > instead of driver-private code for a common idiom. The call can be
> > useful with at least:
Alan Cox wrote:
On Wed, 24 Oct 2007 18:20:52 -0700
David Brownell <[EMAIL PROTECTED]> wrote:
Add a new resource_len() function, so drivers can start using this
instead of driver-private code for a common idiom. The call can be
useful with at least:
- request_region(), release_region()
- req
On Wed, 24 Oct 2007 18:20:52 -0700
David Brownell <[EMAIL PROTECTED]> wrote:
> Add a new resource_len() function, so drivers can start using this
> instead of driver-private code for a common idiom. The call can be
> useful with at least:
>
> - request_region(), release_region()
> - request_me
Add a new resource_len() function, so drivers can start using this
instead of driver-private code for a common idiom. The call can be
useful with at least:
- request_region(), release_region()
- request_mem_region(), release_mem_region()
- ioremap()
Candidate drivers include those using platf
9 matches
Mail list logo