summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2010-12-21 14:48:34 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-10 11:14:52 +0100
commit3b4859163d7446abbe597d490ee2e029c01f668a (patch)
tree368112734b0ada75d88a9b28a11f1d2626427480 /drivers/ata
parent1126f04e99f5df070353c63439645b2cb15850a3 (diff)
downloadbarebox-3b4859163d7446abbe597d490ee2e029c01f668a.tar.gz
barebox-3b4859163d7446abbe597d490ee2e029c01f668a.tar.xz
x86 ATA: Don't touch the size entry for the BIOS disk based device
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 <jbe@pengutronix.de>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/bios.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/bios.c b/drivers/ata/bios.c
index 51e2425a9d..3f419ccf27 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;