Messages in this thread | | | Date | Sun, 16 Nov 2008 20:39:33 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [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
| |