lkml.org 
[lkml]   [2008]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sparse_irq aka dyn_irq v13
Mike Travis wrote:
>
> X was changed quite a while ago to domain/bus/dev/func, which was a lot easier to
> deal with than trying to "offset" the bus with domain * some large number + bus.
> Currently max nodes is 512 so it deserves it's own field. ;-)
>
> Btw, are you suggesting combining device and function? That might be inadvertently
> squeezing something that shouldn't be.
>

devfn = (device << 3) + function

It's a standard construct inside Linux.

-hpa


\
 
 \ /
  Last update: 2008-11-17 05:45    [W:0.270 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site