Searched refs:diskinfo (Results 1 – 1 of 1) sorted by relevance
1502 int diskinfo[4]; in sd_getgeo() local1505 diskinfo[0] = 0x40; /* 1 << 6 */ in sd_getgeo()1506 diskinfo[1] = 0x20; /* 1 << 5 */ in sd_getgeo()1507 diskinfo[2] = capacity >> 11; in sd_getgeo()1511 host->hostt->bios_param(sdp, bdev, capacity, diskinfo); in sd_getgeo()1513 scsicam_bios_param(bdev, capacity, diskinfo); in sd_getgeo()1515 geo->heads = diskinfo[0]; in sd_getgeo()1516 geo->sectors = diskinfo[1]; in sd_getgeo()1517 geo->cylinders = diskinfo[2]; in sd_getgeo()