> > > Okay, I get that and it makes sense with what I know so far about how the > > kernel device model works (which I'm still learning). So how would I > > manually add a device? Say I create the PCI wrapper driver that claims > > the clone-TSEC, is there a "register device" type call similar to > > pci_register_driver() that I could put in the wrapper code that causes the > > gfar_probe() to be called? > > Create an OF node (probably under the root node) programatically with > all the information the gianfar driver will want, based on what you > detect on PCI, and call of_platform_device_create(). >
Ah, the light bulb clicks on! Thanks for the info. I appreciate it. Bruce _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev