Vortex full-duplex doesn't work?
Hello
I have collected from tidbits of information that ether=0,0,0x201,0,eth0 should set my 3c900 card to full duplex AUI.
I have tried this, then ifconfig eth0 up and then vortex-diag -vv and it still reports MAC Settings: half-duplex
When I rewrite all occurences of full_duplex in 3c59x.c for hard-coded "1", then I get MAC Settings: full-duplex
How do I set up this driver to force full-duplex AUI for 3c900 network card without using modules and without patching 3c59x.c?
Cl<
On Tue, 14 Oct 2003 22:31:09 +0200 Karel Kulhavý <[email protected]> wrote:
| Hello | | I have collected from tidbits of information that | ether=0,0,0x201,0,eth0 should set my 3c900 card to full duplex AUI. | | I have tried this, then ifconfig eth0 up and then | vortex-diag -vv and it still reports MAC Settings: half-duplex | | When I rewrite all occurences of full_duplex in 3c59x.c for hard-coded | "1", then I get MAC Settings: full-duplex | | How do I set up this driver to force full-duplex AUI for 3c900 network | card without using modules and without patching 3c59x.c?
BTW, what kernel version ???
As I indicated in another reply to you, <quote> 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. </quote>
It looks to me like (but I haven't traced it completely) 3c59x doesn't call netdev_boot_setup_check() [even indirectly], and that is needed to set the irq/base/mem_start/mem_end parameters for use during the probe() function.
(I'm looking at 2.4.22 source code for this.)
(3c59x uses mem_start for driver options flags.)
Can anyone confirm this? If so, we could fix it, but I'd like to have some confirmation of what I'm thinking on this since I can't test it (no vortex/boomerang adapter).
--
~Randy
Quoted 14 lines
| Hello | | I have collected from tidbits of information that | ether=0,0,0x201,0,eth0 should set my 3c900 card to full duplex AUI. | | I have tried this, then ifconfig eth0 up and then | vortex-diag -vv and it still reports MAC Settings: half-duplex | | When I rewrite all occurences of full_duplex in 3c59x.c for hard-coded | "1", then I get MAC Settings: full-duplex | | How do I set up this driver to force full-duplex AUI for 3c900 network | card without using modules and without patching 3c59x.c?
Quoted 1 line
BTW, what kernel version ???
2.4.22
Quoted 4 lines
As I indicated in another reply to you, <quote> 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. </quote>
So the only possibility apart from introducing modules is hacking it up in the driver? I tried the 3Com setup DOS diskette and it refuses to set full duplex together with AUI.
Cl<
On Tue, 14 Oct 2003 23:09:23 +0200 Karel Kulhavý <[email protected]> wrote:
| > | Hello | > | | > | I have collected from tidbits of information that | > | ether=0,0,0x201,0,eth0 should set my 3c900 card to full duplex AUI. | > | | > | I have tried this, then ifconfig eth0 up and then | > | vortex-diag -vv and it still reports MAC Settings: half-duplex | > | | > | When I rewrite all occurences of full_duplex in 3c59x.c for hard-coded | > | "1", then I get MAC Settings: full-duplex | > | | > | How do I set up this driver to force full-duplex AUI for 3c900 network | > | card without using modules and without patching 3c59x.c? | > | > BTW, what kernel version ??? | | 2.4.22 | | > As I indicated in another reply to you, <quote> | > 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. </quote> | | So the only possibility apart from introducing modules is hacking it up in the | driver?
Yes, I believe so.
| I tried the 3Com setup DOS diskette and it refuses to set full duplex | together with AUI.
That makes sense. Fdx requires 2 copper wire pairs. AUI is a shared wire medium.
--
~Randy
On Tue, 14 Oct 2003 14:13:19 -0700 "Randy.Dunlap" <[email protected]> wrote:
| On Tue, 14 Oct 2003 23:09:23 +0200 Karel Kulhavý <[email protected]> wrote: | | | > | Hello | | > | | | > | I have collected from tidbits of information that | | > | ether=0,0,0x201,0,eth0 should set my 3c900 card to full duplex AUI. | | > | | | > | I have tried this, then ifconfig eth0 up and then | | > | vortex-diag -vv and it still reports MAC Settings: half-duplex | | > | | | > | When I rewrite all occurences of full_duplex in 3c59x.c for hard-coded | | > | "1", then I get MAC Settings: full-duplex | | > | | | > | How do I set up this driver to force full-duplex AUI for 3c900 network | | > | card without using modules and without patching 3c59x.c? | | > | | > BTW, what kernel version ??? | | | | 2.4.22 | | | | > As I indicated in another reply to you, <quote> | | > 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. </quote> | | | | So the only possibility apart from introducing modules is hacking it up in the | | driver? | | Yes, I believe so. | | | I tried the 3Com setup DOS diskette and it refuses to set full duplex | | together with AUI. | | That makes sense. Fdx requires 2 copper wire pairs. AUI is a shared | wire medium.
OK, AUI is a 15-pin (?) connector, not a cable at all. Are you using a twisted-pair MAU on the AUI connector, or are you using a single ethernet cable?
(I don't know enough about the driver for this to matter.)
--
~Randy