[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1320441002.5386.4.camel@jtkirshe-mobl>
Date: Fri, 04 Nov 2011 14:10:02 -0700
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: Russell King - ARM Linux <linux@....linux.org.uk>
Cc: "torvalds@...ux-foundation.org" <torvalds@...ux-foundation.org>,
"davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"gospo@...hat.com" <gospo@...hat.com>,
"sassmann@...hat.com" <sassmann@...hat.com>,
Hamish Coleman <hamish@....apana.org.au>
Subject: Re: [net-next 03/10] seeq: Move the SEEQ drivers
On Fri, 2011-11-04 at 10:24 -0700, Russell King - ARM Linux wrote:
> Okay, this is the only patch I saw (for the SEEQ drivers), but I notice
> that more of the ARM drivers have moved. The result is not nice. Or
> even workable.
>
> While looking for my ether1, ether3 and etherh drivers in Kconfig, I
> enable every option which is presented to me under the new 'ethernet
> drivers' stuff. I'm offered my ether3 driver under the SEEQ stuff -
> that's fine. But what about the rest?
>
> Well...
>
> drivers/net/ethernet/intel/Kconfig:
> config NET_VENDOR_INTEL
> bool "Intel devices"
> default y
> depends on PCI || PCI_MSI
>
> drivers/net/ethernet/i825xx/Kconfig:
> config NET_VENDOR_I825XX
> bool "Intel (82586/82593/82596) devices"
> default y
> depends on NET_VENDOR_INTEL && (ISA || ISA_DMA_API || ARM || \
> ARCH_ACORN || MCA || MCA_LEGACY || SNI_RM || SUN3 || \
> GSC || BVME6000 || MVME16x || EXPERIMENTAL)
>
> if NET_VENDOR_I825XX
> config ARM_ETHER1
> tristate "Acorn Ether1 support"
> depends on ARM && ARCH_ACORN
>
> This is NOT a PCI driver, yet it has ended up with a requirement for
> CONFIG_PCI to be set, which is nonsense for this platform because it
> has no PCI.
>
> What about etherh?
> drivers/net/ethernet/natsemi/Kconfig:
> config NET_VENDOR_NATSEMI
> bool "National Semi-conductor devices"
> default y
> depends on MCA || MAC || MACH_JAZZ || PCI || XTENSA_PLATFORM_XT2000
>
> drivers/net/ethernet/8390/Kconfig:
> config NET_VENDOR_8390
> bool "National Semi-conductor 8390 devices"
> default y
> depends on NET_VENDOR_NATSEMI && (AMIGA_PCMCIA || PCI || SUPERH || \
> ISA || MCA || EISA || MAC || M32R || MACH_TX49XX || \
> MCA_LEGACY || H8300 || ARM || MIPS || ZORRO || PCMCIA || \
> EXPERIMENTAL)
> if NET_VENDOR_8390
> config ARM_ETHERH
> tristate "I-cubed EtherH/ANT EtherM support"
> depends on ARM && ARCH_ACORN
>
> Again, exactly the same thing.
>
> Thankfully, ARM_AM79C961A is right, so that's two out of five correct.
>
> I've no idea what the right solution is to this complex maze of Kconfig
> stuff. Do I through an 'ARM' into the NET_VENDOR_INTEL and
> NET_VENDOR_NATSEMI dependencies?
>
> While I realise this is a big change, and bugs like this are likely, it
> would've been nice to be copied on more of the patches which affect
> drivers I maintain.
I just submitted a patch to resolve this issue with the "sub" Kconfig's
having a dependency which is not reflected in the "parent" Kconfig.
http://patchwork.ozlabs.org/patch/123250/
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists