Neterion: New driver: register set - vxge-reg.h
authorRamkrishna Vepa <ram.vepa@neterion.com>
Wed, 1 Apr 2009 18:14:27 +0000 (18:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2009 07:33:41 +0000 (00:33 -0700)
commit66d97fedea68f65d6dd8df832b2c48a714134b5a
tree7599c630adc77152f2df3912965a96dec06e5827
parentb136d1cbd4b0eedc4e120b14e6834354f7249c7e
Neterion: New driver: register set - vxge-reg.h

- Complete Register map details of Neterion Inc's X3100 Series 10GbE PCIe I/O
  Virtualized Server Adapter.

- No change from previous submission.

- Changes in previous submissions -
- Incorporated following comments from Ben Hutchings
        - Use original macros for endian checks
        - Remove VXGE_OS_PLATFORM_* macros as they are unused.
        - Converted multiple bVALX macros into single with additional
          width parameter and renamed it to vxge_bVALn.
        - Using __packed instead of pragma pack(1)
        - Added a comment of the use of a hw swapper so driver code is
          portable (does not have to change the byte order for register
          access as well as dma operations) on different ENDIAN platforms.
        - Using the <linux/pci_regs.h> definitions instead of redefing them.
        - Using the PCI capabilities registers in <linux/pci_regs.h>
          instead of redefing them.
Signed-off-by: Sivakumar Subramani <sivakumar.subramani@neterion.com>
Signed-off-by: Rastapur Santosh <santosh.rastapur@neterion.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-reg.h [new file with mode: 0644]