summaryrefslogtreecommitdiff
path: root/src/drivers/net/rtl8139.c
AgeCommit message (Collapse)Author
2017-08-10renamed network write to network sendAndreas Baumann
2017-08-10forgot to set transmitting after writting (rtl8139)Andreas Baumann
2017-08-10more testing with UDPAndreas Baumann
2017-08-10some renamed in ethernet/rtl8139Andreas Baumann
don't try tp play with the ethernet CRCs, they belong to layer 2 OSI, the firmware of the network card rtl8139: computing packet size correctly (sizeof uint32_t of the CRC was part of the payload len)
2017-08-08sending sort of an ARP reply over the rtl8139 driverAndreas Baumann
2017-08-06some cleanup in ethernet constantsAndreas Baumann
sending back an ARP packet rtl8139: started to implement write (work in progress)
2017-08-02added an IPv4 module, currently containg an address to string functionAndreas Baumann
started to add ARP packet definition, reading and printing ARP request now some renames in networking layer
2017-08-02introduced a network library, added ethernet structure, movedAndreas Baumann
generic stuff out of the network driver, kernel now sees ARP messages and prints src and dst MAC addresses
2017-08-01freeing network data in handler and printing CRC in rtl8139Andreas Baumann
2017-08-01correctly receiving data in the rtl8139 driver and passing it to the networkAndreas Baumann
handler, in Qemu user network we see complete ARP requests now (sent by Qemu itself presumably to update it's 'router' table (an external telnet localhost 8080 is needed to trigger that)
2017-08-01sucessfully enabled DMA transfers in RTL8139 driverAndreas Baumann
2017-08-01we can receive network events, but the receive buffer remains emptyAndreas Baumann
this is because we must enable DMA transfering on the PCI bus (bus master enable)
2017-07-27work on rtl8139 driver, can trigger interrupts nowAndreas Baumann
2017-07-27receiving the first network interruptsAndreas Baumann
2017-07-24added print_name method to all driversAndreas Baumann
removed superfluos empty methods in abstract drivers moved printing of info to method in rtl8139 driver
2017-07-24sorted out the rtl8139 submodelsAndreas Baumann
2017-07-23printing vendor id of rtl8139 driver, started to set configurationAndreas Baumann
2017-07-23reading and printing MAC address int RTL8139 driverAndreas Baumann
2017-07-22started to code RTL8139 network driver, for now setting io_base and IRQAndreas Baumann
2017-07-20added a virtual network driver interface, made the dummy RTL8139 driver a ↵Andreas Baumann
specialization of it (nothing is functional there yet)
2017-07-16introduced classes of driver types (graphics, mouse, keyboard, network, etc.)Andreas Baumann
removed direct vga_init from kernel.c, using pci for this now, get the driver of type graphics from driver_manager
2017-07-15reworked driver init and vtable, taking the interrupt manager and the contextAndreas Baumann
as parameters when creating a driver
2017-07-15added a dummy RTL8139 network driverAndreas Baumann
added register interrupt handler methods to drivers (but I'm pretty unsure about them) setting network in qemu startup and using RTL8139 emulation drivers