contiki/tools
Oliver Schmidt c2a71ee62b Updated several aspects regarding Ethernet drivers.
I. Build Ethernet drivers individually for each target.

After all the Ethernet cards/carts are different enough to ask for customized drivers. Building the drivers individually opens the option to use .ifdef's to customize them.

II. Removed Ethernet driver I/O base.

So far the base address of the Ethernet chip was a general property of all Ethernet drivers. It served two purposes:
1. Allowing to use a single Ethernet driver for a certain Ethernet chip, no matter what machine was connected to the chip.
2. Allowing use an Ethernet card in all Apple II slots.

However, we now use customized Ethernet drivers for the individual machines so 1.) isn't relevant anymore. In fact one wants to omit the overhead of a runtime-adjustable base address where it isn't needed.

So only the Apple II slots are left. But this should rather be a driver-internal approach then. We should just hand the driver the slot number the user wants to use and have the driver do its thing.

III. With per-target Ethernet drivers we can have per-target MAC addresses.

IV. Added support for RR-Net MK3 unique MAC addresses.

The RR-Net MK3 can be operated in two modes:

- In cartrigde mode it has a startup-ROM that sets the CS8900A MAC address to the unique MAC address.
- In clockport mode the driver has to read the two lowest MAC address bytes from the EEPROM and combine them with 28:CD:4C:FF.

See http://wiki.icomp.de/wiki/RR-Net#Detecting_MK3 for details.

The driver first checks if the current CS8900A MAC address starts with 28:CD:4C:FF. If it does, it overwrites its built in default MAC address with the CS8900A MAC address.

If the CS8900A MAC address didn't start with 28:CD:4C:FF, it checks if there are two valid MAC address bytes in the EEPROM. If they are there, it overwrites its built in default MAC address with a combination of 28:CD:4C:FF and those two bytes.

V. Added support for the upcoming 'Dracarys' Ethernet PBI for the ATARI.

See http://atariage.com/forums/topic/287376-preannouncement-dragon-cart-ii/ for details on Dracarys.

So far there was only one Ethernet solution for the ATARI. Therefore the relevant driver was loaded statically. With now having two solutions we have to load the corresponding driver dynamically (like on the other machines). Fortunately this doesn't mean significant additional overhead as there are several mouse drivers for the ATARI asking for dynamic mouse driver loading. Therefore the dynamic driver loading infrastructure was linked already.

Another aspect of more than one Ethernet solution is that the Ethernet config program becomes necessary on the ATARI to select the correct driver. Although that program is pretty simple and therefore rather small it means that now only one "major" program fits on a 130kB disk. So we need now 5(!) 130kB disk images instead 3 so far.
2019-05-08 16:46:47 +02:00
..
6502 Updated several aspects regarding Ethernet drivers. 2019-05-08 16:46:47 +02:00
apple2enh Updated several aspects regarding Ethernet drivers. 2019-05-08 16:46:47 +02:00
atarixl Updated several aspects regarding Ethernet drivers. 2019-05-08 16:46:47 +02:00
blaster Added App/Tool/Example for usage of additional flash on econotag/mc1322x 2015-09-14 20:43:12 +02:00
c64 Updated several aspects regarding Ethernet drivers. 2019-05-08 16:46:47 +02:00
c128 Updated several aspects regarding Ethernet drivers. 2019-05-08 16:46:47 +02:00
cc2538-bsl@c6100a7794 Updated cc2538-bsl to version 2.1 (c6100a7) 2016-06-24 22:10:39 +02:00
code-style
coffee-manager
collect-view collect-view gui: Add support for OS X serialdump and motelist 2015-12-02 14:37:36 +11:00
cooja fixed so that Cooja can run in quick mode when having UI 2016-12-15 13:52:05 +01:00
csc
cygwin
jn516x Added tools for NXP JN516x 2015-09-23 14:38:40 +02:00
mspsim@47ae45cb0f Updating mspsim submodule to latest 2015-09-30 21:47:14 +02:00
powertrace
release-tools Adjusted tests to recent changes. 2015-10-31 12:36:37 +01:00
sensniff@0d57c1129b Add sensniff as a submodule 2016-12-04 18:43:17 +00:00
sky Removed artifacts of former uip_appdata handling. 2017-02-05 23:20:39 +01:00
stm32w Removed artifacts of former uip_appdata handling. 2017-02-05 23:20:39 +01:00
wpcapslip Removed CC_FASTCALL. 2015-11-01 18:10:17 +01:00
z80
zolertia Orion: update motelist string 2017-01-12 11:23:20 +01:00
avr-make-symbols
avr-makecoffeedata
avr-makefsdata
base64-encode
codeprop.c
empty-symbols.c
empty-symbols.h
freebsd-6-setup-slip
make-symbols-nm
Makefile Moved generic baudrate defines and selection code to a new module tools/tools-utils.[ch] 2015-10-23 10:54:58 +02:00
makefsdata
makestrings
mknmlist
mknmlist-ansi
msp430-make-symbols
scat.c
serial-log.pl
setup-nat-ubuntu
tapslip6.c
timestamp
tools-utils.c Moved generic baudrate defines and selection code to a new module tools/tools-utils.[ch] 2015-10-23 10:54:58 +02:00
tools-utils.h Moved generic baudrate defines and selection code to a new module tools/tools-utils.[ch] 2015-10-23 10:54:58 +02:00
tunslip6.c Change the default IPv6 prefix from aaaa::/64 to fd00::/64 2016-03-07 17:47:44 +01:00
tunslip.c