* Need to remove ch35x wch driver which already running
@ 2012-11-16 7:59 Lokesh
2012-11-16 11:23 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Lokesh @ 2012-11-16 7:59 UTC (permalink / raw)
To: linux-serial
HI
I have a pci base serial card i.e wch35x card. for 3.0.5, the driver does not
exisits. Iam redeveloping for the same from scratch. But due mis detection, the
pci card claims a driver named "serial".
The lspci -k dispaly driver in use as serial. but in lsmod it does not lists.
I want to remove the serial module which is claiming this device. so that is i
can re write the driver just for learning purpose.
02:00.0 Serial controller: Device 4348:5046 (rev 10) (prog-if 02 [16550])
Subsystem: Device 4348:5046
Flags: medium devsel, IRQ 21
I/O ports at d030 [size=8]
I/O ports at d020 [size=8]
I/O ports at d010 [size=8]
I/O ports at d000 [size=16]
Kernel driver in use: serial
00: 48 43 46 50 01 00 00 02 10 02 00 07 00 00 00 00
10: 31 d0 00 00 21 d0 00 00 11 d0 00 00 01 d0 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 48 43 46 50
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 01 00 00
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Need to remove ch35x wch driver which already running
2012-11-16 7:59 Need to remove ch35x wch driver which already running Lokesh
@ 2012-11-16 11:23 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2012-11-16 11:23 UTC (permalink / raw)
To: Lokesh; +Cc: linux-serial
On Fri, 16 Nov 2012 07:59:22 +0000 (UTC)
Lokesh <v.lokesh@live.com> wrote:
> HI
>
> I have a pci base serial card i.e wch35x card. for 3.0.5, the driver does not
> exisits. Iam redeveloping for the same from scratch. But due mis detection, the
> pci card claims a driver named "serial".
Actually that is the right driver for the wch35x cards and that would be
why it has bound to them. There are some mods in later kernels to make
the wch work better, but it is the right driver.
If you want to play with it for some reason and write your own driver to
learn stuff then the easiest thing to do is probably add it temporarily
to the blacklist in 8250_pci.c
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-16 11:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 7:59 Need to remove ch35x wch driver which already running Lokesh
2012-11-16 11:23 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox