]> git.neil.brown.name Git - history.git/commitdiff
drivers/scsi/esp.c: Fix the build.
authorAndres Salomon <dilinger@mp3revolution.net>
Fri, 11 Oct 2002 19:26:16 +0000 (12:26 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Fri, 11 Oct 2002 19:26:16 +0000 (12:26 -0700)
drivers/scsi/esp.c

index 3487094d07303d5ab89a9af68d5789a577462f8b..6634124b45b4caefe0c68cce89a5d16416c94321 100644 (file)
@@ -1576,7 +1576,6 @@ static void esp_exec_cmd(struct esp *esp)
                memset(esp_dev, 0, sizeof(struct esp_device));
                SDptr->hostdata = esp_dev;
        }
-       }
 
        esp->snip = 0;
        esp->msgout_len = 0;
@@ -3589,7 +3588,7 @@ static int target_with_ants_in_pants(struct esp *esp,
                                     Scsi_Cmnd *SCptr,
                                     struct esp_device *esp_dev)
 {
-       if (esp_dev->sync || SCptr->SDptr->borken) {
+       if (esp_dev->sync || SCptr->device->borken) {
                /* sorry, no can do */
                ESPSDTR(("forcing to async, "));
                build_sync_nego_msg(esp, 0, 0);
@@ -3811,7 +3810,7 @@ static int check_multibyte_msg(struct esp *esp)
 
                        /* Regardless, next try for sync transfers. */
                        build_sync_nego_msg(esp, esp->sync_defp, 15);
-                       espo_dev->sync = 1;
+                       esp_dev->sync = 1;
                        esp->snip = 1;
                        message_out = EXTENDED_MESSAGE;
                }