minix/minix/drivers
David van Moolenbroek f7df02e747 libnetdriver: rewrite
This is a driver-breaking update to the netdriver library, which is
used by all network drivers.  The aim of this change is to make the
library more compatible with NetBSD, and in particular with various
features that are expected to be supported by the NetBSD userland.
The main changes made by this patch are the following:

- each network driver now has a NetBSD-style short device name;
- drivers are not expected to receive packets right after startup;
- extended support for receipt modes, including multicast lists;
- support for multiple parallel send, receive requests;
- embedding of I/O vectors in send and receive requests;
- support for capabilities, including checksum offloading;
- support for reporting link status updates to the TCP/IP stack;
- support for setting and retrieving media status;
- support for changing the hardware (MAC) address;
- support for NetBSD interface flags IFF_DEBUG, IFF_LINK[0-2];
- support for NetBSD error statistics;
- support for regular time-based ("tick") callbacks.

IMPORTANT: this patch applies a minimal update to the existing drivers
in order to make them work at all with the new netdriver library.  It
however does *not* change all drivers to make use of the new features.
In fact, strictly speaking, all drivers are now violating requirements
imposed by the new library in one way or another, most notably by
enabling packet receipt when starting the driver.  Changing all the
drivers to be compliant, and to support the newly added options, is
left to future patches.  The existing drivers should currently *not*
be taken as examples of how to implement a new network driver!

With that said, a few drivers have already been changed to make use of
some of the new features: fxp, e1000, rtl8139, and rtl8169 now report
link and media status, and the last three of those now support setting
the hardware MAC address on the fly.  In addition, dp8390 has been
changed to default to PCI autoconfiguration if no configuration is
specified through environment variables.

Change-Id: I4b3ea9c0b9bc25d5b0609c6ff256fb0db71cdc42
2017-04-30 13:15:28 +00:00
..
audio Rename MINIX service(8) to minix-service(8) 2017-02-22 17:16:21 +00:00
bus Rename MINIX service(8) to minix-service(8) 2017-02-22 17:16:21 +00:00
clock services: Selectively enable stateful restart. 2015-09-17 13:36:01 +00:00
eeprom Rename MINIX service(8) to minix-service(8) 2017-02-22 17:16:21 +00:00
examples moved service configuration out of system.conf 2016-02-07 19:17:43 +01:00
hid Various timer improvements 2016-08-05 11:12:44 +00:00
iommu Fix usage of parenthesis in Makefiles 2016-02-07 19:17:44 +01:00
net libnetdriver: rewrite 2017-04-30 13:15:28 +00:00
power Rename MINIX service(8) to minix-service(8) 2017-02-22 17:16:21 +00:00
printer moved service configuration out of system.conf 2016-02-07 19:17:43 +01:00
sensors Rename MINIX service(8) to minix-service(8) 2017-02-22 17:16:21 +00:00
storage ramdisk: clean up CD boot output 2017-02-24 18:19:43 +00:00
system Fix usage of parenthesis in Makefiles 2016-02-07 19:17:44 +01:00
tty PTY: add minimal support for TIOCPKT 2017-03-09 23:40:08 +00:00
usb Fix usage of parenthesis in Makefiles 2016-02-07 19:17:44 +01:00
video Rename MINIX service(8) to minix-service(8) 2017-02-22 17:16:21 +00:00
vmm_guest VBOX: update current time immediately at startup 2017-02-22 17:18:12 +00:00
Makefile INIT died problem / build system robustness 2014-08-28 08:52:50 +02:00
Makefile.inc merge libminlib with libc 2014-08-28 18:49:19 +02:00