From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e3.ny.us.ibm.com (e3.ny.us.ibm.com [32.97.182.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e3.ny.us.ibm.com", Issuer "Equifax" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 80FA1DDE45 for ; Fri, 31 Aug 2007 06:36:39 +1000 (EST) Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e3.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7UKaYhw030363 for ; Thu, 30 Aug 2007 16:36:34 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l7UKaY4h673690 for ; Thu, 30 Aug 2007 16:36:34 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l7UKaXPw026697 for ; Thu, 30 Aug 2007 16:36:34 -0400 Message-ID: <46D72A4E.6060106@austin.ibm.com> Date: Thu, 30 Aug 2007 15:36:30 -0500 From: Joel Schopp MIME-Version: 1.0 To: Joachim Fenkes Subject: Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Thomas Q Klein , Jan-Bernd Themann , Paul Mackerras , LKML , LinuxPPC-Dev , Christoph Raisch , Nathan Lynch , Paul Mackerras , Stefan Roscher List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > There are currently two GX devices, eHCA and eHEA, which both reside > beneath the root node - this is required by architecture for those > devices. Unless they invent a device called > "supercalifragilisticexpialidocious", devices in the root note will have a > full_name of less than 31 chars. Even in that case, the truncation occurs > at the beginning, so the @xxx part that makes the nodes unique will stay > in place. > OK, didn't realize it had to be beneath the root node, and that the truncation truncated the front and not the back. I would have done it differently, but this should work. Acked-by: Joel Schopp From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761258AbXH3Ugp (ORCPT ); Thu, 30 Aug 2007 16:36:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752953AbXH3Ugg (ORCPT ); Thu, 30 Aug 2007 16:36:36 -0400 Received: from e4.ny.us.ibm.com ([32.97.182.144]:44590 "EHLO e4.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751226AbXH3Ugf (ORCPT ); Thu, 30 Aug 2007 16:36:35 -0400 Message-ID: <46D72A4E.6060106@austin.ibm.com> Date: Thu, 30 Aug 2007 15:36:30 -0500 From: Joel Schopp User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Joachim Fenkes CC: Nathan Lynch , Christoph Raisch , Jan-Bernd Themann , LKML , LinuxPPC-Dev , Paul Mackerras , Paul Mackerras , Stefan Roscher , Thomas Q Klein Subject: Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > There are currently two GX devices, eHCA and eHEA, which both reside > beneath the root node - this is required by architecture for those > devices. Unless they invent a device called > "supercalifragilisticexpialidocious", devices in the root note will have a > full_name of less than 31 chars. Even in that case, the truncation occurs > at the beginning, so the @xxx part that makes the nodes unique will stay > in place. > OK, didn't realize it had to be beneath the root node, and that the truncation truncated the front and not the back. I would have done it differently, but this should work. Acked-by: Joel Schopp