Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754611AbbK0Lp5 (ORCPT ); Fri, 27 Nov 2015 06:45:57 -0500 Received: from mx2.suse.de ([195.135.220.15]:50226 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751646AbbK0Lpz (ORCPT ); Fri, 27 Nov 2015 06:45:55 -0500 Subject: Re: [PATCH 1/2] Save SMBIOS Type 9 System Slots during DMI Scan From: Jean Delvare To: Jordan Hargrave Cc: linux-kernel In-Reply-To: <1448616337.4934.68.camel@chaos.site> References: <1447884134-31504-1-git-send-email-Jordan_Hargrave@dell.com> <20151125124743.6919eb43@endymion.delvare> <20151126092654.3519cef4@endymion.delvare> <1448616337.4934.68.camel@chaos.site> Content-Type: text/plain; charset="UTF-8" Organization: Suse Linux Date: Fri, 27 Nov 2015 12:45:52 +0100 Message-ID: <1448624752.4934.88.camel@chaos.site> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 872 Lines: 20 Le Friday 27 November 2015 à 10:25 +0100, Jean Delvare a écrit : > Also note that the SMBIOS specification says that the segment/bus/devfn > fields should be ffs for non-PCI-like slots. dmidecode decodes these > fields regardless of the type, but that is incorrect (although not much > of an issue in practice I suppose as PCI rules the world.) Correction... dmidecode checks that fields aren't all ffs, and if not, decodes the segment/bus/devfn. Apparently I decided it was easier to do it that way than to check the slot type. Even if it does not follow the specification stricto sensu. -- Jean Delvare SUSE L3 Support -- 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/