tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[RFC] aftermountroothook


some network devices require firmware to read MAC address. if such
devices are attached before root directory is mounted, they are not
attached as ordinary network interface.

in zyd(4), MAC address is not shown until "ifconfig up". some ioctls
will fail, or causes panic. (see kern/36821 and kern/43125)

to resolv this issue, following patch introduces "aftermountroothook".

use it when root directory is not mounted while attaching.

patch for zyd(4) is here,

this hook is especially required for upgt(4) and malo(4) because they
are used as built-in/on-board module on some machines.
(detach and re-attach physically is too difficult;)


  (this is not yet converted to use afterrootmounthook)


Home | Main Index | Thread Index | Old Index