dm: sata: Separate the non-command code into its own file