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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff Garzik <jeff@...>
Cc: Alan Cox <alan@...>, Linux Kernel list <linux-kernel@...>, Andrew Morton <akpm@...>, Greg KH <greg@...>
Date: Wednesday, October 24, 2007 - 10: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, 9:20 pm)
Re: [patch 2.6.24-rc1] resource_len() utility function, David Brownell, (Wed Oct 24, 10:39 pm)
Re: [patch 2.6.24-rc1] resource_len() utility function, Jeff Garzik, (Wed Oct 24, 10:08 pm)
Re: [patch 2.6.24-rc1] resource_len() utility function, David Brownell, (Wed Oct 24, 10:47 pm)
Re: [patch 2.6.24-rc1] resource_len() utility function, Jeff Garzik, (Wed Oct 24, 11:46 pm)
Re: [patch 2.6.24-rc1] resource_len() utility function, David Brownell, (Thu Oct 25, 12:38 am)
Re: [patch 2.6.24-rc1] resource_len() utility function, David Brownell, (Thu Oct 25, 12:31 pm)