lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1229258301-5073-1-git-send-email-steve.glendinning@smsc.com>
Date:	Sun, 14 Dec 2008 12:38:19 +0000
From:	Steve Glendinning <steve.glendinning@...c.com>
To:	netdev@...r.kernel.org
Cc:	Ian Saturley <ian.saturley@...c.com>,
	Steve Glendinning <steve.glendinning@...c.com>
Subject: [RFC PATCH 0/2] unify full duplex flow control resolution

4 drivers (tg3, smsc911x, smsc9420 & smsc9500) have identical full 
duplex flow control resolution functions (primarily because I re-used
tg3's implementation for the 3 SMSC drivers).  This patchset moves this 
to an inline function in mii.h and changes the 4 drivers to use it.

It's a small enough function, and it's only used once in each driver,
but I'm still not completely sure inline is right.  These drivers 
don't all have a dependency on mii.c though, and I wanted to avoid 
adding this to the SMSC drivers that have been converted to phylib.

--
Steve Glendinning (2):
  move flow control definitions to mii.h
  refactor full duplex flow control resolution

 drivers/net/smsc911x.c     |   24 +-------------
 drivers/net/smsc911x.h     |    3 --
 drivers/net/smsc9420.c     |   24 +-------------
 drivers/net/smsc9420.h     |    3 --
 drivers/net/tg3.c          |   74 +++++++++++++++----------------------------
 drivers/net/tg3.h          |    2 -
 drivers/net/usb/smsc95xx.c |   26 +---------------
 include/linux/mii.h        |   33 +++++++++++++++++++
 8 files changed, 62 insertions(+), 127 deletions(-)

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ