> +static struct platform_driver temac_device_driver = { > + .probe = temac_device_probe, > + .remove = __devexit_p(temac_device_remove), > + .suspend = NULL, > + .resume = NULL, > + .driver = { > + .name = DRV_NAME, > + .owner = THIS_MODULE, > + }, > +};
I understand you're probably still using arch/ppc, but you'll need to implement the of bindings as well. This can be done relatively easily in parallel with a platform_device binding. (and you can probably get alot of the code out of the xilinx LLTEMAC driver. > diff --git a/include/linux/xilinx_devices.h b/include/linux/xilinx_devices.h > index 41ad421..79ca491 100755 > --- a/include/linux/xilinx_devices.h > +++ b/include/linux/xilinx_devices.h > @@ -94,7 +94,7 @@ struct xtemac_platform_data { > #define XTEMAC_DMA_SGDMA 3 /* scatter gather DMA */ > #endif > > -#if defined(CONFIG_XILINX_LLTEMAC) > +#if defined(CONFIG_XILINX_LLTEMAC) || defined(CONFIG_XPS_LLTEMAC) > /* LLTEMAC platform data */ > struct xlltemac_platform_data { > u8 tx_csum; You probably want to generate patches against mainline in the future... Steve This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded