netxen_nic: Log proper error message in case of mismatched adapter type
authorManish Chopra <manish.chopra@qlogic.com>
Thu, 30 May 2013 09:51:35 +0000 (09:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2013 23:52:37 +0000 (16:52 -0700)
commitb08a92bb7381ff03d4101bcc61e65120bc690a4f
treefd3b3d3ea9f2f05f30ff08171565c37d1ff0dacc
parentdc7551cbf7744ef7374c3f3c46817413ad4bcc40
netxen_nic: Log proper error message in case of mismatched adapter type

o log "Unknown" board name and "Unknown" serial number in case
  of mismatched adapter type found. This will avoid weird characters
  logs when an adapter is in bad state or corrupted.

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/netxen/netxen_nic.h
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c