[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100523.231712.165155558.davem@davemloft.net>
Date: Sun, 23 May 2010 23:17:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jonas@...thpole.se
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/3] ethoc: Write bus addresses to registers
From: Jonas Bonn <jonas@...thpole.se>
Date: Tue, 18 May 2010 07:39:24 +0200
> The ethoc driver should be writing bus addresses to the ethoc registers, not
> virtual addresses.
>
> Also, use bus_to_virt instead of phys_to_virt to make this explicit.
Portable drivers must not use bus_to_virt().
You should keep track of the virtual addresses of the mapped RX
packets in your RX ring datastructure.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists