StrongARM SA-1100 USB function "ethernet over usb driver"
Brad Parker <brad@parker.boston.ma.us>

I ported the DEC "Itsy" usb "ethernet over usb driver" code to the 2.4.x
base and made some enhacements and bug fixes.  This code has 2 sides and
implements a simple "ethernet over usb" functionality.

function (SA1100) side:
- the driver has two endpoints and uses interrupt and bulk transfer to
receive/send packets.  the driver does not require any other usb code
and should work on most any sa1100.

host (SA1111) side:
- because the SA1111 usb host is not working yet I tested this driver
(usb-net-host.c) on a 2.2.14 based PC with the latest usb backport.
It has been fully converted to use URBs and worked well with my UHCI
based controller.

TESTING:

To test you need an assabet on the 'function' side, a PC on the 'host'
side and a USB A-B cable to connect them together.

Boot a kernel on the assabet with "USB function and net-host support"
(CONFIG_SA1100_USB) turned on.  This will define an interface named
"usbf".  Once it's booted you can setup the interface with

	mount -t proc /proc /proc
	/sbin/ifconfig usbf 1.1.1.2

I used a 2.2.14 kernel on a x86 PC for the host side.  It has a built
in UHCI usb controller chip.  I installed the latest USB backport from
http://www.linux-usb.org onto the 2.2.14 kernel sources and turned on
"USB net-host" (CONFIG_USB_NET_HOST) as a module.  Load the module
"usb-net-host.o" and connect the USB cable to the assabet.  Configure
the usb network interface with

	/sbin/ifconfig usb0 1.1.1.1

You should be able to "ping" the assabet now with

	ping -c 1 1.1.1.2

If the assabet is running inetd the usual network services such as
telnet and ftp should work.

