Hello,
On Tue, Oct 30, 2012 at 11:09:21AM +0800, Aaron Lu wrote:
I'm not aware of a place to store such ODD specific information when
probing the device.
You can always add some fields. :)
I'm currently storing the loading mech type in structure zpodd, which
gets created after the corresponding SCSI device gets created in
ata_scsi_scan_host, so at the probe time, the zpodd structure does not
exist yet. And the reason I create the zpodd sturcture this late is
that, it is only created when the ODD together the platform is ZPODD
capable, and to find out if this platform is ZPODD capbale, ACPI binding
has to occur first, and ACPI binding happens when SCSI device is added
to the device tree.
Hmm... I see. Which ACPI binding is it? The ATA ACPI binding happens
during probing. It's a different one, I presume?
Thanks.
--
tejun