lkml.org 
[lkml]   [2008]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 0/3] Add API for weak DMA masks
From
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Thu, 1 May 2008 17:29:13 +0100

> We have tons of drivers that go
>
> try and set 64bit
> oh failed
> try and set 32 bit
> oh worked
>
> When what most actually want is "set it no more than this wide" - a
> request or even a "pci_set_best_mask()" type idea.
>
> Lots less code duplication.

Agreed, it's a templated construct and it belongs in one
spot.


\
 
 \ /
  Last update: 2008-05-01 23:43    [W:0.052 / U:1.192 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site