Added interrupt registering to uart driver