PCIE Controller

  • In this section, you are going to learn

  • About pcie controller

  • Terminology

#

Version

Freebsd

14.1.0

  • Architecture

test:~$ pciconf -lv | grep -A3 -B4 hostb
test:~$ pciconf -lv
  • No driver modules are available , which is part of kernel image

Source code path : /usr/src/sys/dev/pci
  pci.c
    device_probe()                  -> calling  the pci probe function
       pci_probe()                  -> probe the pci controller
         pci_attach()               -> function finding how many slot is connected
           pci_print_child()        -> printing the connected client device from teh each slot
             device_get_children()  -> calling the device driver for each client device
test:~$
  • No driver modules are available , which is part of kernel image. But to add the changes in pci driver, go to the below path

test:~$ cd /usr/src/sys/dev/pci
  • Add the changes

test:~$  cd /usr/src
test:~$ make -j8 buildkernel -DNO_CLEAN KERNCONF=MYTEST
  • No driver modules are available , which is part of kernel image

test:~$
test:~$
test:~$
test:~$
test:~$
test:~$
test:~$
test:~$
test:~$