[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <6BD63E47-4738-4116-8A85-983D4FDCFBB9@embeddedalley.com>
Date: Fri, 9 Feb 2007 12:22:58 -0500
From: Dan Malek <dan@...eddedalley.com>
To: Timur Tabi <timur@...escale.com>
Cc: Kumar Gala <galak@...nel.crashing.org>, netdev@...r.kernel.org,
linuxppc-dev list <linuxppc-dev@...abs.org>
Subject: Re: [PATCH 1/4] ucc_geth: Change private immrbar_virt_to_phys to generic iopa
On Feb 8, 2007, at 8:35 AM, Timur Tabi wrote:
> That's what the original code did, kinda. It called virt_to_phys() if
> it is main memory, and it called immrbar_virt_to_phys() if it is
> MURAM.
> immrbar_virt_to_phys() did pointer math to extract the physical
> address.
You've got to be kidding. You created yet another function
to determine the physical address from a virtual one! LOL!
Plus, you need logic in the code to first determine which
one to call? Everyone is OK with this?
-- Dan
-
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