From d401e73e740bcf5e7d1b66aeae9839493a8c1686 Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Thu, 4 Dec 2008 18:12:38 -0500 Subject: [PATCH 1/1] Suffer from a slight case of v2p-itis --- net/3c90x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/3c90x.c b/net/3c90x.c index e3236d9..ea7914c 100644 --- a/net/3c90x.c +++ b/net/3c90x.c @@ -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++; -- 2.43.0