aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r--drivers/block/cciss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index d719a5d8f435..67a6d4a9343a 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1907,6 +1907,7 @@ static void cciss_geometry_inquiry(int ctlr, int logvol,
1907 "does not support reading geometry\n"); 1907 "does not support reading geometry\n");
1908 drv->heads = 255; 1908 drv->heads = 255;
1909 drv->sectors = 32; // Sectors per track 1909 drv->sectors = 32; // Sectors per track
1910 drv->raid_level = RAID_UNKNOWN;
1910 } else { 1911 } else {
1911 drv->heads = inq_buff->data_byte[6]; 1912 drv->heads = inq_buff->data_byte[6];
1912 drv->sectors = inq_buff->data_byte[7]; 1913 drv->sectors = inq_buff->data_byte[7];