Messages in this thread | | | Date | Wed, 22 Aug 2001 18:45:12 -0700 (PDT) | Subject | Re: With Daniel Phillips Patch | From | "David S. Miller" <> |
| |
From: "Justin T. Gibbs" <gibbs@scsiguy.com> Date: Wed, 22 Aug 2001 19:40:55 -0600
You have to keep track of the significant bits in the dma_addr_t regardless of its size, so you put it into your TX descriptor's (or what have you) native format that doesn't waste any space. You don't need to keep the full dma_addr_t around. Perhaps this is just sloppy programming?
Some devices keep these in registers and advance them as the dma progresses. The only reliable way is by keeping track of it in software.
If you don't want to take part in technical discussions, you should work in closed source. 8-)
It's not open source, it's "dumb source" I have problems with. A lot of discussions here end up being of that variety.
Later, David S. Miller davem@redhat.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |