liquidio: update debug console logging mechanism
authorRick Farrington <ricardo.farrington@cavium.com>
Sat, 12 Aug 2017 01:43:14 +0000 (18:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2017 17:56:57 +0000 (10:56 -0700)
commitda1542b01b38ba29e0d28b1ef980071e7d38d6d4
treed8225841f716912816d4ccbe9d22f38fdbc47370
parentf5b589488ea5ed3bb6168b1a4e7f7b95841d8513
liquidio: update debug console logging mechanism

- remove logging dependency upon global func octeon_console_debug_enabled()
- abstract debug console logging using console structure (via function ptr)
  to allow for more flexible logging

Signed-off-by: Rick Farrington <ricardo.farrington@cavium.com>
Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/octeon_console.c
drivers/net/ethernet/cavium/liquidio/octeon_device.h