Fix booting without CD in drive.

Index: openbios-quilt/drivers/esp.c
===================================================================
--- openbios-quilt.orig/drivers/esp.c	2006-08-20 10:15:31.000000000 +0000
+++ openbios-quilt/drivers/esp.c	2006-08-20 10:23:15.000000000 +0000
@@ -118,7 +118,12 @@
     // Check status
     status = esp->ll->regs[ESP_STATUS];

-    if ((status & ESP_STAT_TCNT) != ESP_STAT_TCNT)
+    DPRINTF("do_command: id %d, cmd[0] 0x%x, status 0x%x\n", sd->id, 
esp->buffer[0], status);
+
+    // Target didn't want all command data or went to status phase
+    // instead of data phase?
+    if ((status & ESP_STAT_TCNT) != ESP_STAT_TCNT
+        || (status & ESP_STAT_PMASK) == ESP_STATP)
         return status;

     // Get reply
@@ -136,6 +141,8 @@
     // Check status
     status = esp->ll->regs[ESP_STATUS];

+    DPRINTF("do_command_reply: status 0x%x\n", status);
+
     if ((status & ESP_STAT_TCNT) != ESP_STAT_TCNT)
         return status;
     else

