Most drivers do pretty much the same things in their hw_init() right now, so factor out that code to std_hw_init() in std.c.