projects
/
linux-2.4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
special usb hub handling, IDE disks, and retries all over the place
[linux-2.4.git]
/
drivers
/
usb
/
storage
/
scsiglue.c
diff --git
a/drivers/usb/storage/scsiglue.c
b/drivers/usb/storage/scsiglue.c
index
713f7d7
..
d839b95
100644
(file)
--- a/
drivers/usb/storage/scsiglue.c
+++ b/
drivers/usb/storage/scsiglue.c
@@
-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;
}