Passthrough all available immu group to a vm

I just started using gpu passthrough on my qemu-system vm but for to able to passthrough everytime I have to run this command :
echo “10da 10ae” > “/sys/bus/pci/drivers/vfio-pci/new_id”
or else qemu wont be able to find the gpu group. I want to passthrough my other pci’s but cant create a newid for them . What should I do to passthrough other immou groups???