minor change add_device (removed dev_type, already in gen_dev)