Re: aic7xxx_biosparam

Alan Cox
2002-11-18T00:57:20Z

On Mon, 2002-11-18 at 00:27, Doug Ledford wrote:
> 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).

What about using sector_div ?