Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756665AbYKQEnS (ORCPT ); Sun, 16 Nov 2008 23:43:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755988AbYKQEnH (ORCPT ); Sun, 16 Nov 2008 23:43:07 -0500 Received: from terminus.zytor.com ([198.137.202.10]:56999 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755878AbYKQEnG (ORCPT ); Sun, 16 Nov 2008 23:43:06 -0500 Message-ID: <4920F585.5090003@zytor.com> Date: Sun, 16 Nov 2008 20:39:33 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Mike Travis CC: Yinghai Lu , Benjamin Herrenschmidt , Andrew Morton , mingo@elte.hu, tglx@linutronix.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sparse_irq aka dyn_irq v13 References: <491434FB.2050904@kernel.org> <20081107124957.GA21709@elte.hu> <49168BD3.5010204@kernel.org> <20081109073813.GA17180@elte.hu> <86802c440811090003g5ac53822y852a4c1096228f8b@mail.gmail.com> <20081110094033.GL22392@elte.hu> <20081110015511.453a801e.akpm@linux-foundation.org> <4918065A.6050402@kernel.org> <20081110100329.GA19970@elte.hu> <491A9F87.8040403@kernel.org> <20081112120814.GG11352@elte.hu> <491C8B38.9060901@kernel.org> <20081113131850.d94fb229.akpm@linux-foundation.org> <1226869137.7178.175.camel@pasglop> <4920B069.5020203@kernel.org> <4920B15E.6090200@zytor.com> <4920CE21.1090202@sgi.com> In-Reply-To: <4920CE21.1090202@sgi.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 713 Lines: 20 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 -- 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/