[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87zkc0783i.fsf@macbook.be.48ers.dk>
Date: Thu, 01 Mar 2012 14:40:17 +0100
From: Peter Korsgaard <jacmet@...site.dk>
To: "N\, Mugunthan V" <mugunthanvnm@...com>
Cc: "netdev\@vger.kernel.org" <netdev@...r.kernel.org>,
"davem\@davemloft.net" <davem@...emloft.net>
Subject: Re: [PATCH v4 2/2] netdev: driver: ethernet: Add TI CPSW driver
>>>>> "N" == N, Mugunthan V <mugunthanvnm@...com> writes:
Hi,
>> Is this really platform specific data (rather than SoC specific)? If
>> it's purely a difference between 335x and 814x just use an id_table with
>> different platform device names instead.
N> Instead of driver maintaining the SoC specific offsets, SoC specific
N> files in arch/arm/mach-omap2/ can hold this. Another reason is
N> currently this IP is present in 2 SoCs, there are other SoC coming
N> up where the offsets may change.
Sure, it's the same amount of code no matter where it gets put, but the
idea is to move code from arch/arm to drivers/ where possible. This will
also help if the IP is ever used on non-omap2 platforms and for device
tree support.
--
Bye, Peter Korsgaard
--
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