[SCSI] megaraid_sas: new template defined to represent each type of controllers

This patch defines a new template to represent each type of
controllers (identified by the processor used). The template has
members that is set with appropriate values during driver
initialisation. This change is done to support new controllers with
minimal change to existing code. In future, for a new controller
support, a template will be declared and its members initialised
appropriately.

Signed-off-by: Sumant Patro <[email protected]>

Rejections fixed and
Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
Sumant Patro 2006-01-25 12:02:40 -08:00 • committed by James Bottomley
commit 1341c93922
3 changed files with 118 additions and 42 deletions

View file

@ -1,3 +1,12 @@
1 Release Date : Mon Jan 23 14:09:01 PST 2006 - Sumant Patro <[email protected]>
2 Current Version : 00.00.02.02
3 Older Version : 00.00.02.01
i. New template defined to represent each family of controllers (identified by processor used).
The template will have defintions that will be initialised to appropritae values for a specific family of controllers. The template definition has four function pointers. During driver initialisation the function pointers will be set based on the controller family type. This change is done to support new controllers that has different processors and thus different register set.
-Sumant Patro <[email protected]>
1 Release Date : Mon Dec 19 14:36:26 PST 2005 - Sumant Patro <[email protected]>
2 Current Version : 00.00.02.00-rc4
3 Older Version : 00.00.02.01