]> git.baikalelectronics.ru Git - kernel.git/commit
[NET] netconsole: Introduce netconsole_target
authorSatyam Sharma <satyam@infradead.org>
Fri, 10 Aug 2007 22:32:14 +0000 (15:32 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:04 +0000 (16:48 -0700)
commitb955fecea014d8ee7c778169677c693b9ca0af71
tree5079a4b016af25f4fb2fcac4b014af8d8d891173
parente2491add7d4665ed6923e139830fe2706004df72
[NET] netconsole: Introduce netconsole_target

Based upon initial work by Keiichi Kii <k-keiichi@bx.jp.nec.com>.

Introduce a wrapper structure over netpoll to represent logging targets
configured in netconsole.  This will get extended with other members in
further patches.

This is done independent of the (to-be-introduced) NETCONSOLE_DYNAMIC config
option so that we're able to drastically cut down on the #ifdef complexity of
final netconsole.c.  Also, struct netconsole_target would be required for
multiple targets support also, and not just dynamic reconfigurability.

Signed-off-by: Satyam Sharma <satyam@infradead.org>
Signed-off-by: Keiichi Kii <k-keiichi@bx.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netconsole.c