Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 679502 | Differences between
and this patch

Collapse All | Expand All

(-)a/rtsx.h (+2 lines)
Lines 182-187 Link Here
182
	return (struct rtsx_dev *) host->hostdata;
182
	return (struct rtsx_dev *) host->hostdata;
183
}
183
}
184
184
185
void do_gettimeofday(struct timeval *tv);
186
185
static inline void get_current_time(u8 *timeval_buf, int buf_len)
187
static inline void get_current_time(u8 *timeval_buf, int buf_len)
186
{
188
{
187
	struct timeval tv;
189
	struct timeval tv;
(-)a/rtsx.c (-3 / +3 lines)
Lines 274-280 Link Here
274
	 * periodically someone should test to see which setting is more
274
	 * periodically someone should test to see which setting is more
275
	 * optimal.
275
	 * optimal.
276
	 */
276
	 */
277
	.use_clustering =		1,
277
	//.use_clustering =		1,
278
278
279
	
279
	
280
	.emulated =			1,
280
	.emulated =			1,
Lines 499-511 Link Here
499
		 */
499
		 */
500
		else if (chip->srb->device->id) {
500
		else if (chip->srb->device->id) {
501
			printk(KERN_ERR "Bad target number (%d:%d)\n",
501
			printk(KERN_ERR "Bad target number (%d:%d)\n",
502
				  chip->srb->device->id, chip->srb->device->lun);
502
			       chip->srb->device->id, (int)chip->srb->device->lun);
503
			chip->srb->result = DID_BAD_TARGET << 16;
503
			chip->srb->result = DID_BAD_TARGET << 16;
504
		}
504
		}
505
505
506
		else if (chip->srb->device->lun > chip->max_lun) {
506
		else if (chip->srb->device->lun > chip->max_lun) {
507
			printk(KERN_ERR "Bad LUN (%d:%d)\n",
507
			printk(KERN_ERR "Bad LUN (%d:%d)\n",
508
				  chip->srb->device->id, chip->srb->device->lun);
508
			       chip->srb->device->id, (int)chip->srb->device->lun);
509
			chip->srb->result = DID_BAD_TARGET << 16;
509
			chip->srb->result = DID_BAD_TARGET << 16;
510
		}
510
		}
511
511

Return to bug 679502