Re: aic7xxx_biosparam

J.E.J. Bottomley
2002-11-18T00:36:28Z

dledford@redhat.com said:
> So, this is the change I made to update it so that it won't puke on
> large devices. It seems to be working OK for me, but I didn't check
> the gcc assembly output to see if it's horrible. Unless someone
> tells me I'm smoking crack for making this change, I'll submit it
> pretty soon (I don't consider myself a partition expert, I'm just
> trying to make sure that when geometry does get defined on my driver
> that it at least is something the Adaptec BIOS will accept, and the
> Adaptec BIOS *only* accepts the two listed head/sector combos).

Well, SCSI doesn't implement the BIG_GETGEO ioctl, so this isn't really much
use. You can use sector_div to do the divisions.

However, Andries Brower assures me that the geometry stuff is unused (at least
from the cylinders point of view), so all of this is unnecessary anyway.
There's a large thread about it on linux-scsi (don't have the reference). The
upshot was the code you can see in scsicam.c:scsicam_bios_param().

So the short answer is that this should be unnecessary.

James