LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-09-2002, 11:52 AM   #1
juniorone
LQ Newbie
 
Registered: Feb 2002
Posts: 5

Rep: Reputation: 0
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,..
 
Old 02-09-2002, 11:53 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
not sure what you mean by code.. ?? do you mean driver for your network card ??
 
Old 02-09-2002, 12:02 PM   #3
juniorone
LQ Newbie
 
Registered: Feb 2002
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Fluxbox simple question, simple answer? generallimptoes Linux - Software 3 09-26-2005 02:03 PM
Installing Programs - A simple question from my simple mind jmp875 Linux - Newbie 6 02-18-2004 09:03 PM
Hopefully a Simple Question Arcane Kidd Linux - Newbie 5 01-17-2003 04:27 PM
Really Simple Question -- Please help! Cia420 Linux - General 3 05-07-2002 06:42 AM
simple question seeking simple answer enzo250gto Linux - Newbie 1 10-27-2001 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration