Automotive engine configuration detection