Move internal defs from ata.h to ata.c.