Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-13 | kernel: massive pci code rewrite | cinap_lenrek | |
The new pci code is moved to port/pci.[hc] and shared by all ports. Each port has its own PCI controller implementation, providing the pcicfgrw*() functions for low level pci config space access. The locking for pcicfgrw*() is now done by the caller (only port/pci.c). Device drivers now need to include "../port/pci.h" in addition to "io.h". The new code now checks bridge windows and membars, while enumerating the bus, giving the pc driver a chance to re-assign them. This is needed because some UEFI implementations fail to assign the bars for some devices, so we need to do it outselfs. (See pcireservemem()). While working on this, it was discovered that the pci code assimed the smallest I/O bar size is 16 (pcibarsize()), which is wrong. I/O bars can be as small as 4 bytes. Bit 1 in an I/O bar is also reserved and should be masked off, making the port mask: port = bar & ~3; | |||
2020-06-06 | pc/ether*: use 64-bit physical addresses and check pci membar types and sizes | cinap_lenrek | |
2019-07-11 | kernel: move common ethermii to port/ | cinap_lenrek | |
2018-10-07 | pc drivers: use pcienable() to handle device power up and missing initialization | cinap_lenrek | |
2018-02-18 | devether: mux bridges, portable netconsole | cinap_lenrek | |
2018-02-11 | kernel: 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. | |||
2014-06-08 | kernel: remove Block refcounting (thanks erik) | cinap_lenrek | |
2013-09-17 | ether8169, etherdp83820, ethervt6102: fix snprint READSTR bugs (thanks pap) | cinap_lenrek | |
should probably use seprint() instead. | |||
2011-12-12 | kernel: fix more malloc bugs | cinap_lenrek | |
2011-12-12 | kernel: fix inproper use of malloc/smalloc | cinap_lenrek | |
2011-03-30 | Import sources from 2011-03-30 iso image - lib | Taru Karttunen | |
2011-03-30 | Import sources from 2011-03-30 iso image | Taru Karttunen | |