summaryrefslogtreecommitdiffstats
path: root/net/netconsole.c
Commit message (Collapse)AuthorAgeFilesLines
* console: allow to specify the device idJean-Christophe PLAGNIOL-VILLARD2015-01-131-0/+1
| | | | | | | so we can use dynamic number id with specific devname Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* netconsole: activate in set_active callbackSascha Hauer2014-12-171-21/+34
| | | | | | | | | Activate the netconsole in the set_active callback. Add proper checks there for port and ip address, print an error when the network hasn't been configured and finally print when the netconsole has been enabled successfully. This makes using of the netconsole easier. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* netconsole: rename console to "netconsole"Sascha Hauer2014-07-111-0/+1
| | | | | | So that it can be used without guessing the name first. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Documentation: remove doxygen documentationSascha Hauer2014-06-261-28/+0
| | | | | | | The doxygen documentation is long outdated. Remove it. It will be replaced with sphinx based documentation later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* netconsole: bail out when no connection is openedSascha Hauer2014-03-311-0/+6
| | | | | | | | | When no connection is opened we should not call into the networking stack. Otherwise it can happen that we delay further execution until the network stack detected a link (or timed out bringing the link up). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* console: drop f_caps and check the function pointer getc/putc insteadJean-Christophe PLAGNIOL-VILLARD2013-09-211-1/+0
| | | | | | | | | | None of the driver make the difference between STDOUT and STDERR. So we just need to check if putc or getc are filled in the console_device save 32 bytes on versatilepb Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* netconsole: use dev_add_param_* helpersSascha Hauer2013-04-111-44/+6
| | | | | | For shorter code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net/console: switch to pr_xxxJean-Christophe PLAGNIOL-VILLARD2013-03-091-2/+4
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-171-3/+0
| | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* netconsole: bail out if console_register failsSascha Hauer2012-04-131-1/+7
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: add a context to the packet handlerSascha Hauer2011-04-121-2/+2
| | | | | | | This is not yet used, but with this the different network commands can get rid of their global data. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* netconsole: remove non-needed setbaudrateJean-Christophe PLAGNIOL-VILLARD2010-09-241-6/+0
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add netconsole supportSascha Hauer2010-06-171-0/+228
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>