add mdevs; attach sdevs; assign mdev to wid