[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080818170334.E5B99153006F@mail59-wa4.bigfish.com>
Date: Mon, 18 Aug 2008 10:01:41 -0700
From: Stephen Neuendorffer <stephen.neuendorffer@...inx.com>
To: "David H. Lynch Jr." <dhlii@...sys.net>,
"linuxppc-embedded" <linuxppc-embedded@...abs.org>,
<netdev@...r.kernel.org>
Subject: RE: [PATCH] Linux Device Driver for Xilinx LL TEMAC 10/100/1000 EthernetNIC
> +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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists