lkml.org 
[lkml]   [2007]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectpnp_assign_resources() issue
Adam,

I'm having some difficulty understanding why failure to probe for a resource
(in the given case, a DMA channel, but the issue is perhaps more generic) must
always result in failure of the probing of the requesting device. In any case,
the driver is required to call request_dma(), and in many cases the driver may
know how to deal with the device even if that call fails (in the given case,
parport_pc can be used as an example). Shouldn't therefore pnp_assign_dma()
be made never fail, and just mark the resource as unset/disabled if none of
the options were available? I realize drivers may not really look at these flags,
but I'd think this is a driver issue then and shouldn't keep the framework
from supporting as many different systems as possible.

Thanks, Jan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-12 10:33    [W:0.047 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site