On Tue, 6 Feb 2007 16:42:30 +0100 "DI BACCO ANTONIO - technolabs" <[EMAIL PROTECTED]> wrote:
> I'm realizing a controller driver for the mpc8xx spi master device. My > driver has a mpc8xx_spi_probe method that I expected to be called. I'm > sure that platform_device_register is called for my spi platform_device > but nothing happens, mpc8xx_spi_probe is not called. I'd dump ppc_sys.c in the place where it puts devices into the bus, and peek into driver_register. Note that for 8xx, spi normally resides on scc, so you'll have to use ...set_func and ...device_enable() stuff (see in ppc_sys.c for exact prototypes) to have foo-bar-scc:spi or alike registered on bus. -- Sincerely, Vitaly _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
