netdev
[Top] [All Lists]

Re: 3c900 Vortex Linux kernel driver documentation

To: Karel Kulhavý <clock@xxxxxxxxxxxxx>
Subject: Re: 3c900 Vortex Linux kernel driver documentation
From: "Randy.Dunlap" <rddunlap@xxxxxxxx>
Date: Tue, 14 Oct 2003 09:53:49 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20031013183728.A300@xxxxxxxxxxxxxxxxxx>
Organization: OSDL
References: <20031013183728.A300@xxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 13 Oct 2003 18:37:28 +0200 Karel Kulhavý <clock@xxxxxxxxxxxxx> wrote:

| Hello
| 
| I have a 3c900 and want to set it to AUI and full duplex and
| having it compiled-in into the kernel, not as a module.
| 
| I have read Documentation/networking/vortex.txt but this documentation
| covers only the modules. Why is the documentation so incomplete?
| Please tell me how to set up the card.

Please try this, although I'm not yet convinced that the 3c59x
driver calls all of the right hooks for this to work.
but good luck, and please report back on it.

--
~Randy


Parameters when driver is built into kernel image
=================================================

There are a few parameters which may be provided to the driver as
the kernel is loaded if the driver is built into the kernel.
These parameters are passed as kernel boot options on the kernel
"command line", after the keyword "ether=".  The syntax for ether=
is:
        ether=irq,base_address,mem_start,mem_end,name
where mem_start is used for certain driver options (below).

Example:
        linux console=tty0 debug ether=11,0x320,9

If you need to pass options for multiple adapters, use "ether=..."
multiple times, separated by a space.

Supported driver options
------------------------

  The individual options are composed of a number of bitfields which
  have the following meanings:

  Possible media type settings
        0       10baseT
        1       10Mbs AUI
        2       undefined
        3       10base2 (BNC)
        4       100base-TX
        5       100base-FX
        6       MII (Media Independent Interface)
        7       Use default setting from EEPROM
        8       Autonegotiate
        9       External MII
        10      Use default setting from EEPROM

  When generating a value for the 'options' setting, the above media
  selection values may be OR'ed (or added to) the following:

  0x8000  Set driver debugging level to 7
  0x4000  Set driver debugging level to 2
  0x0400  Enable Wake-on-LAN
  0x0200  Force full duplex mode.
  0x0010  Bus-master enable bit (Old Vortex cards only)

  For example:

    ether=11,0x320,0x204

  will force full-duplex 100base-TX, rather than allowing the usual
  autonegotiation.


<Prev in Thread] Current Thread [Next in Thread>