local Hw = Io.Hw local Res = Io.Res Io.hw_add_devices { NIC = Hw.Device { hid = "smsc911x"; Res.mmio(0x4e000000, 0x4e000fff); Res.irq(60); } } Io.add_vbusses { --[[ l4lx = Io.Vi.System_bus( function () _self["smsc911x"] = wrap(Hw:match("smsc911x")); end), --]] l4lx = Io.Vi.System_bus{ ["smsc911x"] = wrap(Hw:match("smsc911x")); }; }