isci: remove 'min memory' infrastructure
The old 'core' had aspirations of running in severely memory constrained environments like bios option-rom, it's not needed for Linux and gets in the way of other cleanups (like unifying/reducing the number of structure members in scic_sds_controller/isci_host). This also fixes a theoretical bug in that the driver would blindly override the silicon advertised limits for number of ports, task contexts, and remote node contexts. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
@@ -239,18 +239,6 @@ struct scic_sds_controller {
|
||||
*/
|
||||
u32 logical_port_entries;
|
||||
|
||||
/**
|
||||
* This field is the minimum number of hardware supported completion queue
|
||||
* entries and the software requested completion queue entries.
|
||||
*/
|
||||
u32 completion_queue_entries;
|
||||
|
||||
/**
|
||||
* This field is the minimum number of hardware supported event entries and
|
||||
* the software requested event entries.
|
||||
*/
|
||||
u32 completion_event_entries;
|
||||
|
||||
/**
|
||||
* This field is the minimum number of devices supported by the hardware and
|
||||
* the number of devices requested by the software.
|
||||
@@ -325,7 +313,6 @@ struct isci_host {
|
||||
union scic_oem_parameters oem_parameters;
|
||||
|
||||
int id; /* unique within a given pci device */
|
||||
void *core_ctrl_memory;
|
||||
struct dma_pool *dma_pool;
|
||||
struct isci_phy phys[SCI_MAX_PHYS];
|
||||
struct isci_port ports[SCI_MAX_PORTS + 1]; /* includes dummy port */
|
||||
|
Viittaa uudesa ongelmassa
Block a user