From: Adrian M. <ad...@mc...> - 2002-08-11 09:50:04
|
This fails on my DC (reworked code shown below): static int dc_flashmap_connect(struct maple_driver_data *d) { printk("Regitering VMU Flash mapping and loading VMU Flash driver\n"); /* Look for the flash */ if (!vmu_flash_mtd) vmu_flash_mtd = do_map_probe("cfi", &vmu_flash_map); /* See if it's valid */ if (!vmu_flash_mtd) { printk(KERN_ERR "Failed to setup flash map\n"); return -ENXIO; } printk("VMU FLASH: mapping successful\n"); vmu_flash_mtd->module = THIS_MODULE; /* Register with MTD */ add_mtd_device(vmu_flash_mtd); return 0; } It appears to run modprobe - can someone explain to me what it does. I haven't read the source, I admit. But I have googled and I am none the wiser. |