Hello,
I have another question..... I am looking at the accompanying code to the book "Linux Device Drivers, 3rd edition". The file is "pci_skel.c". My question is where is the memory for the "struct pci_dev" structure allocated? I see the pointer "dev" reference it; and functions such as "probe()" and "remove()" are passed a pointer to this "pci_dev" structure but I can't see where the memory for it is actually being allocated.
Thank you
|