]> Joshua Wise's Git repositories - netwatch.git/blobdiff - net/3c90x.c
Manage to get a nice big packet queue going inside lwIP.
[netwatch.git] / net / 3c90x.c
index 3a6c958ee9dde5f3c9489332342cc45dc103a74b..30283a29c17de2f053033c06211d315a5ec13fa9 100644 (file)
@@ -480,7 +480,7 @@ a3c90x_transmit(struct pbuf *p)
        unsigned char status;
        static unsigned int stillwaiting = 0;
        unsigned int n, len;
-
+       
        if (stillwaiting)
        {
                while (!(inw(INF_3C90X.IOAddr + regCommandIntStatus_w) & INT_TXCOMPLETE) && oneshot_running())
@@ -503,7 +503,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.021768 seconds and 4 git commands to generate.