special usb hub handling, IDE disks, and retries all over the place
[linux-2.4.git] / drivers / usb / storage / scsiglue.c
index 713f7d7..d839b95 100644 (file)
@@ -95,6 +95,12 @@ static int detect(struct SHT *sht)
        if (us->host) {
                us->host->hostdata[0] = (unsigned long)us;
                us->host_no = us->host->host_no;
        if (us->host) {
                us->host->hostdata[0] = (unsigned long)us;
                us->host_no = us->host->host_no;
+               //+Wilson05112005, Indicate clearly of IDE HDD existence
+               if(us->ide == 0)
+                       us->host->ide_hdd = 0;  //No IDE HDD
+               else
+                       us->host->ide_hdd = 1;  //IDE HDD exist
+               //Wilson05112005+
                return 1;
        }
 
                return 1;
        }