diff options
author | Rasesh Mody <rmody@brocade.com> | 2011-08-30 15:27:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-15 15:36:33 -0400 |
commit | 19dbff9feea4f31ab3cdae53b98ef4484b554592 (patch) | |
tree | 57bd10ffd82415288547a266f952caec2c408b08 /drivers/net/ethernet/brocade/bna/cna.h | |
parent | 271e8b794700022fcd93d37967fa999ddee47698 (diff) | |
download | linux-19dbff9feea4f31ab3cdae53b98ef4484b554592.tar.bz2 |
bna: Formatting and Code Cleanup
Change details:
- Print log messages when running with reduced number of MSI-X vectors
and when defaulting to INTx mode.
- Remove BUG_ONs and header file inclusion that are not needed
- Comments addition/cleanup
- Unused code cleanup
- Add New Line to Print msg in bfa_sm_fault
- Formatting fix
Signed-off-by: Gurunatha Karaje <gkaraje@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/brocade/bna/cna.h')
-rw-r--r-- | drivers/net/ethernet/brocade/bna/cna.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/net/ethernet/brocade/bna/cna.h b/drivers/net/ethernet/brocade/bna/cna.h index 50fce15feacc..cb4874210aa3 100644 --- a/drivers/net/ethernet/brocade/bna/cna.h +++ b/drivers/net/ethernet/brocade/bna/cna.h @@ -21,21 +21,18 @@ #include <linux/kernel.h> #include <linux/types.h> +#include <linux/mutex.h> #include <linux/pci.h> #include <linux/delay.h> #include <linux/bitops.h> #include <linux/timer.h> #include <linux/interrupt.h> +#include <linux/if_vlan.h> #include <linux/if_ether.h> -#include <asm/page.h> -#include <asm/io.h> -#include <asm/string.h> - -#include <linux/list.h> #define bfa_sm_fault(__event) do { \ - pr_err("SM Assertion failure: %s: %d: event = %d", __FILE__, __LINE__, \ - __event); \ + pr_err("SM Assertion failure: %s: %d: event = %d\n", \ + __FILE__, __LINE__, __event); \ } while (0) extern char bfa_version[]; |