summaryrefslogtreecommitdiffstats
path: root/net/netconsole.c
Commit message (Collapse)AuthorAgeFilesLines
* 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>