Commit 2c639378 authored by Douglas Gilbert's avatar Douglas Gilbert Committed by Linus Torvalds

[PATCH] scsicam lk2.5.8-pre3

 - allow detection of pre-existing disk geometry
parent b9fa7043
......@@ -126,7 +126,7 @@ int scsi_partsize(unsigned char *buf, unsigned long capacity,
unsigned int logical_end, physical_end, ext_physical_end;
if (*(unsigned short *) (buf + 66) == 0xAA55) {
if (*(unsigned short *) (buf + 64) == 0xAA55) {
for (largest_cyl = -1, i = 0; i < 4; ++i, ++p) {
if (!p->sys_ind)
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment