[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160907.173746.787161029125318872.davem@davemloft.net>
Date: Wed, 07 Sep 2016 17:37:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hayeswang@...ltek.com
Cc: netdev@...r.kernel.org, nic_swsd@...ltek.com,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [PATCH net-next 0/3] r8152: configuration setting
From: Hayes Wang <hayeswang@...ltek.com>
Date: Wed, 7 Sep 2016 16:12:19 +0800
> Some people prefer to use ECM mode rather than vendor mode. Therefore, I add
> CONFIG_RTL8152_CONFIG_VALUE in Kconfig. Then, the users could choose the USB
> configuration value which they want. The default is to support vendor mode
> only.
By forcing a certain mode via a Kconfig value, you are basically making it
impossible for distributions to do something reasonable here.
This needs to be somehow a runtime thing, and I'm pretty sure we've
had many other situations of USB devices which want to be run by
different "personality" drivers in the past.
Perhaps we can do something generically for USB devices for this kind
of situation and make r8152 use it.
Thanks.
Powered by blists - more mailing lists