[][src]Static sunrise_ahci::DISKS

static DISKS: Mutex<Vec<Arc<Mutex<Disk>>>>

Array of discovered disk.

At startup, the driver will initialize each disk it discovers, and populate this vec.

As hotplug/remove of a disk is not supported, this array remains unchanged for the rest of the driver's execution.

A disk id is just the index of a disk in this array.