Messages in this thread | | | Date | Sat, 7 Aug 1999 02:27:43 +0200 | From | Martin Mares <> | Subject | Re: New resources - pls, explain :-( |
| |
Hello,
> Either it tries to allocate too much (everything), or not enough. The > basic problem is that it really isn't how a driver works. > > It can cerainly be thought of as a _helper_ function for one specific > common case, but it cannot and should not be thought upon as the > fundamental form of resource allocation. If a driver wants to just > allocate the ports by hand, that makes in my opinion as much if not more > sense than to call a "acquire_pci_dev" thing.
In case of usual PCI devices using functions properly allocating all the regions is just enough. For the other cases, drivers should be allowed to allocate the resources on their own. Okay?
Have a nice fortnight -- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth "Error: Compiler unable to abort!"
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |