linux-mips
[Top] [All Lists]

[PATCH] au1000_eth fixes/improvemetns for 2.6.x

To: Pete Popov <ppopov@embeddedalley.com>
Subject: [PATCH] au1000_eth fixes/improvemetns for 2.6.x
From: Herbert Valerio Riedel <hvr@inso.tuwien.ac.at>
Date: Fri, 31 Dec 2004 12:13:33 +0100
Cc: linux-mips@linux-mips.org
Organization: Research Group for Industrial Software @ Vienna University of Technology
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
the following patch 

*) removes 'inline' for 'extern' declarations

*) fixes some nasty buffer overflow due to 
 sizeof (dev->dev_addr) > sizeof(au1000_mac_addr)' at least in 2.6.x

*) removes some unused symbols

*) generates random "local assigned" mac addresses instead of using the
hardcoded one

*) prints out the finally selected mac address on initialization

*) marks a few structs 'const'

*) doesn't segfault when no MII is detected...

regards,
-- 
Herbert Valerio Riedel <hvr@inso.tuwien.ac.at>
Research Group for Industrial Software @ Vienna University of Technology

Attachment: au1000_eth.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] au1000_eth fixes/improvemetns for 2.6.x, Herbert Valerio Riedel <=