netxen: fix error codes in for tools access
authorDhananjay Phadke <dhananjay@netxen.com>
Fri, 16 Oct 2009 15:50:10 +0000 (15:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Oct 2009 06:44:44 +0000 (23:44 -0700)
commit7cecdca133ea9791adce21819b9e9eed79045f23
tree368fd8adec2d47e3e035631060a7fdf487876f66
parent6abb4b83eac25d91f6de834e97b2ea38e979575b
netxen: fix error codes in for tools access

Use -EIO or -EINVAL as error codes, these can get passed up
to applications (tools).

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_hw.c
drivers/net/netxen/netxen_nic_init.c