diff options
author | James M Leddy <james.leddy@redhat.com> | 2014-02-04 15:10:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-06 20:00:24 -0800 |
commit | 1c8bb760b632b4328f06066a6813f3758e54d8cb (patch) | |
tree | 72c8f28fbe71c933e47c92961526ae64725bd370 /drivers/net/ethernet/broadcom/bnx2.c | |
parent | 597b506816337842ae76e739982b1b6fc19f35df (diff) | |
download | linux-1c8bb760b632b4328f06066a6813f3758e54d8cb.tar.bz2 |
bnx2[x]: Make module parameters readable
Occasionally users want to know what parameters their Broadcom drivers
are running with. For example, a user may want to know if MSI is
disabled.
This patch has been compile tested.
Signed-off-by: James M Leddy <james.leddy@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c index 9d2dedadf2df..cda25ac45b47 100644 --- a/drivers/net/ethernet/broadcom/bnx2.c +++ b/drivers/net/ethernet/broadcom/bnx2.c @@ -85,7 +85,7 @@ MODULE_FIRMWARE(FW_RV2P_FILE_09_Ax); static int disable_msi = 0; -module_param(disable_msi, int, 0); +module_param(disable_msi, int, S_IRUGO); MODULE_PARM_DESC(disable_msi, "Disable Message Signaled Interrupt (MSI)"); typedef enum { |