consolidate duplicated code into print_hardware_support()