How do I turn off PCI devices?

Try echo 0 > /sys/bus/pci/slot/$N/power for appropriate slot.

lspci -vv may help to identify the device. This is not very well documented...