Specifications

212 Version 2.0
The 4 USB devices are the hard disks, so their MTDs are “hd”.
A.2.5.2 Step 2: Determine HI
HI is determined by ACPI device path node and hardware device path node
1. Algorithm to calculate the HI
2. Enumerate all device path exist in system, whether there is a file system on it
or not.
3. Split the device path: the hardware and ACPI device path node part consists
of the HI device path that generates the HI and the remain device
path consist the CSD device path which generate the CSD.
Each kind of device path node has its own compare algorithm.
For acpi device path node, the compare algorithm is:
acpi(h1, u1) > acpi(h2, u2) only if h1 > h2 or (h1 = h2 and u1 > u2)
For pci device path node, the compare algorithm is:
pci(d1, f1) > pci (d2, f2) only if d1 > d2 or (d1 = d2 and f1>f2)
For example:
acpi(pnp0a03,0)/pci(1d|0) <….< acpi(pnp0a03,0)/pci(1d|1)<….<
acpi(pnp0a03,0)/pci(1d|2) <….< apci(pnp0a03,0)/pci(1d|3)
Use decimal number for HI (0, 1, 2, 3, …)
After sorting we can assign HI for each hardware device path node part:
acpi(pnp0a03,0)/pci(1d|0)/usb(0,1)/usb(1,1)/HD(Part4, sigxxx)
acpi(pnp0a03,0)/pci(1d|0) usb(0,1)/usb(1,1)/HD(Part4, sigxxx)
HI device path, for
generate HI.
CSD device path, for generate CSD.
Formatted: Bullets and Numbering