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] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1803261427380.1382-100000@iolanthe.rowland.org>
Date:   Mon, 26 Mar 2018 14:28:09 -0400 (EDT)
From:   Alan Stern <stern@...land.harvard.edu>
To:     Alban Bedel <albeu@...e.fr>
cc:     linux-usb@...r.kernel.org, Ralf Baechle <ralf@...ux-mips.org>,
        James Hogan <jhogan@...nel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Mathias Nyman <mathias.nyman@...ux.intel.com>,
        Benjamin Herrenschmidt <benh@...nel.crashing.org>,
        Alex Elder <elder@...aro.org>,
        Chunfeng Yun <chunfeng.yun@...iatek.com>,
        Lu Baolu <baolu.lu@...ux.intel.com>,
        Tony Lindgren <tony@...mide.com>, <linux-mips@...ux-mips.org>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] usb: host: Remove the deprecated ATH79 USB host config
 options

On Sat, 24 Mar 2018, Alban Bedel wrote:

> The options USB_EHCI_ATH79 and USB_OHCI_ATH79 only enable the
> generic EHCI and OHCI platform drivers, and have been marked as
> deprecated since 2012.
> 
> These can be safely removed if we make sure that USB_EHCI_ROOT_HUB_TT
> still get enabled for the EHCI driver. This is now done be selecting
> this option when the EHCI platform driver is enabled on the ATH79
> platform.
> 
> Signed-off-by: Alban Bedel <albeu@...e.fr>
> ---
>  arch/mips/Kconfig        |  1 +
>  drivers/usb/host/Kconfig | 25 -------------------------
>  2 files changed, 1 insertion(+), 25 deletions(-)
> 
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index 8128c3b..61e9a24 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -200,6 +200,7 @@ config ATH79
>  	select SYS_SUPPORTS_MIPS16
>  	select SYS_SUPPORTS_ZBOOT_UART_PROM
>  	select USE_OF
> +	select USB_EHCI_ROOT_HUB_TT if USB_EHCI_HCD_PLATFORM
>  	help
>  	  Support for the Atheros AR71XX/AR724X/AR913X SoCs.
>  
> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> index 4fcfb30..55b45dc 100644
> --- a/drivers/usb/host/Kconfig
> +++ b/drivers/usb/host/Kconfig
> @@ -293,19 +293,6 @@ config USB_CNS3XXX_EHCI
>  	  It is needed for high-speed (480Mbit/sec) USB 2.0 device
>  	  support.
>  
> -config USB_EHCI_ATH79
> -	bool "EHCI support for AR7XXX/AR9XXX SoCs (DEPRECATED)"
> -	depends on (SOC_AR71XX || SOC_AR724X || SOC_AR913X || SOC_AR933X)
> -	select USB_EHCI_ROOT_HUB_TT
> -	select USB_EHCI_HCD_PLATFORM
> -	default y
> -	---help---
> -	  This option is deprecated now and the driver was removed, use
> -	  USB_EHCI_HCD_PLATFORM instead.
> -
> -	  Enables support for the built-in EHCI controller present
> -	  on the Atheros AR7XXX/AR9XXX SoCs.
> -
>  config USB_EHCI_HCD_PLATFORM
>  	tristate "Generic EHCI driver for a platform device"
>  	default n
> @@ -489,18 +476,6 @@ config USB_OHCI_HCD_DAVINCI
>  	  controller. This driver cannot currently be a loadable
>  	  module because it lacks a proper PHY abstraction.
>  
> -config USB_OHCI_ATH79
> -	bool "USB OHCI support for the Atheros AR71XX/AR7240 SoCs (DEPRECATED)"
> -	depends on (SOC_AR71XX || SOC_AR724X)
> -	select USB_OHCI_HCD_PLATFORM
> -	default y
> -	help
> -	  This option is deprecated now and the driver was removed, use
> -	  USB_OHCI_HCD_PLATFORM instead.
> -
> -	  Enables support for the built-in OHCI controller present on the
> -	  Atheros AR71XX/AR7240 SoCs.
> -
>  config USB_OHCI_HCD_PPC_OF_BE
>  	bool "OHCI support for OF platform bus (big endian)"
>  	depends on PPC

For the EHCI and OHCI portions:

Acked-by: Alan Stern <stern@...land.harvard.edu>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ