Hi, On Tuesday 24 April 2007, Mark Lord wrote: > Tejun Heo wrote: > > > > of the time. I think HDIO_GET_IDENTITY's meaning is something like > > "give me IDENTIFY page of the device as seen by the driver" and doesn't > > really matter as long as it can be used to get general idea about the > > device. > > The correct/original meaning of that ioctl was "boot time IDENTIFY" data. > As Alan said, it later got bastardized by various people at some point. It got de-bastardized later :) and currently HDIO_GET_IDENTITY seems to be returning "boot time IDENTIFY" with only two exceptions: * if ID can't be read et all - fake geometry with user supplied values to make things work - this is OK (was added by Alan IIRC) * id->dma_{1word,mword,ultra} (currently selected DMA transfer modes) are updated when the current transfer mode changes - this is of least importance than capacity/geometry data (since nowadays all speed tuning should be done by kernel anyway) and easy to fix once DMA rewrite patches from my tree get merged Thanks, Bart - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html