Re: net/wan: hostess_sv11 + z85230 problems

From: Randy Dunlap
Date: Mon Oct 15 2018 - 18:24:42 EST


On 10/15/18 1:20 AM, Krzysztof HaÅasa wrote:
> Hi,
>
> Randy Dunlap <rdunlap@xxxxxxxxxxxxx> writes:
>
>> kernel 4.19-rc7, on i386, with NO wan/hdlc/hostess/z85230 hardware:
>>
>> modprobe hostess_sv11 + autoload of z85230 give:
>
> BTW Hostess SV11 is apparently an ISA card, with all those problems.

Yeah.

>> [ 3162.511877] Call Trace:
...
>
> Not sure about z8530 internals (driver and hw), but I guess the sv11
> driver should initialize the hw first, and only then request_irq().
> Perhaps there should be no "default address" either? The user would
> have to provide the hardware parameters explicitly.
>
> How about this (totally untested):
> Fix the Hostess SV11 driver trying to use the hardware before its
> existence is detected.
>
> Signed-off-by: Krzysztof Halasa <khalasa@xxxxxxx>

Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

or you can just rm it, like Alan suggested.

thanks.
--
~Randy