Re: [PATCH 1/2] cx82310_eth: re-enable ethernet mode after router reboot

2020-10-12 Thread Ondrej Zary
On Monday 12 October 2020, Jakub Kicinski wrote: > On Sat, 10 Oct 2020 16:00:46 +0200 Ondrej Zary wrote: > > When the router is rebooted without a power cycle, the USB device > > remains connected but its configuration is reset. This results in > > a non-working ethernet con

[PATCH 2/2] cx82310_eth: use netdev_err instead of dev_err

2020-10-10 Thread Ondrej Zary
Use netdev_err for better device identification in syslog. Signed-off-by: Ondrej Zary --- drivers/net/usb/cx82310_eth.c | 28 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/drivers/net/usb/cx82310_eth.c b/drivers/net/usb/cx82310_eth.c index

[PATCH 1/2] cx82310_eth: re-enable ethernet mode after router reboot

2020-10-10 Thread Ondrej Zary
with invalid size of 0x. Signed-off-by: Ondrej Zary --- drivers/net/usb/cx82310_eth.c | 50 ++- 1 file changed, 44 insertions(+), 6 deletions(-) diff --git a/drivers/net/usb/cx82310_eth.c b/drivers/net/usb/cx82310_eth.c index 32b08b18e120..043679311399 100644

Re: [PATCH 12/30] net: wireless: cisco: airo: Fix a myriad of coding style issues

2020-08-28 Thread Ondrej Zary
On Friday 28 August 2020 10:59:37 Kalle Valo wrote: > Ondrej Zary writes: > > > On Thursday 27 August 2020 09:49:12 Kalle Valo wrote: > >> Ondrej Zary writes: > >> > >> > On Monday 17 August 2020 20:27:06 Jesse Brandeburg wrote: > >> >&

Re: [PATCH 12/30] net: wireless: cisco: airo: Fix a myriad of coding style issues

2020-08-27 Thread Ondrej Zary
On Thursday 27 August 2020 09:49:12 Kalle Valo wrote: > Ondrej Zary writes: > > > On Monday 17 August 2020 20:27:06 Jesse Brandeburg wrote: > >> On Mon, 17 Aug 2020 16:27:01 +0300 > >> Kalle Valo wrote: > >> > >> > I was surprised to

Re: [PATCH 12/30] net: wireless: cisco: airo: Fix a myriad of coding style issues

2020-08-17 Thread Ondrej Zary
27;t remove random drivers. I still have the Aironet PCMCIA card and can test the driver. -- Ondrej Zary

bnxt_en: NIC Link is Up, 100 Mbps full duplex - but no data

2018-11-28 Thread Ondrej Zary
a gigabit switch. Currently running 4.18.0-2-amd64 kernel (Debian testing). Any ideas? -- Ondrej Zary

Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it

2017-08-31 Thread Ondrej Zary
On Thursday 31 August 2017, Greg KH wrote: > On Tue, Aug 29, 2017 at 11:32:58PM +0200, Ondrej Zary wrote: > > On Tuesday 29 August 2017 01:42:08 David Miller wrote: > > > From: Greg Kroah-Hartman > > > Date: Sun, 27 Aug 2017 17:03:30 +0200 > > > > > &g

Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it

2017-08-29 Thread Ondrej Zary
f S=6 s=* pentium hint=0400 [ Computer ] (23) ^C 8 packets received by filter $ obexftp -i -l MMC Connecting..\done Receiving "MMC".../ ]> $ obexftp -i -c MMC -g Image004.jpg Connecting..\done Sending "MMC"...|done Receiving "Image004.jpg"...-done Disconnecting..\done -- Ondrej Zary

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

2017-02-14 Thread Ondrej Zary
On Tuesday 14 February 2017 20:28:56 David Miller wrote: > From: Ondrej Zary > 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 >

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

2017-02-13 Thread Ondrej Zary
ected. 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 --- drivers/net/ethernet/amd/pcnet32.c | 177 +-

[PATCH 1/2] pcnet32: factor out pcnet32_clr_suspend()

2017-02-13 Thread Ondrej Zary
Move the code to clear SUSPEND flag to a separate function to simplify code. Signed-off-by: Ondrej Zary --- drivers/net/ethernet/amd/pcnet32.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/net/ethernet/amd/pcnet32.c b/drivers/net/ethernet

[PATCH 3/3 v3] dl2k: Implement suspend

2015-11-19 Thread Ondrej Zary
Add suspend/resume support to dl2k driver. This requires RX/TX rings to be reset so split out the required functionality from alloc_list() into new rio_reset_ring(). Tested on Asus NX1101 (IP1000A) and D-Link DGE-550T (DL-2000). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c

[PATCH 2/3] dl2k: Reorder and cleanup initialization

2015-11-19 Thread Ondrej Zary
Move HW init and stop into separate functions. Request IRQ only after the HW has been reset (so interrupts are disabled and no stale interrupts are pending). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c | 95 ++--- 1 file changed, 56

[PATCH 1/3 v2] dl2k: Handle memory allocation errors in alloc_list

2015-11-19 Thread Ondrej Zary
If memory allocation fails in alloc_list(), free the already allocated memory and return -ENOMEM. In rio_open(), call alloc_list() first and abort if it fails. Move HW access (set RFDListPtr) out ot alloc_list(). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c | 182

[PATCH 1/3 v2] dl2k: Handle memory allocation errors in alloc_list

2015-11-18 Thread Ondrej Zary
If memory allocation fails in alloc_list(), free the already allocated memory and return -ENOMEM. In rio_open(), call alloc_list() first and abort if it fails. Move HW access (set RFDListPtr) out ot alloc_list(). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c | 182

[PATCH 2/3] dl2k: Reorder and cleanup initialization

2015-11-18 Thread Ondrej Zary
Move HW init and stop into separate functions. Request IRQ only after the HW has been reset (so interrupts are disabled and no stale interrupts are pending). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c | 95 ++--- 1 file changed, 56

[PATCH 3/3 v2] dl2k: Implement suspend

2015-11-18 Thread Ondrej Zary
Add suspend/resume support to dl2k driver. Tested on Asus NX1101 (IP1000A) and D-Link DGE-550T (DL-2000). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c | 55 +++-- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/drivers/net

Re: [PATCH 3/3] dl2k: Implement suspend

2015-11-18 Thread Ondrej Zary
On Tuesday 17 November 2015, Francois Romieu wrote: > Ondrej Zary : > [...] > > > diff --git a/drivers/net/ethernet/dlink/dl2k.c > > b/drivers/net/ethernet/dlink/dl2k.c index 9e9baa0..b53dfa7 100644 > > --- a/drivers/net/ethernet/dlink/dl2k.c > > +++ b/

Re: [PATCH 1/3] dl2k: Handle memory allocation errors in alloc_list

2015-11-18 Thread Ondrej Zary
On Tuesday 17 November 2015, Francois Romieu wrote: > Ondrej Zary : > > If memory allocation fails in alloc_list(), free the already allocated > > memory and return -ENODEV. In rio_open(), call alloc_list() first and > > abort if it fails. Move HW access (set RFDListP

[PATCH 2/3] dl2k: Reorder and cleanup initialization

2015-11-17 Thread Ondrej Zary
Move HW init and stop into separate functions. Request IRQ only after the HW has been reset (so interrupts are disabled and no stale interrupts are pending). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c | 95 ++--- 1 file changed, 56

[PATCH 3/3] dl2k: Implement suspend

2015-11-17 Thread Ondrej Zary
Add suspend/resume support to dl2k driver. Tested on Asus NX1101 (IP1000A) and D-Link DGE-550T (DL-2000). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c | 46 + 1 file changed, 46 insertions(+) diff --git a/drivers/net/ethernet/dlink

[PATCH 1/3] dl2k: Handle memory allocation errors in alloc_list

2015-11-17 Thread Ondrej Zary
If memory allocation fails in alloc_list(), free the already allocated memory and return -ENODEV. In rio_open(), call alloc_list() first and abort if it fails. Move HW access (set RFDListPtr) out ot alloc_list(). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c | 182

[PATCH] dl2k: Implement suspend

2015-11-16 Thread Ondrej Zary
Add suspend/resume support to dl2k driver. Tested on Asus NX1101 (IP1000A) and D-Link DGE-550T (DL-2000). Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/dl2k.c | 189 + 1 file changed, 128 insertions(+), 61 deletions(-) diff --git a/drivers/net

[PATCH 2/2] ipg: Remove ipg driver

2015-11-15 Thread Ondrej Zary
Now that IP1000A chips are supported by dl2k driver, the buggy ipg driver can be removed. Signed-off-by: Ondrej Zary --- MAINTAINERS |7 - drivers/net/ethernet/Kconfig |1 - drivers/net/ethernet/Makefile|1 - drivers/net/ethernet/icplus

[PATCH 1/2 v2] dl2k: Add support for IP1000A-based cards

2015-11-15 Thread Ondrej Zary
both. Tested that it does not break D-Link DGE-550T (DL-2000 chip, probably a rebranded TC9020): vendor=0x1186 device=0x4000 (rev 0x0c) subsystem vendor=0x1186 device=0x4000 Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/Kconfig |5 ++-- drivers/net/ethernet/dlink/dl2k.c | 55

Re: [PATCH 1/2] dl2k: Add support for IP1000A-based cards

2015-11-15 Thread Ondrej Zary
On Sunday 15 November 2015 18:59:05 David Miller wrote: > From: Andy Shevchenko > Date: Sun, 15 Nov 2015 04:30:25 +0200 > > > On Sun, Nov 15, 2015 at 12:05 AM, Ondrej Zary > > > >> @@ -433,9 +474,10 @@ rio_open (struct net_device *dev) > >> > >>

Re: [PATCH 1/2] dl2k: Add support for IP1000A-based cards

2015-11-15 Thread Ondrej Zary
On Sunday 15 November 2015 03:30:25 Andy Shevchenko wrote: > On Sun, Nov 15, 2015 at 12:05 AM, Ondrej Zary > > wrote: > > Add support for IP1000A chips to dl2k driver. > > IP1000A chip looks like a TC9020 with integrated PHY. > > > > This allows IP1000A chips

[PATCH 2/2] ipg: Remove ipg driver

2015-11-14 Thread Ondrej Zary
Now that IP1000A chips are supported by dl2k driver, the buggy ipg driver can be removed. The ipg driver loses packets under load and then completely stops transmitting data. Signed-off-by: Ondrej Zary --- MAINTAINERS |7 - drivers/net/ethernet/Kconfig

[PATCH 1/2] dl2k: Add support for IP1000A-based cards

2015-11-14 Thread Ondrej Zary
1000Mbps. Also verified that it does not break D-Link DGE-550T. Signed-off-by: Ondrej Zary --- drivers/net/ethernet/dlink/Kconfig |5 ++-- drivers/net/ethernet/dlink/dl2k.c | 51 +--- drivers/net/ethernet/dlink/dl2k.h | 15 ++- 3 files changed, 65

[PATCH v3 2/2] airo: Implement netif_carrier_on/off

2015-09-21 Thread Ondrej Zary
Add calls to netif_carrier_on and netif_carrier_off Signed-off-by: Ondrej Zary --- drivers/net/wireless/airo.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 67001a8..8ae838d 100644 --- a/drivers/net/wireless/airo.c

[PATCH v3 1/2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-21 Thread Ondrej Zary
IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as wpa_supplicant uses it for both no encryption and WEP open system. Cache the last mode set (only of these two) and use it here. This allows wpa_supplicant to work with unencrypted APs. Signed-off-by: Ondrej Zary --- drivers/net

[PATCH 1/2 v3] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-20 Thread Ondrej Zary
IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as wpa_supplicant uses it for both no encryption and WEP open system. Cache the last mode set (only of these two) and use it here. This allows wpa_supplicant to work with unencrypted APs. Signed-off-by: Ondrej Zary --- drivers/net

[PATCH 2/2 v3] airo: Implement netif_carrier_on/off

2015-09-20 Thread Ondrej Zary
Add calls to netif_carrier_on and netif_carrier_off Signed-off-by: Ondrej Zary --- drivers/net/wireless/airo.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 67001a8..8ae838d 100644 --- a/drivers/net/wireless/airo.c

Re: [PATCH 1/2 v2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-18 Thread Ondrej Zary
On Friday 18 September 2015 18:54:35 Dan Williams wrote: > On Tue, 2015-09-15 at 17:18 +0200, Ondrej Zary wrote: > > IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as > > wpa_supplicant uses it for both no encryption and WEP open system. > > Cache the last mode s

[PATCH 1/2 v2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-15 Thread Ondrej Zary
IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as wpa_supplicant uses it for both no encryption and WEP open system. Cache the last mode set (only of these two) and use it here. This allows wpa_supplicant to work with unencrypted APs. Signed-off-by: Ondrej Zary --- drivers/net

[PATCH 2/2] airo: Implement netif_carrier_on/off

2015-09-15 Thread Ondrej Zary
Add calls to netif_carrier_on and netif_carrier_off Signed-off-by: Ondrej Zary --- drivers/net/wireless/airo.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index a8f2767..629245c 100644 --- a/drivers/net

Re: [RFC, RFT PATCH 1/2] dl2k: Add support for IP1000A-based cards

2015-09-04 Thread Ondrej Zary
On Tuesday 25 August 2015 23:26:13 Ondrej Zary wrote: > On Tuesday 25 August 2015 23:04:30 David Miller wrote: > > From: Ondrej Zary > > Date: Sun, 23 Aug 2015 23:06:27 +0200 > > > > > Add support for IP1000A chips to dl2k driver. > > > IP1000A chip

Re: [PATCH 1/2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-01 Thread Ondrej Zary
On Tuesday 01 September 2015 02:04:43 Dan Williams wrote: > On Tue, 2015-09-01 at 00:12 +0200, Ondrej Zary wrote: > > On Monday 31 August 2015 22:44:54 Dan Williams wrote: > > > On Mon, 2015-08-31 at 21:19 +0200, Ondrej Zary wrote: > > > > Handle IW_AUTH_ALG_OPEN_SY

Re: [PATCH 1/2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-08-31 Thread Ondrej Zary
On Monday 31 August 2015 22:44:54 Dan Williams wrote: > On Mon, 2015-08-31 at 21:19 +0200, Ondrej Zary wrote: > > Handle IW_AUTH_ALG_OPEN_SYSTEM in set_auth. > > This allows wpa_supplicant (and thus NetworkManager) to work with open > > APs. > > >

[PATCH 2/2] airo: Implement netif_carrier_on/off

2015-08-31 Thread Ondrej Zary
Add calls to netif_carrier_on and netif_carrier_off Signed-off-by: Ondrej Zary --- drivers/net/wireless/airo.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 2066a1f..1a9ddcd 100644 --- a/drivers/net

[PATCH 1/2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-08-31 Thread Ondrej Zary
Handle IW_AUTH_ALG_OPEN_SYSTEM in set_auth. This allows wpa_supplicant (and thus NetworkManager) to work with open APs. Signed-off-by: Ondrej Zary --- drivers/net/wireless/airo.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/airo.c b/drivers

Re: [RFC, RFT PATCH 1/2] dl2k: Add support for IP1000A-based cards

2015-08-25 Thread Ondrej Zary
On Tuesday 25 August 2015 23:04:30 David Miller wrote: > From: Ondrej Zary > Date: Sun, 23 Aug 2015 23:06:27 +0200 > > > Add support for IP1000A chips to dl2k driver. > > IP1000A chip looks like a TC9020 with integrated PHY. > > > > Tested with Asus NX1101. >

[RFC, RFT PATCH 2/2] ipg: Remove ipg driver

2015-08-23 Thread Ondrej Zary
Now that IP1000A chips are supported by dl2k driver, the buggy ipg driver can be removed. --- drivers/net/ethernet/Kconfig |1 - drivers/net/ethernet/Makefile|1 - drivers/net/ethernet/icplus/Kconfig | 13 - drivers/net/ethernet/icplus/Makefile |5 - drivers/net/eth

[RFC, RFT PATCH 1/2] dl2k: Add support for IP1000A-based cards

2015-08-23 Thread Ondrej Zary
VDEVICE(SUNDANCE, 0x2021), CHIP_IP1000A }, + { PCI_VDEVICE(DLINK, 0x9021), CHIP_IP1000A }, + { PCI_VDEVICE(DLINK,0x4020), CHIP_IP1000A }, { } }; MODULE_DEVICE_TABLE (pci, rio_pci_tbl); -- Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

ipg and dl2k mess

2015-08-21 Thread Ondrej Zary
E_TABLE (pci, rio_pci_tbl); -- Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Compex FreedomLine 32 PnP-PCI2 broken with de2104x

2008-02-25 Thread Ondrej Zary
rker. So we have two unmaintained drivers - one that works fine (and is production quality - or at least seems to be) but does not support hotplug APIs and one that was never finished (the TP-unplug problem is present at least since 2003). Perhaps de4x5 could be ported to new API(s)? I think th

[PATCH] de2104x: remove BUG_ON() when changing media type

2008-02-25 Thread Ondrej Zary
When the chip dies (probably because of a bug somewhere in the driver), de_stop_rxtx() fails and changing the media type crashes the whole machine. Replace BUG_ON() in de_set_media() with a warning. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net

Re: Compex FreedomLine 32 PnP-PCI2 broken with de2104x

2008-02-18 Thread Ondrej Zary
On Monday 18 February 2008 04:21:11 Grant Grundler wrote: > On Wed, Jan 30, 2008 at 09:23:06PM +0100, Ondrej Zary wrote: > > On Saturday 26 January 2008 21:58:10 Ondrej Zary wrote: > > > Hello, > > > I was having problems with these FreedomLine cards with Linux

[PATCH] [resend] 3c509: convert to isa_driver and pnp_driver v5

2008-02-17 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. EISA and MCA only compile-tested. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-10 21:52:04.000

[PATCH] [resend] 3c509: convert to isa_driver and pnp_driver v5

2008-02-13 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. EISA and MCA only compile-tested. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-10 21:52:04.000

[PATCH] 3c509: convert to isa_driver and pnp_driver v5

2008-02-10 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. EISA and MCA only compile-tested. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-10 21:52:04.000

Re: [PATCH] [resend] 3c509: convert to isa_driver and pnp_driver v4

2008-02-09 Thread Ondrej Zary
On Saturday 09 February 2008 22:48:05 Stephen Hemminger wrote: > On Sat, 9 Feb 2008 22:33:07 +0100 > > Ondrej Zary <[EMAIL PROTECTED]> wrote: > > Hello, > > this patch converts 3c509 driver to isa_driver and pnp_driver. The result > > is that autoloading using ud

[PATCH] [resend] 3c509: convert to isa_driver and pnp_driver v4

2008-02-09 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. EISA and MCA only compile-tested. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-07 17:58:45.000

[PATCH] 3c509: convert to isa_driver and pnp_driver v4

2008-02-07 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. EISA and MCA only compile-tested. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-07 17:58:45.000

[PATCH] [resend] 3c509: convert to isa_driver and pnp_driver v3

2008-02-06 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-04 22:30:37.0 +0100 @@ -54,25

[PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v3

2008-02-04 Thread Ondrej Zary
cards in various combinations of PnP and non-PnP modes. Signed-off-by: Ondrej Zary <[EMAIL PROTECTED]> --- linux-2.6.24-orig/drivers/net/3c509.c 2008-01-27 19:48:19.0 +0100 +++ linux-2.6.24-pentium/drivers/net/3c509.c2008-02-04 22:30:37.0 +0100 @@ -54,25

Re: [PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v2

2008-02-02 Thread Ondrej Zary
On Saturday 02 February 2008 22:07:20 Pekka Enberg wrote: > Hi, > > On Feb 2, 2008 8:25 PM, Ondrej Zary <[EMAIL PROTECTED]> wrote: > > +//static __be16 el3_phys_addr[EL3_MAX_CARDS][3]; > > [snip] > > > +//#if defined(CONFIG_MCA) || defined(CONFIG_EISA) >

Re: [PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v2

2008-02-02 Thread Ondrej Zary
On Saturday 02 February 2008 21:50:25 Jeff Garzik wrote: > Ondrej Zary wrote: > > Hello, > > this is second version of the patch. Autoloading using udev works fine > > with PnP card. Hibernation now works both in PnP and ISA modes. The I/O > > address used for non-pnp IS

[PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v2

2008-02-02 Thread Ondrej Zary
= err; - } + ret = mca_register_driver(&el3_mca_driver); + if (!ret) + mca_registered = 1; +#endif + +#ifdef CONFIG_PNP + if (pnp_registered) + ret = 0; +#endif + if (isa_registered) + ret = 0; +#ifdef CONFIG_EISA + if

[PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver

2008-01-31 Thread Ondrej Zary
G_EISA + if (eisa_registered) + ret = 0; #endif +#ifdef CONFIG_MCA + if (mca_registered) + ret = 0; +#endif + printk("el3_cards=%d\n", el3_cards); return ret; } static void __exit el3_cleanup_module(void) { - struct net_device *next_dev; - - while (el3_root_dev) { - struct el3_private *lp = netdev_priv(el3_root_dev); - - next_dev = lp->next_dev; - el3_common_remove (el3_root_dev); - el3_root_dev = next_dev; - } - + int i; + +// for (i = 0; i < el3_cards; i++) +// el3_common_remove(el3_devs[i]); + +#ifdef CONFIG_PNP + if (pnp_registered) + pnp_unregister_driver(&el3_pnp_driver); +#endif + if (isa_registered) + isa_unregister_driver(&el3_isa_driver); #ifdef CONFIG_EISA - eisa_driver_unregister (&el3_eisa_driver); + if (eisa_registered) + eisa_driver_unregister (&el3_eisa_driver); #endif #ifdef CONFIG_MCA - mca_unregister_driver(&el3_mca_driver); + if (mca_registered) + mca_unregister_driver(&el3_mca_driver); #endif } -- Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Compex FreedomLine 32 PnP-PCI2 broken with de2104x

2008-01-30 Thread Ondrej Zary
On Saturday 26 January 2008 21:58:10 Ondrej Zary wrote: > Hello, > I was having problems with these FreedomLine cards with Linux before but > tested it thoroughly today. This card uses DEC 21041 chip and has TP and > BNC connectors: > > 00:12.0 Ethernet controller [0200]:

Re: Udev coldplugging loads 8139too driver instead of 8139cp

2008-01-29 Thread Ondrej Zary
AG: not loading $module for this device" > continue > fi > ;; > esac > list="$list $module" > done > modlist="$list" > fi > ;; > esac > > /mjt > -- > To unsubscribe fr

Compex FreedomLine 32 PnP-PCI2 broken with de2104x

2008-01-26 Thread Ondrej Zary
ately, this driver is blacklisted by default - at least in Slackware and Debian. The question is: why does de2104x exist? Does it work better with some hardware? BTW. Found that the problem exist at least since 2003: http://oss.sgi.com/archives/netdev/2003-08/msg00951.html -- Ondrej Zary