Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1580771

Re: [PATCH 2/2] pcnet32: fix BNC/AUI port on AM79C970A

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] pcnet32: fix BNC/AUI port on AM79C970A
Date 2017-02-14 20:30 +0100
Message-ID <taQXw-5RZ-43@gated-at.bofh.it> (permalink)
References <taxBv-1wx-11@gated-at.bofh.it> <taxBv-1wx-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Ondrej Zary <linux@rainbow-software.org>
Date: Mon, 13 Feb 2017 23:45:47 +0100

> Even though the port autoselection is enabled by default on AM79C970A,
> BNC/AUI port does not work because the link is always reported to be
> down. The link state reported by the chip belongs only to the TP port
> but the driver uses it regardless of the port used. The chip can't
> detect BNC/AUI link state.
> 
> Disable port autoselection and use TP port by default to keep current
> behavior (link detection works on TP port, BNC/AUI port does not work).
> 
> Implement ethtool autoneg, port and duplex configuration to allow
> using the BNC/AUI port.
> 
> Report the TP link state only if the TP port is selected. When the
> port autoselection is enabled or AUI port is selected, report the link
> as always up.
> 
> Move pcnet32_suspend() and pcnet32_clr_suspend() functions to avoid
> forward declarations.
> 
> Signed-off-by: Ondrej Zary <linux@rainbow-software.org>

Also applied to net-next, thanks.

Are you really sure the is no way to discover the BNC/AUI link state
from the hardware?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] pcnet32: fix BNC/AUI port on AM79C970A Ondrej Zary <linux@rainbow-software.org> - 2017-02-13 23:50 +0100
  Re: [PATCH 2/2] pcnet32: fix BNC/AUI port on AM79C970A David Miller <davem@davemloft.net> - 2017-02-14 20:30 +0100
    Re: [PATCH 2/2] pcnet32: fix BNC/AUI port on AM79C970A Ondrej Zary <linux@rainbow-software.org> - 2017-02-14 22:00 +0100

csiph-web