Replace magic numbers with named constants
Init extension device info struct to all zeros