This driver was written to be a loadable module using the FreeBSD
4.0 "newbus" api.  As such, it will require backporting to work under 
older versions of FreeBSD (such as FreeBSD-3.2).

It has been developed & tested primarily on FreeBSD/alpha
(and minimally on FreeBSD/i386).  Testing has been minimal to this
point. 

If your GM build fails with this error

drivers/freebsd/ip/gb.c:595: too few arguments to function `ether_ifattach'

It is because you are using a freebsd CURRENT which adds a 2nd
parameter to ether_ifattach. The fix is to change
GM_ENABLE_FREEBSD_CURRENT from 0 to 1 in GM/drivers/freebsd/ip/gb.c.

To load the driver, run 'kldload binary/sbin/gm.ko'
To unload the driver, run 'kldunload -n gm.ko'

Known bugs:  
Driver UNLOAD causes a kernel panic.
It is currently possible to unload the module while a program is running
using GM.  This will, of course, cause a kernel panic.

Note that kldload can typically be found in the sbin directory.


One thing that is necessary is to make sure you have an up-to-date GENERIC
kernel built.  Here's why:

Because of incompatabilities between the GM & FreeBSD build
environments, (BSD make vs GNU make, etc), a shortcut was taken for
the kernel module build.  Rather than doing it right, we rely on the
builder having an up-to-date /usr/src/sys/compile/GENERIC laying
around.  If you do not have one do:

cd sys/{alpha,i386}/config
config -rg GENERIC
cd ../../compile/GENERIC
make depend && make

Then return to your GM module build.


