On 09/22/2010 09:43 PM, Mathias Krause wrote:
I managed to add the nvram option but how do I get a reference to the
drive back in the RTC code? Would I just loop with drive_get(IF_NONE, 0,
i) until the id of the returned drive is "nvram"? Doesn't sound right
but I've found no better solution due to the lack of an
drive_get_by_id() function.

You can write one. :) It's going to be very similar to drive_get_by_blockdev.

Paolo

Reply via email to