What actually generates spidevX.X dev in /dev directory?

Hi Everyone,

I am relatively new to Beagleboard and Linux but quite experienced with embedded systems. I am exploring Linux Device Drivers and find it a bit challenging. As an example I started looking into spi drivers on bealeboard and I can see that there are 4 spi devices available in /dev directory: spidev1.0, spidev1.1, spidev2.0, spidev2.1. I am trying to figure out how spdevX.X device is created. I have looked into spidev.c file and can see that probe() function would register a device “spidevX.X” but I can’t figure out what module is triggering that probe() method? Any help would be much appreciated. Thanks



Thanks very much