[POWERPC] Fix viodasd geometry calculations
commit36a700307ece3ca090d1f8f071db085087ddc627
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 29 May 2007 06:06:54 +0000 (29 16:06 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jul 2007 11:40:28 +0000 (10 21:40 +1000)
treec061f720ccb9e85bc5377c1e0f0838800c168e6e
parentb8ce2272becc87894d95cbdbba42ae72115131f2
[POWERPC] Fix viodasd geometry calculations

Commit a885c8c4316e1c1d2d2c8755da3f3d14f852528d that introduced the
getgeo block device method changed the fallback number of sectors and
introduced a bug into the fallback cylinder number calculation.

Thanks to Rusty Russell for noticing this.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/block/viodasd.c