8250_fintek aliasing PNP0501

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ricardo,

There are some problems with the 8250_fintek driver.

Advertising as the PNP0501 driver but also having a module
dependency on the 8250 driver (which is also advertising as
the PNP0501 driver) is not a stable configuration.

The problem is that the 8250 driver will probe first (because
of the module dependency) and claim the pnp resource so the
the 8250_fintek driver never probes.

But it stays loaded; so if it is unloaded, it drops the
module reference and causes the 8250 driver to also unload.

The other problem is the *blind writing to port i/o addresses*
during the probe to id the Fintek part. This is not safe and
not ok. Some other mechanism for id'ing the part is required.
Is there some non-destructive method of id'ing the Fintek
part?

Regards,
Peter Hurley
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux