4k sector drive reporting 512 byte sectors to OS - why?

Yes, that’s my problem - it *emulates* a 512-byte sector disk. How do I turn that off, and make it behave like a real 4k sector disk? (i.e. with a lower maximum LBA)