minix/drivers/dec21140A
David van Moolenbroek 9ba65d2ea8 This patch switches the MINIX3 ethernet driver stack from a port-based
model to an instance-based model. Each ethernet driver instance is now
responsible for exactly one network interface card. The port field in
/etc/inet.conf now acts as an instance field instead.

This patch also updates the data link protocol. This update:
- eliminates the concept of ports entirely;
- eliminates DL_GETNAME entirely;
- standardizes on using m_source for IPC and DL_ENDPT for safecopies;
- removes error codes from TASK/STAT replies, as they were unused;
- removes a number of other old or unused fields;
- names and renames a few other fields.

All ethernet drivers have been changed to:
- conform to the new protocol, and exactly that;
- take on an instance number based on a given "instance" argument;
- skip that number of PCI devices in probe iterations;
- use config tables and environment variables based on that number;
- no longer be limited to a predefined maximum of cards in any way;
- get rid of any leftover non-safecopy support and other ancient junk;
- have a correct banner protocol figure, or none at all.

Other changes:
* Inet.conf is now taken to be line-based, and supports #-comments.
  No existing installations are expected to be affected by this.
* A new, select-based asynchio library replaces the old one.
  Kindly contributed by Kees J. Bot.
* Inet now supports use of select() on IP devices.
  Combined, the last two changes together speed up dhcpd
  considerably in the presence of multiple interfaces.
* A small bug has been fixed in nonamed.
2010-05-17 22:22:53 +00:00
..
dec21140A.c This patch switches the MINIX3 ethernet driver stack from a port-based 2010-05-17 22:22:53 +00:00
dec21140A.h This patch switches the MINIX3 ethernet driver stack from a port-based 2010-05-17 22:22:53 +00:00
Makefile Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
README.txt dec21140A ethernet driver for virtualpc, contributed by nicolas tittley. 2010-01-26 10:20:18 +00:00

README file for the Dec21140A ethernet board driver as emulated by 
Microsoft VirtualPC 2007.

created August 2009, Nicolas Tittley (first.last@gmail)

LIMITATIONS:
------------

This driver supports only the Dec21140A as emulated by VPC2007. It is
untested in any other environment and will probably panic if you use it
outside VPC2007.

The driver supports bridged, nat and local network settings. See the
next section for a remark on seting up a nat environment.

Only one card can be used at a time, do not activate multiple network
cards in VPC2007, the driver will panic.

NOTE FOR USERS CONFIGURING VPC2007 TO USE NAT:

in /usr/etc/rc comment out the following three lines:

trap '' 2
intr -t 20 hostaddr -h
trap 2

VPC2007 does not play well with hostaddr and it will hang the boot process 
until you CTRL-C out of it.