Simple Question ? I think so !
Good Afternoon to all,..
I got this netowkr card thats giving me hell,. now I got the code for the card do I have to reconpile my kernel with this new code ? Now can someone help me out,. I got the this code and I'm wondering if I got to reconpile? How would I know if I have to what are the sings to look for ? I think I can this thing done but I just need a little help ..... Please some one help me out,.. :confused: |
not sure what you mean by code.. ?? do you mean driver for your network card ??
|
Source Code
YES !! The source code for the network card ...
This is part of the ream me file 1. Platforms supported ---------------------- This driver has been tested on uniprocessor kernel versions:- 2.0.36 2.2.5-15 2.2.10 2.2.12-20 2.4.2-2 2. Adapters Supported --------------------- The following Madge Token-Ring adapters are supported: * 51-05 Smart Mk4 PCI Adapter * 53-05 Smart Mk4 PCI Adapter (low profile) * 3140 2010 Rapidfire 3140V2 16/4 TR PCI Adapter * 20-03 Smart 16/4 CardBus Mk2 3. Contents of the Distribution ------------------------------- ./ README - This file. Makefile - The 'Makefile'. config.in - Default configuration options for the driver. driver.h - Configuration file for the Universal Driver Toolkit (UDT). madgetr.c - Main driver source. madgetr.h - Main driver header. ver.h - Some macro definitions to try to make the driver source as compatible as possible over different kernel versions. madgecs.c - Source for the PCMCIA helper. madgecs.h - Header for the PCMCIA helper. madgecb.c - Source for the CardBus helper. madgecb.h - Header for the CardBus helper. ./udt - UDT source and header files. ./utils trconfig.c - A command line utility to display information about Madge Token Ring Adapters currently running. Demonstrates how to use the IOCTL interface. Also used to turn on/off MAC frame reception. mver.c - A command line utility to extract Madge product information strings from files. llcping.c - A command line utility to send a TEST or XID frame to another node and wait for the response. 4. Building the driver ---------------------- Prerequisites You must have at least the kernel headers installed, and if you want to build the PCMCIA/CardBus helper modules, you must have unpacked the pcmcia-cs source tree somewhere. Under RedHat the pcmcia source files can normally be found under /usr/src/linux/pcmcia-cs-*. The location varies on other distributions. Note: RedHat release 7 and upwards have the pcmcia/CardBus files bundled along with the kernel. The release does not provide the k_compat.h file, which has been provided in this distributiona and will be using this file during complilation. If you would like to use any of the pcmcia-cs-* releases, then you will have to compile the release with the kernel. For instructions on compiling the release, please refer to the readme files with the release. Step 1: Run make The first time you run make on a clean distribution a configuration script will run. It asks for the location of a kernel source tree. This source tree must have been configured and make dep run. It is best if the source tree has been configured and a kernel made from it and that kernel is running when the Madge Token Ring driver is built. The kernel configuration options can either be taken from the running kernel or from the kernel source tree. If the driver is to be used with the running kernel select that option. If you are building a driver to be used on a kernel version that is different from the kernel version that is currently running you will not be allowed to take configuration options from the currently running kernel. For the vast majority of cases it is fine to accept the default driver options. Note: SuSE 6.0 comes with two versions of the GNU C compiler. The default version that is executed when gcc is run (egcs 2.91) is not suitable for compiling kernel version 2.0.36 or kernel modules. Instead the other version (gcc 2.7.2.3) must be used. The configuration script should detect SuSE 6.0 and set the C compiler to be "gcc -V 2.7.2.3". If the other compiler is inadvertently used to compile the mtok module the compilation will fail. Step 2: Run make After configuring various locations make must be run again to build the driver. The driver file is called mtok.o. The PCMCIA helper driver is called mtok_cs.o and the CardBus helper is called mtok_cb.o. These modules will be found in the root of the distribution directory. |
All times are GMT -5. The time now is 03:20 PM. |