Searched refs:pd_scratch (Results 1 – 1 of 1) sorted by relevance
/linux-2.6.39/drivers/block/paride/ |
D | pd.c | 242 static char pd_scratch[512]; /* scratch block buffer */ variable 669 pi_read_block(disk->pi, pd_scratch, 512); in pd_identify() 670 disk->can_lba = pd_scratch[99] & 2; in pd_identify() 671 disk->sectors = le16_to_cpu(*(__le16 *) (pd_scratch + 12)); in pd_identify() 672 disk->heads = le16_to_cpu(*(__le16 *) (pd_scratch + 6)); in pd_identify() 673 disk->cylinders = le16_to_cpu(*(__le16 *) (pd_scratch + 2)); in pd_identify() 675 disk->capacity = le32_to_cpu(*(__le32 *) (pd_scratch + 120)); in pd_identify() 680 id[j ^ 1] = pd_scratch[j + PD_ID_OFF]; in pd_identify() 687 disk->removable = pd_scratch[0] & 0x80; in pd_identify() 876 if (pi_init(disk->pi, 1, -1, -1, -1, -1, -1, pd_scratch, in pd_detect() [all …]
|