OpenSource For You

Registrati­on to the MTD sub-system

-

Now that the SPI slave device is registered with the device sub-system, an MTD device is registered with the MTD subVyVWHP Vo WhDW WhH flDVh FDn EH DFFHVVHd WhUough WhH 0TD sub-system like /dev/mtd, /dev/mtdblock. These MTD devices are used by MTD utilities like flashcp, erase_all, etc. But this registrati­on is done neither by the board driver nor by the PCI driver. This is done by the chip driver (m25p80.c). The probe function of the chip driver is invoked by the SPI framework whenever it creates an SPI slave device. The modalias fiHOd

Newspapers in English

Newspapers from India