lkml.org 
[lkml]   [1999]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:1.314 / U:0.076 seconds]
©2003-2014 Jasper Spaans. Advertise on this site