From: Albert H. <he...@us...> - 2009-03-02 18:48:22
|
Update of /cvsroot/gc-linux/linux/drivers/block In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2444/drivers/block Modified Files: gcn-sd.c Log Message: [PATCH] gcn-sd: tell the block layer that it is not a rotational device From: Albert Herranz <alb...@ya...> Date: Mon, 2 Mar 2009 00:05:06 +0100 Subject: [PATCH] gcn-sd: tell the block layer that it is not a rotational device Signed-off-by: Albert Herranz <alb...@ya...> Index: gcn-sd.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/block/gcn-sd.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** gcn-sd.c 1 Feb 2009 18:29:35 -0000 1.16 --- gcn-sd.c 2 Mar 2009 18:48:17 -0000 1.17 *************** *** 1454,1457 **** --- 1454,1458 ---- blk_queue_max_hw_segments(queue, 1); blk_queue_max_sectors(queue, 8); + queue_flag_set_unlocked(QUEUE_FLAG_NONROT, queue); queue->queuedata = host; host->queue = queue; |