]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
common/miiphyutil.c: Cleanup MII_DEBUG and debug()
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Sat, 19 Jan 2008 01:25:59 +0000 (10:25 +0900)
committerWolfgang Denk <wd@denx.de>
Thu, 14 Feb 2008 21:10:38 +0000 (22:10 +0100)
commit26c7bab81e08dc7bd696c48f753428a829629bd8
tree2daf85876c917bfe31ce982dec80d70bcefef30a
parent751b9b5189f3274b03c809172631316d6b002c82
common/miiphyutil.c: Cleanup MII_DEBUG and debug()

Current MII_DEBUG is confusing in two ways. One is useless define-then-
undef at the top of the file. The other is there is only one debug() in
this file, and that doesn't seem worthwhile to bother having MII_DEBUG.
While there are many useful printf()/puts() debug codes, but they are for
DEBUG, not for MII_DEBUG.

This patch tries to put them all together into MII_DEBUG and debug().

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
common/miiphyutil.c