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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Brownell <david-b@...>
Cc: Jeff Garzik <jeff@...>, Linux Kernel list <linux-kernel@...>, Andrew Morton <akpm@...>, Greg KH <greg@...>
Date: Thursday, October 25, 2007 - 8:29 am

> So you'd suggest having search utilities (as with platform_bus)

That seems a bad idea to me


Far better I think that pci_ functions that take BAR values end up as
wrappers of the form

	pci_iomap(pdev, bar)
		return dev_iomap_resource(&pdev->resource[bar]);

-
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, Alan Cox, (Thu Oct 25, 8:29 am)
Re: [patch 2.6.24-rc1] resource_len() utility function, David Brownell, (Thu Oct 25, 12:31 pm)