Hi Anna (annah),
How are you connecting to the 7D? The connector, on the 7D, is a mini PCIe.
The -22 error is a generic error saying that PCIe is active but it can not recognize the adapter in the slot, and can not enumerate it.
You are using either a mini PCie adapter or a mini PCIe to Full Size PCIe adapter with a PCIe card of some sort. The problem is the mini to Full PCIe adapter only supports PCIe x1 connections. PCIe x4, x8, or x16 connections are not supported. So if you are using the mini to Full adapter and the card is anything other than a PCIe x1 connection it will fail to enumerate, and give a -22 error.
In my case I have an Intel i210 NIC card. It has x1 compatibility. It works and enumerates with lspci. Other NICs, like the Intel x550, uses PCIe x4 connection and fail to enumerate.
Cheers,
Glen