mptspi.c (1ae6d167793c3b293114335f474adfc0ef5438ed) mptspi.c (2899836f9430664d5eab9f0b08f964b975dfc230)
1/*
2 * linux/drivers/message/fusion/mptspi.c
3 * For use with LSI PCI chip/adapter(s)
4 * running LSI Fusion MPT (Message Passing Technology) firmware.
5 *
6 * Copyright (c) 1999-2008 LSI Corporation
7 * (mailto:DL-MPTFusionLinux@lsi.com)
8 *

--- 829 unchanged lines hidden (view full) ---

838 .eh_bus_reset_handler = mptscsih_bus_reset,
839 .eh_host_reset_handler = mptscsih_host_reset,
840 .bios_param = mptscsih_bios_param,
841 .can_queue = MPT_SCSI_CAN_QUEUE,
842 .this_id = -1,
843 .sg_tablesize = MPT_SCSI_SG_DEPTH,
844 .max_sectors = 8192,
845 .cmd_per_lun = 7,
1/*
2 * linux/drivers/message/fusion/mptspi.c
3 * For use with LSI PCI chip/adapter(s)
4 * running LSI Fusion MPT (Message Passing Technology) firmware.
5 *
6 * Copyright (c) 1999-2008 LSI Corporation
7 * (mailto:DL-MPTFusionLinux@lsi.com)
8 *

--- 829 unchanged lines hidden (view full) ---

838 .eh_bus_reset_handler = mptscsih_bus_reset,
839 .eh_host_reset_handler = mptscsih_host_reset,
840 .bios_param = mptscsih_bios_param,
841 .can_queue = MPT_SCSI_CAN_QUEUE,
842 .this_id = -1,
843 .sg_tablesize = MPT_SCSI_SG_DEPTH,
844 .max_sectors = 8192,
845 .cmd_per_lun = 7,
846 .shost_attrs = mptscsih_host_attrs,
846 .shost_groups = mptscsih_host_attr_groups,
847};
848
849static int mptspi_write_spi_device_pg1(struct scsi_target *starget,
850 struct _CONFIG_PAGE_SCSI_DEVICE_1 *pass_pg1)
851{
852 struct Scsi_Host *shost = dev_to_shost(&starget->dev);
853 struct _MPT_SCSI_HOST *hd = shost_priv(shost);
854 struct _MPT_ADAPTER *ioc = hd->ioc;

--- 765 unchanged lines hidden ---
847};
848
849static int mptspi_write_spi_device_pg1(struct scsi_target *starget,
850 struct _CONFIG_PAGE_SCSI_DEVICE_1 *pass_pg1)
851{
852 struct Scsi_Host *shost = dev_to_shost(&starget->dev);
853 struct _MPT_SCSI_HOST *hd = shost_priv(shost);
854 struct _MPT_ADAPTER *ioc = hd->ioc;

--- 765 unchanged lines hidden ---