lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdVGgW11UziFieCgXT7mSNA=_QgOaGAt42kEXqU9CUgqxA@mail.gmail.com>
Date:	Mon, 4 Aug 2014 21:44:04 +0200
From:	Geert Uytterhoeven <geert@...ux-m68k.org>
To:	Jean Delvare <jdelvare@...e.de>
Cc:	Chen Gang <gang.chen.5i5j@...il.com>,
	Karsten Keil <isdn@...ux-pingi.de>,
	"David S. Miller" <davem@...emloft.net>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Michal Simek <monstr@...str.eu>
Subject: Re: [PATCH] drivers/isdn/hisax/Kconfig: Let HISAX_NETJET skip
 microblaze architecture

On Mon, Aug 4, 2014 at 9:23 PM, Jean Delvare <jdelvare@...e.de> wrote:
>> --- a/drivers/isdn/hisax/Kconfig
>> +++ b/drivers/isdn/hisax/Kconfig
>> @@ -237,7 +237,7 @@ config HISAX_MIC
>>
>>  config HISAX_NETJET
>>       bool "NETjet card"
>> -     depends on PCI && (BROKEN || !(PPC || PARISC || M68K || (MIPS && !CPU_LITTLE_ENDIAN) || FRV || (XTENSA && !CPU_LITTLE_ENDIAN)))
>> +     depends on PCI && (BROKEN || !(PPC || PARISC || M68K || (MIPS && !CPU_LITTLE_ENDIAN) || FRV || (XTENSA && !CPU_LITTLE_ENDIAN) || MICROBLAZE))
>>       depends on VIRT_TO_BUS
>>       help
>>         This enables HiSax support for the NetJet from Traverse
>> @@ -249,7 +249,7 @@ config HISAX_NETJET
>>
>>  config HISAX_NETJET_U
>>       bool "NETspider U card"
>> -     depends on PCI && (BROKEN || !(PPC || PARISC || M68K || (MIPS && !CPU_LITTLE_ENDIAN) || FRV || (XTENSA && !CPU_LITTLE_ENDIAN)))
>> +     depends on PCI && (BROKEN || !(PPC || PARISC || M68K || (MIPS && !CPU_LITTLE_ENDIAN) || FRV || (XTENSA && !CPU_LITTLE_ENDIAN) || MICROBLAZE))
>>       depends on VIRT_TO_BUS
>>       help
>>         This enables HiSax support for the Netspider U interface ISDN card
>
> Fine with me, however the list is getting long. It would be better if
> we could depend on a functional symbol rather than a negated list of
> architectures. Would it make sense to have CONFIG_CPU_LITTLE_ENDIAN
> defined on all little-endian architectures, so that driver can depend
> on that if needed?

Yes, that idea pops up once in a while.

BTW, these days little endian PPC is also supported by Linux...

> Alternatively, it might make more sense to list the architectures where
> these drivers are actually used in practice. I guess that's X86, maybe
> ARM and IA64, and that's all?

|| COMPILE_TEST ....

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ