Re: [PATCH] IDE 104

Alan Cox (alan@lxorguk.ukuu.org.uk)
26 Jul 2002 11:46:30 +0100


On Fri, 2002-07-26 at 10:07, Marcin Dalecki wrote:
> The only thing which is really 'external API' there is the declaration
> of the HDIO_XXX ioctl and among them in reality only HDIO_GETGEO
> is really used outside the scope of the dreddy hdparm application.
> And
> 99% of times its usage is bogous anyway. Or do you know any better
> examples I'm not aware of?

The struct hd_geometry is used by ioctl HDIO_GETGEO.
The struct hd_driveid is used by ioctl HDIO_GETIDENTITY

> The remainings will be moved away from there soon becouse it doesn't
> make any sense to include this at every single place out there where
> HDIO_GETGEO is the needed declaration. If some application needs ATA

This would be great, right now lots of drivers suck in the file for the
GETGEO stuff even though they are nothing to do with st506 or ide.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/