qlge: Add support for getting/setting port config.
authorRon Mercer <ron.mercer@qlogic.com>
Mon, 2 Mar 2009 08:07:32 +0000 (08:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2009 06:45:24 +0000 (22:45 -0800)
commitbcc2cb3b97e37317c301309d7052bb61e6cce2c4
treee1eed42ab44980713cc6b8d38e917e0d27ff9bcd
parentcdca8d02ea4229c2ccf3c27fb537b150843f67c9
qlge: Add support for getting/setting port config.

This patch adds functionality to get and set port parameters.
Currently it is used to set maximum TX/RX frame sizes. This process is
also capable of setting:
1) Pause type: Standard or Priority based.
2) Loop back mode.
3) Enable Jumbo frame mode (included here...)

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge.h
drivers/net/qlge/qlge_main.c
drivers/net/qlge/qlge_mpi.c