fixed basic and unfortunately untested ata-driver, pci is removed from here because it was too big and didn't work