Redox regulation of a protein tyrosine kinase in the endoplasmic reticulum