From: Wolfgang Denk Date: Tue, 20 Dec 2011 23:42:17 +0100 Subject: [U-Boot] [PATCH v3 1/2] net: add Calxeda xgmac driver In-Reply-To: <1323983750-3399-1-git-send-email-robherring2@gmail.com> References: <1322857309-2662-1-git-send-email-robherring2@gmail.com> <1323983750-3399-1-git-send-email-robherring2@gmail.com> Message-ID: <20111220224217.BFEBD19E5E2D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Rob Herring, In message <1323983750-3399-1-git-send-email-robherring2@gmail.com> you wrote: > From: Rob Herring > > This adds ethernet driver for Calxeda xgmac found on Highbank SOC. > > Signed-off-by: Rob Herring > --- > v3: > - whitespace fixes > - move reset to .init function > - fix calxedaxgmac_initialize return values > - fix 2 build warnings > > v2: > -Convert register base plus offset to struct > -drop ethaddr env setting > -drop valid mac address check > > README | 3 + > drivers/net/Makefile | 1 + > drivers/net/calxedaxgmac.c | 553 ++++++++++++++++++++++++++++++++++++++++++++ > include/netdev.h | 1 + > 4 files changed, 558 insertions(+), 0 deletions(-) > create mode 100644 drivers/net/calxedaxgmac.c Are there going to be any users for this driver? Checkpatch says: WARNING: __aligned(size) is preferred over __attribute__((aligned(size))) #461: FILE: drivers/net/calxedaxgmac.c:317: +} __attribute__((aligned(32))); Is there any special reason not to change this? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de No, I'm not going to explain it. If you can't figure it out, you didn't want to know anyway... :-) - Larry Wall in <1991Aug7.180856.2854@netlabs.com>