isa_hdc: ec1841 compatibility

I am not 100% sure of these changes, but they do make the ec1841 work (i.e. pass self-test, boot from hard disk etc.)