On Thu, 2007-11-29 at 21:29 -0600, Olof Johansson wrote: > + continue; > + > + info.addr = *addr; > + > + i2c_register_board_info(PCI_FUNC(pdev->devfn), > &info, > + 1); > + } > + }
+ /* Ensure that buses up to 2 are reserved */ + i2c_register_board_info(2, NULL, 0); + > + return 0; > +} > +device_initcall(pasemi_register_i2c_devices); > +#endif Otherwise when you make i2c-pasemi use i2c_add_numbered_adapter(), it might fail to register the third bus -- because there were no devices preregistered on it, so something else might have stolen that bus number already. You might want to add the patch to use i2c_add_numbered_adapter() to your tree, btw. -- dwmw2 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev