diff options
| -rw-r--r-- | firmware/drivers/ata.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 5047447..77cd89f 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -1456,6 +1456,7 @@ void ata_get_info(IF_MD2(int drive,)struct storage_info *info) #endif int i; info->sector_size = SECTOR_SIZE; + info->num_sectors = total_sectors; src = (unsigned short*)&identify_info[27]; dest = (unsigned short*)vendor; |