Re: [patch 2.6.24-rc1] resource_len() utility function

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Brownell
Date: Wednesday, October 24, 2007 - 7:47 pm

On Wednesday 24 October 2007, Jeff Garzik wrote:

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 *".



Wouldn't it be nicer to have PCI use those dev_*() calls?
Ideally pci_request_region() wraps dev_request_region()...



Another minor nit:  addressing the various resource types.
The platform bus code has multiple lookup schemes. 

Calls like resource_iomap() might be more flexible, so that
lookup schemes can stay flexible.

- Dave
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 2.6.24-rc1] resource_len() utility function, David Brownell, (Wed Oct 24, 6:20 pm)
Re: [patch 2.6.24-rc1] resource_len() utility function, Jeff Garzik, (Wed Oct 24, 7:08 pm)
Re: [patch 2.6.24-rc1] resource_len() utility function, David Brownell, (Wed Oct 24, 7:39 pm)
Re: [patch 2.6.24-rc1] resource_len() utility function, David Brownell, (Wed Oct 24, 7:47 pm)
Re: [patch 2.6.24-rc1] resource_len() utility function, Jeff Garzik, (Wed Oct 24, 8:46 pm)
Re: [patch 2.6.24-rc1] resource_len() utility function, David Brownell, (Wed Oct 24, 9:38 pm)
Re: [patch 2.6.24-rc1] resource_len() utility function, David Brownell, (Thu Oct 25, 9:31 am)