ATA link errors in custom PATA driver