]> Joshua Wise's Git repositories - netwatch.git/commitdiff
Suffer from a slight case of v2p-itis
authorJoshua Wise <joshua@nyus.joshuawise.com>
Thu, 4 Dec 2008 23:12:38 +0000 (18:12 -0500)
committerJoshua Wise <joshua@nyus.joshuawise.com>
Thu, 4 Dec 2008 23:12:38 +0000 (18:12 -0500)
net/3c90x.c

index e3236d9d0fb6526485d5c899374bea3174192787..ea7914c673ec8300a6633f01a77f4e3c1b9cf78a 100644 (file)
@@ -489,7 +489,7 @@ a3c90x_transmit(struct pbuf *p)
        n = 0;
        for (; p; p = p->next)
        {
-               INF_3C90X.TransmitDPD.segments[n].addr = (unsigned int)p->payload;
+               INF_3C90X.TransmitDPD.segments[n].addr = v2p(p->payload);
                INF_3C90X.TransmitDPD.segments[n].len = p->len | (p->next ? 0 : (1 << 31));
                len += p->len;
                n++;
This page took 0.032112 seconds and 4 git commands to generate.