patch-1.3.82 linux/drivers/scsi/seagate.c
Next file: linux/drivers/scsi/sr.c
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Mar 30 22:13:21 1996
- Orig file:
v1.3.81/linux/drivers/scsi/seagate.c
- Orig date:
Sun Mar 31 00:13:17 1996
diff -u --recursive --new-file v1.3.81/linux/drivers/scsi/seagate.c linux/drivers/scsi/seagate.c
@@ -1718,7 +1718,7 @@
* 256 heads * 64 sectors.
*/
- if ((cylinders > 1024) || (sectors > 64))
+ if ((cylinders > 1024) || (sectors > 64)) {
/* The Seagate's seem to have some mapping
* Multiple heads * sectors * cyl to get capacity
* Then start rounding down. */
@@ -1730,7 +1730,7 @@
{
heads *= 2; /* For some reason, they go in multiples */
cylinders = capacity / heads;
- };
+ }
}
ip[0] = heads;
ip[1] = sectors;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this