csiostor: Header file modifications for chip support and bug fixes.
authorArvind Bhushan <arvindb@chelsio.com>
Thu, 14 Mar 2013 05:09:07 +0000 (05:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Mar 2013 15:36:00 +0000 (11:36 -0400)
commitd69630e8a42220b04318995d8ed0637ea79a717e
tree3e08568d2f0a4032aea5ad721f9d76ab819aa13d
parent4a22edb593012041ee656a88ea7f9889837cb0d1
csiostor: Header file modifications for chip support and bug fixes.

This patch defines the common operations to support multiple chips. It
includes common header file modifications to support the current chips
(T4 and T5). It also includes the following bug fixes:
- reconfirms the rnode state after an implicit logo.
- corrects the stats array size.
- sets up and checks flags correctly when coming up as master and finding
the card initialized

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Arvind Bhushan <arvindb@chelsio.com>
Signed-off-by: Naresh Kumar Inna <naresh@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/csiostor/csio_hw_chip.h [new file with mode: 0644]
drivers/scsi/csiostor/csio_lnode.h
drivers/scsi/csiostor/csio_rnode.c
drivers/scsi/csiostor/csio_rnode.h
drivers/scsi/csiostor/csio_wr.c