Call correct hardware routines