rbuf[2] = n_sectors >> (8 * 7); rbuf[3] = n_sectors >> (8 * 6); rbuf[4] = n_sectors >> (8 * 5); rbuf[5] = n_sectors >> (8 * 4); 
tmp = n_sectors >> (8 * 4); rbuf[2] = tmp >> (8 * 3); rbuf[3] = tmp >> (8 * 2); rbuf[4] = tmp >> (8 * 1); rbuf[5] = tmp; tmp = n_sectors; 
unsigned int ata_scsiop_read_cap(struct ata_scsi_args *args, u8 *rbuf,			        unsigned int buflen){	u64 n_sectors;	u32 tmp;	VPRINTK("ENTER\n");	if (ata_id_has_lba48(args->id))		n_sectors = ata_id_u64(args->id, 100);	else		n_sectors = ata_id_u32(args->id, 60);	n_sectors--;		/* ATA TotalUserSectors - 1 */	tmp = n_sectors;	/* note: truncates, if lba48 */	if (args->cmd->cmnd[0] == READ_CAPACITY) {		/* sector count, 32-bit */		rbuf[0] = tmp >> (8 * 3);		rbuf[1] = tmp >> (8 * 2);		rbuf[2] = tmp >> (8 * 1);		rbuf[3] = tmp;		/* sector size */		tmp = ATA_SECT_SIZE;		rbuf[6] = tmp >> 8;		rbuf[7] = tmp;	} else {		/* sector count, 64-bit */		rbuf[2] = n_sectors >> (8 * 7);		rbuf[3] = n_sectors >> (8 * 6);		rbuf[4] = n_sectors >> (8 * 5);		rbuf[5] = n_sectors >> (8 * 4);		rbuf[6] = tmp >> (8 * 3);		rbuf[7] = tmp >> (8 * 2);		rbuf[8] = tmp >> (8 * 1);		rbuf[9] = tmp;		/* sector size */		tmp = ATA_SECT_SIZE;		rbuf[12] = tmp >> 8;		rbuf[13] = tmp;	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/0c144d0d0303917000cc918e63567b5ded22d5e2/libata-scsi.c/clean/drivers/scsi/libata-scsi.c