u-boot/drivers/net
Wolfgang Denk f49620665d drivers/net/at91_emac.c: Fix GCC 4.6 build warnings
Fix:
at91_emac.c: In function 'at91emac_phy_init':
at91_emac.c:244:20: warning: variable 'duplex' set but not used
[-Wunused-but-set-variable]
at91_emac.c:244:13: warning: variable 'speed' set but not used
[-Wunused-but-set-variable]

Use new debug_cond() to fix these warnings.  In the result, anumber of
inconsistent printf() formats are detected:

at91_emac.c: In function 'at91emac_read':
at91_emac.c:147:2: warning: format '%x' expects argument of type
'unsigned int', but argument 2 has type 'struct at91_emac_t *'
[-Wformat]
at91_emac.c: In function 'at91emac_write':
at91_emac.c:157:2: warning: format '%x' expects argument of type
'unsigned int', but argument 2 has type 'struct at91_emac_t *'
[-Wformat]
at91_emac.c:157:2: warning: format '%x' expects argument of type
'unsigned int', but argument 4 has type 'short unsigned int *'
[-Wformat]
at91_emac.c: In function 'at91emac_recv':
at91_emac.c:451:3: warning: format '%d' expects argument of type
'int', but argument 2 has type 'long unsigned int' [-Wformat]
at91_emac.c:451:3: warning: format '%x' expects argument of type
'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]

Fix these, too.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Jens Scharsig <js_at_ng@scharsoft.de>
Cc: Andreas Bießmann <andreas.devel@gmail.com>
Cc: Reinhard Meyer <u-boot@emk-elektronik.de>
2011-12-10 23:08:02 +01:00
..
fm powerpc/85xx: clean up and document the QE/FMAN microcode macros 2011-11-29 08:48:06 -06:00
phy phy: Add support for SMSC LAN87xx PHYs 2011-12-05 23:07:59 +01:00
4xx_enet.c 4xx_enet.c: Fix GCC 4.6 build warnings 2011-11-16 21:14:14 +01:00
8390.h drivers/net : move net drivers to drivers/net 2007-11-25 18:35:17 +01:00
altera_tse.c altera_tse: Fix return of eth_device's recv() callback 2011-10-26 21:29:08 +02:00
altera_tse.h miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
armada100_fec.c net: Armada100: Fix compilation warnings 2011-12-06 23:59:30 +01:00
armada100_fec.h net: Adds Fast Ethernet Controller driver for Armada100 2011-09-30 22:00:53 +02:00
at91_emac.c drivers/net/at91_emac.c: Fix GCC 4.6 build warnings 2011-12-10 23:08:02 +01:00
ax88180.c AX88180: add support for the Marvell 88E1118 phy 2010-07-12 00:14:29 -07:00
ax88180.h AX88180: use standard I/O accessors 2010-07-12 00:14:29 -07:00
ax88796.c net: ne2000: Divided a function of NE2000 driver 2008-10-13 22:28:32 -07:00
ax88796.h NE2000: Fix regresssion introduced by e710185aae on non AX88796 2008-04-28 22:26:36 -07:00
bfin_mac.c Blackfin: bfin_mac: convert from old style MMR macros 2010-10-02 16:00:37 -04:00
bfin_mac.h Blackfin: bfin_mac: hook up new write_hwaddr function 2010-05-03 14:52:50 -07:00
cs8900.c drivers/net/cs8900.c: Fix GCC 4.6 warning 2011-11-23 08:14:27 +01:00
cs8900.h Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API 2009-08-25 13:35:54 -07:00
davinci_emac.c ARM: davici_emac: Fix condition for number of phy detects 2011-12-06 23:59:37 +01:00
davinci_emac.h davinci_emac: fix for running with dcache enabled 2011-12-06 23:59:35 +01:00
dc2114x.c net: dc2114x: check for apropriate command 2011-10-22 00:37:49 +02:00
designware.c Add Ethernet hardware MAC address framework to usbnet 2011-08-08 21:05:23 +02:00
designware.h SPEAr : Network driver support added 2010-07-12 00:08:05 -07:00
dm9000x.c DM9000:Add a byte swap macro for dm9000 io operation. 2011-10-17 22:25:33 +02:00
dm9000x.h dm9000 remove dead external phy support, gpio fix 2008-08-26 23:08:19 -07:00
dnet.c drivers/net/dnet.c: Fix GCC 4.6 warnings 2011-11-23 08:33:57 +01:00
dnet.h dnet: driver for Dave DNET ethernet controller 2009-02-10 00:16:27 +01:00
e1000.c e1000: fix unused variable waring for e1000 driver 2011-11-17 10:00:27 +01:00
e1000.h e1000: remove duplicate macros in e1000.h 2011-11-17 10:00:10 +01:00
e1000_spi.c e1000: Allow direct access to the E1000 SPI EEPROM device 2011-10-28 00:37:01 +02:00
eepro100.c drivers/net/eepro100.c: fix GCC 4.6 build warnings 2011-11-03 20:39:35 +01:00
enc28j60.c drivers/net/enc28j60.c: Fix GCC 4.6 warnings 2011-11-16 21:29:23 +01:00
enc28j60.h NET: add ENC28J60 driver using SPI framework 2010-10-11 22:47:48 -07:00
ep93xx_eth.c miiphy: constify device name 2010-08-09 11:52:29 -07:00
ep93xx_eth.h Add EP93xx ethernet driver 2010-01-31 22:37:12 -08:00
ethoc.c net: ethoc: add write_hwaddr support 2010-05-03 14:52:50 -07:00
fec_mxc.c FEC: Add support for iMX28 quirks 2011-11-11 11:36:56 +01:00
fec_mxc.h FEC: Move imx_get_mac_from_fuse() definition to fec_mxc.h 2011-09-30 22:01:03 +02:00
fsl_mcdmafec.c miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
fsl_mdio.c tsec: Convert tsec to use PHY Lib 2011-04-20 15:09:34 -05:00
ftgmac100.c consolidate mdelay by providing a common function for all users 2011-10-22 01:16:08 +02:00
ftgmac100.h ftgmac100: support of gigabit eth ftgmac100 2011-01-09 22:16:51 +01:00
ftmac100.c net: ftmac100: update get_timer() usages 2011-03-21 22:54:23 +01:00
ftmac100.h arm: A320: driver for FTMAC100 ethernet controller 2009-08-10 14:53:52 -07:00
greth.c cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
greth.h SPARC/LEON3: Added GRETH Ethernet 10/100/1000 driver. 2008-03-30 00:33:28 -04:00
inca-ip_sw.c drivers/net/inca-ip_sw.c: Fix GCC 4.6 build warning 2011-12-08 21:01:19 +01:00
ks8695eth.c GCC4.6: Squash warnings in ks8695eth.c 2011-10-27 23:54:07 +02:00
lan91c96.c drivers/net/lan91c96.c: Fix GCC 4.6 warning 2011-11-23 08:14:27 +01:00
lan91c96.h PXA: Rename CONFIG_PXA2[57]X to CONFIG_CPU_PXA2[57]X 2011-12-06 23:59:32 +01:00
macb.c macb: fix compile warning 2011-06-21 22:26:22 +02:00
macb.h AT91CAP9 support : MACB changes 2008-02-14 09:37:58 +00:00
Makefile net: rtl8109: drop unused !NET_MULTI driver 2011-11-22 08:39:25 +01:00
mcffec.c miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
mcfmii.c net: drop !NET_MULTI code 2011-10-05 22:22:16 +02:00
mpc5xxx_fec.c mpc5xxx_fec: add call to reset_phy() after PHY initialization 2010-10-11 23:00:29 -07:00
mpc5xxx_fec.h Move MPC5xxx_FEC driver to drivers/net 2008-08-29 13:58:07 -06:00
mpc512x_fec.c net: drop !NET_MULTI code 2011-10-05 22:22:16 +02:00
mpc512x_fec.h MPC512x: remove include/mpc512x.h 2009-06-12 20:47:16 +02:00
mvgbe.c drivers/net/mvgbe.c: Fix GCC 4.6 warnings 2011-12-05 23:04:17 +01:00
mvgbe.h mvgbe: enable configurability of PORT_SERIAL_CONTROL_VALUE 2011-05-31 19:46:14 +02:00
natsemi.c cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
ne2000.c consolidate mdelay by providing a common function for all users 2011-10-22 01:16:08 +02:00
ne2000.h NE2000: Fix regresssion introduced by e710185aae on non AX88796 2008-04-28 22:26:36 -07:00
ne2000_base.c drivers/net/ne2000_base.c: Fix GCC 4.6 build warnings 2011-12-10 23:05:42 +01:00
ne2000_base.h net: ne2000: Divided a function of NE2000 driver 2008-10-13 22:28:32 -07:00
netarm_eth.c Timer: Fix misuse of ARM *timer_masked() functions outside arch/arm 2011-07-16 11:55:00 +02:00
netarm_eth.h drivers/net : move net drivers to drivers/net 2007-11-25 18:35:17 +01:00
netconsole.c netconsole: support packets longer than 512 bytes 2011-10-09 23:24:48 +02:00
nicext.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ns8382x.c drivers/net/ns8382x.c: fix GCC 4.6 build warnings 2011-11-03 20:38:49 +01:00
pcnet.c drivers/net/pcnet.c: Change debug code to fix build warning 2011-11-07 22:18:06 +01:00
plb2800_eth.c Moved initialization of plb2800 Ethernet driver to board_eth_init 2008-09-02 21:18:18 -07:00
rtl8139.c drivers/net/rtl8139.c: Fix GCC 4.6 build warnings 2011-11-07 22:47:37 +01:00
rtl8169.c drivers/net/rtl8169.c: Fix GCC 4.6 build warning 2011-11-07 22:18:17 +01:00
sh_eth.c net: sh_eth: use miiphybb instead of own mii functions 2011-12-02 13:46:20 +09:00
sh_eth.h net: sh_eth: use miiphybb instead of own mii functions 2011-12-02 13:46:20 +09:00
smc911x.c consolidate mdelay by providing a common function for all users 2011-10-22 01:16:08 +02:00
smc911x.h Improve Power Management in SMC911X driver. 2011-11-22 08:39:27 +01:00
smc91111.c drivers/net/smc91111.c: fix warning: variable ... set but not used 2011-10-09 23:24:49 +02:00
smc91111.h PXA: Rename CONFIG_PXA2[57]X to CONFIG_CPU_PXA2[57]X 2011-12-06 23:59:32 +01:00
tsec.c powerpc/mpc8548: Add workaround for erratum NMG_eTSEC129 2011-11-08 08:30:32 -06:00
tsi108_eth.c net: tsi108_eth: Add initialized eth_device structure 2010-11-14 23:17:46 +01:00
uli526x.c Remove instances of phy_read/write 2011-04-20 13:44:46 -05:00
vsc7385.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
xilinx_axi_emac.c net: axi_ethernet: Add driver to u-boot 2011-10-15 22:12:05 +02:00
xilinx_emaclite.c net: emaclite: Move RX/TX ping pong initialization to 2011-10-23 23:32:44 +02:00