From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1Pb7n9-0006c8-2t for barebox@lists.infradead.org; Fri, 07 Jan 2011 08:35:24 +0000 Received: from octopus.hi.pengutronix.de ([2001:6f8:1178:2:215:17ff:fe12:23b0]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Pb7n5-0001ha-7q for barebox@lists.infradead.org; Fri, 07 Jan 2011 09:35:19 +0100 Received: from jbe by octopus.hi.pengutronix.de with local (Exim 4.69) (envelope-from ) id 1Pb7n5-0001uB-5s for barebox@lists.infradead.org; Fri, 07 Jan 2011 09:35:19 +0100 From: Juergen Beisert Date: Fri, 7 Jan 2011 09:35:09 +0100 Message-Id: <1294389316-6569-4-git-send-email-jbe@pengutronix.de> In-Reply-To: <1294389316-6569-1-git-send-email-jbe@pengutronix.de> References: <1294389316-6569-1-git-send-email-jbe@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 03/10] x86 ATA: Don't touch the size entry for the BIOS disk based device To: barebox@lists.infradead.org Only the platform sets this entry to setup the correct size or signals the driver to guess the size of the attached disk. Signed-off-by: Juergen Beisert --- drivers/ata/bios.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/ata/bios.c b/drivers/ata/bios.c index 51e2425..3f419cc 100644 --- a/drivers/ata/bios.c +++ b/drivers/ata/bios.c @@ -257,7 +257,6 @@ static int biosdisk_probe(struct device_d *dev) strcpy(drive_dev->name, "biosdisk"); drive_dev->id = drive - 0x80; - drive_dev->size = 1; drive_dev->map_base = 0; drive_dev->platform_data = p; -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox