Received: from eggs.gnu.org ([208.118.235.92]:55282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Twidd-0002m7-T1 for qemu-devel@nongnu.org; Sat, 19 Jan 2013 19:19:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Twidc-00021l-SP for qemu-devel@nongnu.org; Sat, 19 Jan 2013 19:19:53 -0500 Received: from mail-qa0-f51.google.com ([209.85.216.51]:35327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Twidc-00020D-Ob for qemu-devel@nongnu.org; Sat, 19 Jan 2013 19:19:52 -0500 Received: by mail-qa0-f51.google.com with SMTP id i20so3888946qad.17 for ; Sat, 19 Jan 2013 16:19:51 -0800 (PST) Sender: Grant Likely From: Grant Likely Date: Sat, 19 Jan 2013 18:28:09 -0400 Message-Id: <1358634492-22627-1-git-send-email-grant.likely@secretlab.ca> Subject: [Qemu-devel] [PATCH 0/3] Generalize bitbang MDIO and use for versatile-pb List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This series extracts the MDIO bitbang code from the etraxfs driver and makes it usable on targets using the smc91111 Ethernet controller. I've tested this using u-boot on the versatile-pb model. net/bitbang_mdio: Generalize etraxfs MDIO bitbanging emulation net/bitbang_mdio: Never set PHY RST and ANEG_RST bits on register write net/bitbang_mdio: Use bitbang core for smc91c111 network device hw/Makefile.objs | 2 +- hw/bitbang_mdio.c | 271 ++++++++++++++++++++++++++++++++++++++++++++++++ hw/bitbang_mdio.h | 72 +++++++++++++ hw/cris/Makefile.objs | 1 + hw/etraxfs_eth.c | 273 +------------------------------------------------ hw/smc91c111.c | 29 +++++- 6 files changed, 371 insertions(+), 277 deletions(-) create mode 100644 hw/bitbang_mdio.c create mode 100644 hw/bitbang_mdio.h