summaryrefslogtreecommitdiff
path: root/sys/src/9/port/devether.c
AgeCommit message (Collapse)Author
2020-06-06devpnp, devether, devusb: cast ISAConf.port to uvlong (for 32-bit ↵cinap_lenrek
implementations) The ISAConf.port might still be 32-bit on some archs.
2020-06-06devether: print Ether.port as 64-bit uvlongcinap_lenrek
2018-02-25kernel: properly handle bad attach specifierscinap_lenrek
- only accept decimal for numeric device id's - exclude negative device id's - device id's out of range yield Enodev
2018-02-25devether: remove (unimplemented) detach, allow device creation on attachcinap_lenrek
we allow devether to create ethernet cards on attach. this is useull for virtual cards like the sink driver, so we can create a sink by simply: bind -a '#l2:sink ea=112233445566' /net the detach routine was never called, so remove it from the few drivers that attempted to implement it.
2018-02-18devether: mux bridges, portable netconsolecinap_lenrek
2018-02-11kernel: move devether and wifi to port/cinap_lenrek
the only architecture dependence of devether was enabling interrupts, which is now done at the end of the driver's reset() function now. the wifi stack and dummy ethersink also go to port/. do the IRQ2->IRQ9 hack for pc kernels in intrenabale(), so not every caller of intrenable() has to be aware of it.