tag | line | file | source code |
dkinfo | 831 | drivers/scsi/u14-34f.c | int u14_34f_biosparam(Disk * disk, kdev_t dev, int * dkinfo) { |
dkinfo | 835 | drivers/scsi/u14-34f.c | dkinfo[0] = HD(j)->heads; |
dkinfo | 836 | drivers/scsi/u14-34f.c | dkinfo[1] = HD(j)->sectors; |
dkinfo | 837 | drivers/scsi/u14-34f.c | dkinfo[2] = size / (HD(j)->heads * HD(j)->sectors); |
dkinfo | 1013 | drivers/scsi/ultrastor.c | int ultrastor_biosparam(Disk * disk, kdev_t dev, int * dkinfo) |
dkinfo | 1018 | drivers/scsi/ultrastor.c | dkinfo[0] = config.heads; |
dkinfo | 1019 | drivers/scsi/ultrastor.c | dkinfo[1] = config.sectors; |
dkinfo | 1020 | drivers/scsi/ultrastor.c | dkinfo[2] = size / s; /* Ignore partial cylinders */ |
dkinfo | 1022 | drivers/scsi/ultrastor.c | if (dkinfo[2] > 1024) |
dkinfo | 1023 | drivers/scsi/ultrastor.c | dkinfo[2] = 1024; |