Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761756AbXIZSxW (ORCPT ); Wed, 26 Sep 2007 14:53:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754797AbXIZSxL (ORCPT ); Wed, 26 Sep 2007 14:53:11 -0400 Received: from andromeda.dapyr.net ([206.212.254.10]:42198 "EHLO andromeda.dapyr.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756780AbXIZSxK (ORCPT ); Wed, 26 Sep 2007 14:53:10 -0400 X-Greylist: delayed 361 seconds by postgrey-1.27 at vger.kernel.org; Wed, 26 Sep 2007 14:53:09 EDT Date: Wed, 26 Sep 2007 14:46:52 -0400 From: Konrad Rzeszutek To: linux-kernel@vger.kernel.org Cc: pjones@redhat.com, konradr@redhat.com, konradr@linux.vnet.ibm.com Subject: [PATCH] Add iSCSI iBFT support. Message-ID: <20070926184652.GA16369@andromeda.dapyr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10496 Lines: 395 This patch adds a /sysfs/firmware/ibft/table binary blob which exports the iSCSI Boot Firmware Table (iBFT) structure. What is iSCSI Boot Firmware Table? It is a mechanism for the iSCSI tools to extract from the machine NICs the iSCSI connection information so that they can automagically mount the iSCSI share/target. Currently the iSCSI information is hard-coded in the initrd. The full details of the structure are located at: ftp://ftp.software.ibm.com/systems/support/system_x_pdf/ibm_iscsi_boot_firmware_table_v1.02.pdf Signed-off-by: Konrad Rzeszutek Signed-off-by: Peter Jones diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index d474cd6..11d700f 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c @@ -46,7 +46,7 @@ #include #include #include #include - +#include #include