[LinuxPPS] 8 Jul 13:21 - qd65xx: fix PIO mode selection

linuxpps: Bartlomiej Zolnierkiewicz <> webmaster at enneenne.com
Tue Jul 17 19:45:10 CEST 2007


qd65xx: fix PIO mode selection  
  
PIO4 is a maximum PIO mode supported by a driver. Using "255" as a max_mode  
argument to ide_get_best_pio_mode() could result in wrong timings being used  
by a driver (for "pio" equal to 5) or OOPS (for "pio" values > 5 && < 255).  
  
Signed-off-by: Bartlomiej Zolnierkiewicz   
Acked-by: Sergei Shtylyov   
Reviewed-by: Alan Cox   
  
drivers/ide/legacy/qd65xx.c

URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=4660897e6c2daa198fc8e3f47ae2a4aef69c80b0



More information about the LinuxPPS mailing list