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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Cox <alan@...>
Cc: David Brownell <david-b@...>, Linux Kernel list <linux-kernel@...>, Andrew Morton <akpm@...>, Greg KH <greg@...>
Date: Wednesday, October 24, 2007 - 10:08 pm

Alan Cox wrote:


With regards to resource reservation...  IMO we should mimic struct 
pci_dev and add struct resource[] to struct device.

Just like we have pci_request_regions(), we should also be able to 
easily to a dev_request_regions().  the implementation should be very 
close to pci_request_region() and pci_release_region().

Then a dev_iomap() analogue to pci_iomap() should be pretty 
straightforward to create.

	Jeff


-
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)