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]
Date:	Tue, 26 Mar 2013 18:10:43 +0000
From:	Arnd Bergmann <arnd@...db.de>
To:	Florian Fainelli <florian@...nwrt.org>
Cc:	stern@...land.harvard.edu, linux-kernel@...r.kernel.org,
	gregkh@...uxfoundation.org, linux-usb@...r.kernel.org
Subject: Re: [RFC PATCH 2/5] USB: remove USB_EHCI_BIG_ENDIAN_{DESC,MMIO} depends on architecture symbol

On Tuesday 26 March 2013, Florian Fainelli wrote:
> 
> Just like the OHCI counter part we just can remove the architecture
> specific symbols which prevent these configuration symbols from being
> selected by platforms/architectures requiring it. The original
> implementation did not scale at all since it required each and every
> single architecture to be added for these configuration symbols to be
> selected. Now it is up to the EHCI driver and/or platform to select
> these configuration symbols accordingly.
> 
> Signed-off-by: Florian Fainelli <florian@...nwrt.org>

Good idea, just one suggestion:

>  config USB_EHCI_BIG_ENDIAN_MMIO
>         bool
> -       depends on USB_EHCI_HCD && (PPC_CELLEB || PPC_PS3 || 440EPX || \
> -                                   ARCH_IXP4XX || XPS_USB_HCD_XILINX || \
> -                                   PPC_MPC512x || CPU_CAVIUM_OCTEON || \
> -                                   PMC_MSP || SPARC_LEON || MIPS_SEAD3)
> -       default y
> +       depends on USB_EHCI_HCD
> +       default n
>  
>  config USB_EHCI_BIG_ENDIAN_DESC
>         bool
> -       depends on USB_EHCI_HCD && (440EPX || ARCH_IXP4XX || XPS_USB_HCD_XILINX || \
> -                                   PPC_MPC512x || PMC_MSP || SPARC_LEON || \
> -                                   MIPS_SEAD3)
> -       default y
> +       depends on USB_EHCI_HCD
> +       default n
>  
>  config XPS_USB_HCD_XILINX
>         bool "Use Xilinx usb host EHCI controller core"

You can drop the "default n" line as well, it's the default.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ