mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
pata_scc had been missed by ata_std_prereset() switch
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
7b104bcb8e
commit
d1c68fa6ce
@ -864,10 +864,10 @@ static void scc_bmdma_freeze (struct ata_port *ap)
|
||||
* @ap: ATA port to be reset
|
||||
*/
|
||||
|
||||
static int scc_pata_prereset (struct ata_port *ap)
|
||||
static int scc_pata_prereset (struct ata_port *ap, unsigned long deadline)
|
||||
{
|
||||
ap->cbl = ATA_CBL_PATA80;
|
||||
return ata_std_prereset(ap);
|
||||
return ata_std_prereset(ap, deadline);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user