diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-02-12 14:50:11 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 03:36:31 -0400 |
commit | e574a8c18069bcc04537c4a3d7c5dbab2265007c (patch) | |
tree | eb6aba8593a1c97ff4210355d08280ed70a7bb07 /drivers/scsi | |
parent | db48255b32a2664d8b321a51f46084a669e11ac6 (diff) |
isci: cleanup core consolidation leftovers
Remove duplicated license and header file includes that were leftover
from commit 4c1db2d0 "isci: consolidate core" (in the isci.git historical
branch).
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/isci/core/scic_sds_remote_device.c | 167 | ||||
-rw-r--r-- | drivers/scsi/isci/core/scic_sds_smp_remote_device.c | 85 | ||||
-rw-r--r-- | drivers/scsi/isci/core/scic_sds_ssp_request.c | 78 | ||||
-rw-r--r-- | drivers/scsi/isci/core/scic_sds_stp_remote_device.c | 78 |
4 files changed, 23 insertions, 385 deletions
diff --git a/drivers/scsi/isci/core/scic_sds_remote_device.c b/drivers/scsi/isci/core/scic_sds_remote_device.c index b824e570a494..5fc1baaa56d0 100644 --- a/drivers/scsi/isci/core/scic_sds_remote_device.c +++ b/drivers/scsi/isci/core/scic_sds_remote_device.c | |||
@@ -53,23 +53,22 @@ | |||
53 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 53 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
54 | */ | 54 | */ |
55 | 55 | ||
56 | /** | ||
57 | * This file contains the implementation of remote device methods. | ||
58 | * | ||
59 | * | ||
60 | */ | ||
61 | |||
62 | #include "intel_sas.h" | 56 | #include "intel_sas.h" |
63 | #include "sci_util.h" | 57 | #include "scic_controller.h" |
64 | #include "sci_environment.h" | ||
65 | #include "scic_port.h" | ||
66 | #include "scic_phy.h" | 58 | #include "scic_phy.h" |
59 | #include "scic_port.h" | ||
67 | #include "scic_remote_device.h" | 60 | #include "scic_remote_device.h" |
68 | #include "scic_sds_port.h" | 61 | #include "scic_sds_controller.h" |
69 | #include "scic_sds_phy.h" | 62 | #include "scic_sds_phy.h" |
63 | #include "scic_sds_port.h" | ||
70 | #include "scic_sds_remote_device.h" | 64 | #include "scic_sds_remote_device.h" |
65 | #include "scic_sds_remote_node_context.h" | ||
71 | #include "scic_sds_request.h" | 66 | #include "scic_sds_request.h" |
72 | #include "scic_sds_controller.h" | 67 | #include "scic_user_callback.h" |
68 | #include "sci_environment.h" | ||
69 | #include "sci_util.h" | ||
70 | #include "scu_event_codes.h" | ||
71 | |||
73 | 72 | ||
74 | #define SCIC_SDS_REMOTE_DEVICE_RESET_TIMEOUT (1000) | 73 | #define SCIC_SDS_REMOTE_DEVICE_RESET_TIMEOUT (1000) |
75 | 74 | ||
@@ -501,82 +500,6 @@ bool scic_sds_remote_device_is_atapi( | |||
501 | } | 500 | } |
502 | } | 501 | } |
503 | #endif | 502 | #endif |
504 | /* | ||
505 | * This file is provided under a dual BSD/GPLv2 license. When using or | ||
506 | * redistributing this file, you may do so under either license. | ||
507 | * | ||
508 | * GPL LICENSE SUMMARY | ||
509 | * | ||
510 | * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. | ||
511 | * | ||
512 | * This program is free software; you can redistribute it and/or modify | ||
513 | * it under the terms of version 2 of the GNU General Public License as | ||
514 | * published by the Free Software Foundation. | ||
515 | * | ||
516 | * This program is distributed in the hope that it will be useful, but | ||
517 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
518 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
519 | * General Public License for more details. | ||
520 | * | ||
521 | * You should have received a copy of the GNU General Public License | ||
522 | * along with this program; if not, write to the Free Software | ||
523 | * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
524 | * The full GNU General Public License is included in this distribution | ||
525 | * in the file called LICENSE.GPL. | ||
526 | * | ||
527 | * BSD LICENSE | ||
528 | * | ||
529 | * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. | ||
530 | * All rights reserved. | ||
531 | * | ||
532 | * Redistribution and use in source and binary forms, with or without | ||
533 | * modification, are permitted provided that the following conditions | ||
534 | * are met: | ||
535 | * | ||
536 | * * Redistributions of source code must retain the above copyright | ||
537 | * notice, this list of conditions and the following disclaimer. | ||
538 | * * Redistributions in binary form must reproduce the above copyright | ||
539 | * notice, this list of conditions and the following disclaimer in | ||
540 | * the documentation and/or other materials provided with the | ||
541 | * distribution. | ||
542 | * * Neither the name of Intel Corporation nor the names of its | ||
543 | * contributors may be used to endorse or promote products derived | ||
544 | * from this software without specific prior written permission. | ||
545 | * | ||
546 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
547 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
548 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
549 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
550 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
551 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
552 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
553 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
554 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
555 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
556 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
557 | */ | ||
558 | |||
559 | /** | ||
560 | * This file contains the state handlers for the struct scic_sds_remote_device for the | ||
561 | * base state machine. | ||
562 | * | ||
563 | * | ||
564 | */ | ||
565 | |||
566 | #include "sci_environment.h" | ||
567 | #include "scic_user_callback.h" | ||
568 | #include "scic_controller.h" | ||
569 | #include "scic_sds_remote_device.h" | ||
570 | #include "scic_sds_controller.h" | ||
571 | #include "scic_sds_port.h" | ||
572 | #include "scic_sds_request.h" | ||
573 | #include "scic_sds_remote_node_context.h" | ||
574 | #include "scu_event_codes.h" | ||
575 | |||
576 | /* | ||
577 | * ***************************************************************************** | ||
578 | * * PROTECTED METHODS | ||
579 | * ***************************************************************************** */ | ||
580 | 503 | ||
581 | /** | 504 | /** |
582 | * | 505 | * |
@@ -1846,76 +1769,6 @@ const struct scic_sds_remote_device_state_handler scic_sds_remote_device_state_h | |||
1846 | } | 1769 | } |
1847 | }; | 1770 | }; |
1848 | 1771 | ||
1849 | /* | ||
1850 | * This file is provided under a dual BSD/GPLv2 license. When using or | ||
1851 | * redistributing this file, you may do so under either license. | ||
1852 | * | ||
1853 | * GPL LICENSE SUMMARY | ||
1854 | * | ||
1855 | * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. | ||
1856 | * | ||
1857 | * This program is free software; you can redistribute it and/or modify | ||
1858 | * it under the terms of version 2 of the GNU General Public License as | ||
1859 | * published by the Free Software Foundation. | ||
1860 | * | ||
1861 | * This program is distributed in the hope that it will be useful, but | ||
1862 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1863 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
1864 | * General Public License for more details. | ||
1865 | * | ||
1866 | * You should have received a copy of the GNU General Public License | ||
1867 | * along with this program; if not, write to the Free Software | ||
1868 | * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
1869 | * The full GNU General Public License is included in this distribution | ||
1870 | * in the file called LICENSE.GPL. | ||
1871 | * | ||
1872 | * BSD LICENSE | ||
1873 | * | ||
1874 | * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. | ||
1875 | * All rights reserved. | ||
1876 | * | ||
1877 | * Redistribution and use in source and binary forms, with or without | ||
1878 | * modification, are permitted provided that the following conditions | ||
1879 | * are met: | ||
1880 | * | ||
1881 | * * Redistributions of source code must retain the above copyright | ||
1882 | * notice, this list of conditions and the following disclaimer. | ||
1883 | * * Redistributions in binary form must reproduce the above copyright | ||
1884 | * notice, this list of conditions and the following disclaimer in | ||
1885 | * the documentation and/or other materials provided with the | ||
1886 | * distribution. | ||
1887 | * * Neither the name of Intel Corporation nor the names of its | ||
1888 | * contributors may be used to endorse or promote products derived | ||
1889 | * from this software without specific prior written permission. | ||
1890 | * | ||
1891 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
1892 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
1893 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
1894 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
1895 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
1896 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
1897 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
1898 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
1899 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
1900 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
1901 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
1902 | */ | ||
1903 | |||
1904 | /** | ||
1905 | * This file contains the operations that are taken on the enter and exit state | ||
1906 | * transitions for the struct sci_base_remote_device state machine. | ||
1907 | * | ||
1908 | * | ||
1909 | */ | ||
1910 | |||
1911 | #include "scic_remote_device.h" | ||
1912 | #include "scic_user_callback.h" | ||
1913 | #include "scic_sds_controller.h" | ||
1914 | #include "scic_sds_remote_device.h" | ||
1915 | #include "scic_sds_request.h" | ||
1916 | #include "scic_sds_controller.h" | ||
1917 | #include "scic_sds_port.h" | ||
1918 | |||
1919 | /** | 1772 | /** |
1920 | * | 1773 | * |
1921 | * @object: This is the struct sci_base_object that is cast into a | 1774 | * @object: This is the struct sci_base_object that is cast into a |
diff --git a/drivers/scsi/isci/core/scic_sds_smp_remote_device.c b/drivers/scsi/isci/core/scic_sds_smp_remote_device.c index b0ed9d11eb2d..ea608c1ad8cb 100644 --- a/drivers/scsi/isci/core/scic_sds_smp_remote_device.c +++ b/drivers/scsi/isci/core/scic_sds_smp_remote_device.c | |||
@@ -53,23 +53,17 @@ | |||
53 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 53 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
54 | */ | 54 | */ |
55 | 55 | ||
56 | /** | 56 | #include "scic_remote_device.h" |
57 | * This file contains This file contains the ready substate handlers for a SMP | ||
58 | * device. | ||
59 | * | ||
60 | * | ||
61 | */ | ||
62 | |||
63 | #include "sci_environment.h" | ||
64 | #include "scic_user_callback.h" | ||
65 | #include "scic_sds_remote_device.h" | ||
66 | #include "scic_sds_controller.h" | 57 | #include "scic_sds_controller.h" |
67 | #include "scic_sds_port.h" | 58 | #include "scic_sds_port.h" |
59 | #include "scic_sds_remote_device.h" | ||
68 | #include "scic_sds_request.h" | 60 | #include "scic_sds_request.h" |
61 | #include "scic_user_callback.h" | ||
62 | #include "sci_environment.h" | ||
63 | #include "sci_util.h" | ||
69 | #include "scu_event_codes.h" | 64 | #include "scu_event_codes.h" |
70 | #include "scu_task_context.h" | 65 | #include "scu_task_context.h" |
71 | 66 | ||
72 | |||
73 | /* | 67 | /* |
74 | * ***************************************************************************** | 68 | * ***************************************************************************** |
75 | * * SMP REMOTE DEVICE READY IDLE SUBSTATE HANDLERS | 69 | * * SMP REMOTE DEVICE READY IDLE SUBSTATE HANDLERS |
@@ -250,75 +244,6 @@ const struct scic_sds_remote_device_state_handler scic_sds_smp_remote_device_rea | |||
250 | .frame_handler = scic_sds_smp_remote_device_ready_cmd_substate_frame_handler | 244 | .frame_handler = scic_sds_smp_remote_device_ready_cmd_substate_frame_handler |
251 | } | 245 | } |
252 | }; | 246 | }; |
253 | /* | ||
254 | * This file is provided under a dual BSD/GPLv2 license. When using or | ||
255 | * redistributing this file, you may do so under either license. | ||
256 | * | ||
257 | * GPL LICENSE SUMMARY | ||
258 | * | ||
259 | * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. | ||
260 | * | ||
261 | * This program is free software; you can redistribute it and/or modify | ||
262 | * it under the terms of version 2 of the GNU General Public License as | ||
263 | * published by the Free Software Foundation. | ||
264 | * | ||
265 | * This program is distributed in the hope that it will be useful, but | ||
266 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
267 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
268 | * General Public License for more details. | ||
269 | * | ||
270 | * You should have received a copy of the GNU General Public License | ||
271 | * along with this program; if not, write to the Free Software | ||
272 | * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
273 | * The full GNU General Public License is included in this distribution | ||
274 | * in the file called LICENSE.GPL. | ||
275 | * | ||
276 | * BSD LICENSE | ||
277 | * | ||
278 | * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. | ||
279 | * All rights reserved. | ||
280 | * | ||
281 | * Redistribution and use in source and binary forms, with or without | ||
282 | * modification, are permitted provided that the following conditions | ||
283 | * are met: | ||
284 | * | ||
285 | * * Redistributions of source code must retain the above copyright | ||
286 | * notice, this list of conditions and the following disclaimer. | ||
287 | * * Redistributions in binary form must reproduce the above copyright | ||
288 | * notice, this list of conditions and the following disclaimer in | ||
289 | * the documentation and/or other materials provided with the | ||
290 | * distribution. | ||
291 | * * Neither the name of Intel Corporation nor the names of its | ||
292 | * contributors may be used to endorse or promote products derived | ||
293 | * from this software without specific prior written permission. | ||
294 | * | ||
295 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
296 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
297 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
298 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
299 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
300 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
301 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
302 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
303 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
304 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
305 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
306 | */ | ||
307 | |||
308 | /** | ||
309 | * This file contains the enter and exit functions for the | ||
310 | * struct scic_sds_remote_device ready substate machine. | ||
311 | * | ||
312 | * | ||
313 | */ | ||
314 | |||
315 | #include "scic_remote_device.h" | ||
316 | #include "scic_user_callback.h" | ||
317 | #include "scic_sds_remote_device.h" | ||
318 | #include "scic_sds_controller.h" | ||
319 | #include "scic_sds_port.h" | ||
320 | #include "sci_util.h" | ||
321 | #include "sci_environment.h" | ||
322 | 247 | ||
323 | /** | 248 | /** |
324 | * | 249 | * |
diff --git a/drivers/scsi/isci/core/scic_sds_ssp_request.c b/drivers/scsi/isci/core/scic_sds_ssp_request.c index 0d6441c5ce00..a826e4bf2928 100644 --- a/drivers/scsi/isci/core/scic_sds_ssp_request.c +++ b/drivers/scsi/isci/core/scic_sds_ssp_request.c | |||
@@ -53,18 +53,12 @@ | |||
53 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 53 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
54 | */ | 54 | */ |
55 | 55 | ||
56 | /** | ||
57 | * This file contains the task management substate handlers for the | ||
58 | * SCIC_SDS_IO_REQUEST object. | ||
59 | * | ||
60 | * | ||
61 | */ | ||
62 | |||
63 | #include "intel_sas.h" | 56 | #include "intel_sas.h" |
64 | #include "sci_environment.h" | 57 | #include "sci_base_state_machine.h" |
65 | #include "scic_sds_request.h" | ||
66 | #include "scic_controller.h" | 58 | #include "scic_controller.h" |
67 | #include "scic_sds_controller.h" | 59 | #include "scic_sds_controller.h" |
60 | #include "scic_sds_request.h" | ||
61 | #include "sci_environment.h" | ||
68 | #include "scu_completion_codes.h" | 62 | #include "scu_completion_codes.h" |
69 | #include "scu_task_context.h" | 63 | #include "scu_task_context.h" |
70 | 64 | ||
@@ -220,72 +214,6 @@ const struct scic_sds_io_request_state_handler scic_sds_ssp_task_request_started | |||
220 | } | 214 | } |
221 | }; | 215 | }; |
222 | 216 | ||
223 | /* | ||
224 | * This file is provided under a dual BSD/GPLv2 license. When using or | ||
225 | * redistributing this file, you may do so under either license. | ||
226 | * | ||
227 | * GPL LICENSE SUMMARY | ||
228 | * | ||
229 | * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. | ||
230 | * | ||
231 | * This program is free software; you can redistribute it and/or modify | ||
232 | * it under the terms of version 2 of the GNU General Public License as | ||
233 | * published by the Free Software Foundation. | ||
234 | * | ||
235 | * This program is distributed in the hope that it will be useful, but | ||
236 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
237 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
238 | * General Public License for more details. | ||
239 | * | ||
240 | * You should have received a copy of the GNU General Public License | ||
241 | * along with this program; if not, write to the Free Software | ||
242 | * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
243 | * The full GNU General Public License is included in this distribution | ||
244 | * in the file called LICENSE.GPL. | ||
245 | * | ||
246 | * BSD LICENSE | ||
247 | * | ||
248 | * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. | ||
249 | * All rights reserved. | ||
250 | * | ||
251 | * Redistribution and use in source and binary forms, with or without | ||
252 | * modification, are permitted provided that the following conditions | ||
253 | * are met: | ||
254 | * | ||
255 | * * Redistributions of source code must retain the above copyright | ||
256 | * notice, this list of conditions and the following disclaimer. | ||
257 | * * Redistributions in binary form must reproduce the above copyright | ||
258 | * notice, this list of conditions and the following disclaimer in | ||
259 | * the documentation and/or other materials provided with the | ||
260 | * distribution. | ||
261 | * * Neither the name of Intel Corporation nor the names of its | ||
262 | * contributors may be used to endorse or promote products derived | ||
263 | * from this software without specific prior written permission. | ||
264 | * | ||
265 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
266 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
267 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
268 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
269 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
270 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
271 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
272 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
273 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
274 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
275 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
276 | */ | ||
277 | |||
278 | /** | ||
279 | * This file contains the enter/exit methods associated with each of the task | ||
280 | * management raw request states. For more information on the task | ||
281 | * management request state machine please refer to scic_sds_io_request.h | ||
282 | * | ||
283 | * | ||
284 | */ | ||
285 | |||
286 | #include "scic_sds_request.h" | ||
287 | #include "sci_base_state_machine.h" | ||
288 | |||
289 | /** | 217 | /** |
290 | * This method performs the actions required when entering the | 218 | * This method performs the actions required when entering the |
291 | * SCIC_SDS_IO_REQUEST_STARTED_TASK_MGMT_SUBSTATE_AWAIT_TC_COMPLETION | 219 | * SCIC_SDS_IO_REQUEST_STARTED_TASK_MGMT_SUBSTATE_AWAIT_TC_COMPLETION |
diff --git a/drivers/scsi/isci/core/scic_sds_stp_remote_device.c b/drivers/scsi/isci/core/scic_sds_stp_remote_device.c index 6aa170e92500..0060804a2402 100644 --- a/drivers/scsi/isci/core/scic_sds_stp_remote_device.c +++ b/drivers/scsi/isci/core/scic_sds_stp_remote_device.c | |||
@@ -53,22 +53,18 @@ | |||
53 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 53 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
54 | */ | 54 | */ |
55 | 55 | ||
56 | /** | ||
57 | * This file contains the ready substate handlers for an STP device. | ||
58 | * | ||
59 | * | ||
60 | */ | ||
61 | |||
62 | #include "intel_sat.h" | ||
63 | #include "intel_ata.h" | 56 | #include "intel_ata.h" |
64 | #include "intel_sata.h" | 57 | #include "intel_sata.h" |
65 | #include "sci_environment.h" | 58 | #include "intel_sat.h" |
59 | #include "sci_base_state.h" | ||
66 | #include "scic_remote_device.h" | 60 | #include "scic_remote_device.h" |
67 | #include "scic_user_callback.h" | ||
68 | #include "scic_sds_controller.h" | 61 | #include "scic_sds_controller.h" |
69 | #include "scic_sds_port.h" | 62 | #include "scic_sds_port.h" |
70 | #include "scic_sds_remote_device.h" | 63 | #include "scic_sds_remote_device.h" |
71 | #include "scic_sds_request.h" | 64 | #include "scic_sds_request.h" |
65 | #include "scic_user_callback.h" | ||
66 | #include "sci_environment.h" | ||
67 | #include "sci_util.h" | ||
72 | #include "scu_event_codes.h" | 68 | #include "scu_event_codes.h" |
73 | 69 | ||
74 | /** | 70 | /** |
@@ -655,70 +651,6 @@ const struct scic_sds_remote_device_state_handler scic_sds_stp_remote_device_rea | |||
655 | }; | 651 | }; |
656 | 652 | ||
657 | /* | 653 | /* |
658 | * This file is provided under a dual BSD/GPLv2 license. When using or | ||
659 | * redistributing this file, you may do so under either license. | ||
660 | * | ||
661 | * GPL LICENSE SUMMARY | ||
662 | * | ||
663 | * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. | ||
664 | * | ||
665 | * This program is free software; you can redistribute it and/or modify | ||
666 | * it under the terms of version 2 of the GNU General Public License as | ||
667 | * published by the Free Software Foundation. | ||
668 | * | ||
669 | * This program is distributed in the hope that it will be useful, but | ||
670 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
671 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
672 | * General Public License for more details. | ||
673 | * | ||
674 | * You should have received a copy of the GNU General Public License | ||
675 | * along with this program; if not, write to the Free Software | ||
676 | * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
677 | * The full GNU General Public License is included in this distribution | ||
678 | * in the file called LICENSE.GPL. | ||
679 | * | ||
680 | * BSD LICENSE | ||
681 | * | ||
682 | * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. | ||
683 | * All rights reserved. | ||
684 | * | ||
685 | * Redistribution and use in source and binary forms, with or without | ||
686 | * modification, are permitted provided that the following conditions | ||
687 | * are met: | ||
688 | * | ||
689 | * * Redistributions of source code must retain the above copyright | ||
690 | * notice, this list of conditions and the following disclaimer. | ||
691 | * * Redistributions in binary form must reproduce the above copyright | ||
692 | * notice, this list of conditions and the following disclaimer in | ||
693 | * the documentation and/or other materials provided with the | ||
694 | * distribution. | ||
695 | * * Neither the name of Intel Corporation nor the names of its | ||
696 | * contributors may be used to endorse or promote products derived | ||
697 | * from this software without specific prior written permission. | ||
698 | * | ||
699 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
700 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
701 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
702 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
703 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
704 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
705 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
706 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
707 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
708 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
709 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
710 | */ | ||
711 | |||
712 | #include "sci_base_state.h" | ||
713 | #include "scic_remote_device.h" | ||
714 | #include "scic_user_callback.h" | ||
715 | #include "scic_sds_controller.h" | ||
716 | #include "scic_sds_port.h" | ||
717 | #include "scic_sds_remote_device.h" | ||
718 | #include "sci_util.h" | ||
719 | #include "sci_environment.h" | ||
720 | |||
721 | /* | ||
722 | * ***************************************************************************** | 654 | * ***************************************************************************** |
723 | * * STP REMOTE DEVICE READY SUBSTATE PRIVATE METHODS | 655 | * * STP REMOTE DEVICE READY SUBSTATE PRIVATE METHODS |
724 | * ***************************************************************************** */ | 656 | * ***************************************************************************** */ |