Re: [PATCH RFC v2] net: add PCINet driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ira Snyder
Date: Wednesday, October 29, 2008 - 1:50 pm

On Wed, Oct 29, 2008 at 01:25:06PM -0700, Stephen Hemminger wrote:

Big snip...


I know about this. I was following the example set forth in
drivers/net/fs_enet. I tried to make this driver somewhat similar to
that driver, but I'm not against changing this to a struct everywhere.


I'm pretty sure I do. I share this structure between both devices over
the PCI bus. This is where the physical addresses of the skb's go so
that the DMA controller can transfer them.

As an example, let's say I have a machine that places 32bit values on
64bit boundaries. AFAIK, the Freescale places 32bit values on 32bit
boundaries. Now the two of them disagree about where the fields of the
buffer descriptor are.

Of course, I may be wrong. :) Comments?

Thanks for the review,
Ira
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RFC v2] net: add PCINet driver, Ira Snyder, (Wed Oct 29, 1:20 pm)
Re: [PATCH RFC v2] net: add PCINet driver, Stephen Hemminger, (Wed Oct 29, 1:25 pm)
Re: [PATCH RFC v2] net: add PCINet driver, Ira Snyder, (Wed Oct 29, 1:50 pm)
Re: [PATCH RFC v2] net: add PCINet driver, Scott Wood, (Wed Oct 29, 1:54 pm)
Re: [PATCH RFC v2] net: add PCINet driver, Ira Snyder, (Wed Oct 29, 2:13 pm)
Re: [PATCH RFC v2] net: add PCINet driver, Matt Sealey, (Wed Oct 29, 2:43 pm)
Re: [PATCH RFC v2] net: add PCINet driver, Ira Snyder, (Wed Oct 29, 3:22 pm)
Re: [PATCH RFC v2] net: add PCINet driver, Arnd Bergmann, (Tue Nov 4, 5:09 am)
Re: [PATCH RFC v2] net: add PCINet driver, Ira Snyder, (Tue Nov 4, 10:34 am)
Re: [PATCH RFC v2] net: add PCINet driver, Arnd Bergmann, (Tue Nov 4, 1:23 pm)
Re: [PATCH RFC v2] net: add PCINet driver, Ira Snyder, (Tue Nov 4, 2:25 pm)
Re: [PATCH RFC v2] net: add PCINet driver, Ira Snyder, (Tue Nov 4, 3:29 pm)
Re: [PATCH RFC v2] net: add PCINet driver, Arnd Bergmann, (Wed Nov 5, 6:19 am)
Re: [PATCH RFC v2] net: add PCINet driver, Arnd Bergmann, (Wed Nov 5, 6:50 am)
Re: [PATCH RFC v2] net: add PCINet driver, Ira Snyder, (Wed Nov 5, 12:18 pm)
Re: [PATCH RFC v2] net: add PCINet driver, Ira Snyder, (Wed Nov 5, 12:32 pm)