Testing The Driver Software - NETGEAR GA622T Reference Manual

Copper gigabit ethernet card
Hide thumbs Also See for GA622T:
Table of Contents

Advertisement

4. Add the following lines to any of the startup scripts like
/etc/rc.d/init.d/network
# /sbin/insmod /lib/modules/2.2.12-20/net/gam.o
# /sbin/ifconfig <interface-name> <ip-addr>
Note: You may need to enter a different pathname than what is shown on the
first line, above, depending on the Linux kernel version number you have.To find
out the exact version number of the Linux kernel, use this command:
ls -al /lib/modules
You can dynamically load and unload the driver from a running kernel with the
following commands:
# insmod gam.o
# rmmod gam.o

Testing the Driver Software

To install and test the driver, shut down the network stack, install the driver, and
re-start the stack again with these commands:
# sh /etc/rc.d/init.d/network stop
# insmod gam.o
# sh /etc/rc.d/init.d/network start
When the driver is loaded into the system with the
probes the PCI bus to locate all GA622T devices, and creates control structures for
each.The driver logs a couple of messages available in the
for each device with information about its PCI geographic location, IRQ, IO address,
and some basic debug information (addresses of some important structures).
so that the driver will load when the system boots up:
insmod
/etc/rc.d/rc.local
command, the driver
/var/log/messages
Linux driver software
or
file
7-3

Advertisement

Table of Contents
loading

Table of Contents