* development of serial driver
@ 2005-06-29 17:01 Matt Schulte
2005-07-01 22:06 ` Matt Schulte
0 siblings, 1 reply; 8+ messages in thread
From: Matt Schulte @ 2005-06-29 17:01 UTC (permalink / raw)
To: linux-serial
I am a developer for a line of multiport PCI serial cards. I have received
enough requests that it is time to make the cards work with the 2.6.x
kernels. I see that serial.c has been deprecated and I am wondering if
anyone can tell me exactly how the serial is supposed to work in the new
kernel?
How can I modify the existing stock driver to include my card as well? Is
there a CVS version somewhere that I could checkout? Do I send patches
somewhere?
Does anyone even read this list anymore?
Thank you,
Matt Schulte
Commtech, Inc.
Voice: 316-636-1131
Fax: 316-636-1163
http://www.commtech-fastcom.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: development of serial driver
2005-06-29 17:01 development of serial driver Matt Schulte
@ 2005-07-01 22:06 ` Matt Schulte
2005-07-02 21:53 ` Roman Kurakin
2005-07-16 11:06 ` development of serial driver Carl-Daniel Hailfinger
0 siblings, 2 replies; 8+ messages in thread
From: Matt Schulte @ 2005-07-01 22:06 UTC (permalink / raw)
To: linux-serial
Wednesday, June 29, 2005 12:02 PM Matt Schulte wrote:
> I am a developer for a line of multiport PCI serial cards. I
> have received
> enough requests that it is time to make the cards work with the 2.6.x
> kernels. I see that serial.c has been deprecated and I am wondering if
> anyone can tell me exactly how the serial is supposed to work in the new
> kernel?
>
> How can I modify the existing stock driver to include my card as well? Is
> there a CVS version somewhere that I could checkout? Do I send patches
> somewhere?
I have been painfully digging through the linux kernel mailing list archive
and I have a pretty good idea of how I can submit patches that I come up
with to make my driver operate in the new serial driver.
In the past (2.4.x days) I have just hacked the serial.c code to do what I
needed and then recompiled it as something else.
I would like for someone to explain to me exactly how a guy like me is
"supposed" to use this new driver. Let's say that I have submitted a patch
to 8250_pci.c that inserts my cards' device and vendor ids and my cards'
.initialize and .setup routines (if I need them). Now they can be
recognized by the driver and will initialize correctly as 16550A type ports.
Now I need to be able to write a few routines that can configure my card's
special features. In my hijacked serial.c I just added these routines as
IOCTL's and life was good. How should I write these routines now?
Many Thanks,
Matt Schulte
Commtech, Inc.
http://www.commtech-fastcom.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: development of serial driver
2005-07-01 22:06 ` Matt Schulte
@ 2005-07-02 21:53 ` Roman Kurakin
2005-07-05 16:00 ` development of serial driver (i.e. 8250_pci HOWTO) Matt Schulte
2005-07-16 11:06 ` development of serial driver Carl-Daniel Hailfinger
1 sibling, 1 reply; 8+ messages in thread
From: Roman Kurakin @ 2005-07-02 21:53 UTC (permalink / raw)
To: matts; +Cc: linux-serial
Hi,
You may do like Cronyx did. This probably is not the best way in general,
but if for device is enough a generic support and in case the driver is
not a
part of the system (e.q. need to support different kernel branches) this
is I
am sure the best way.
The driver is available from www.cronyx.ru:
http://www.cronyx.ru/software/omega.html
rik
Matt Schulte:
>Wednesday, June 29, 2005 12:02 PM Matt Schulte wrote:
>
>
>>I am a developer for a line of multiport PCI serial cards. I
>>have received
>>enough requests that it is time to make the cards work with the 2.6.x
>>kernels. I see that serial.c has been deprecated and I am wondering if
>>anyone can tell me exactly how the serial is supposed to work in the new
>>kernel?
>>
>>How can I modify the existing stock driver to include my card as well? Is
>>there a CVS version somewhere that I could checkout? Do I send patches
>>somewhere?
>>
>>
>
>I have been painfully digging through the linux kernel mailing list archive
>and I have a pretty good idea of how I can submit patches that I come up
>with to make my driver operate in the new serial driver.
>
>In the past (2.4.x days) I have just hacked the serial.c code to do what I
>needed and then recompiled it as something else.
>
>I would like for someone to explain to me exactly how a guy like me is
>"supposed" to use this new driver. Let's say that I have submitted a patch
>to 8250_pci.c that inserts my cards' device and vendor ids and my cards'
>.initialize and .setup routines (if I need them). Now they can be
>recognized by the driver and will initialize correctly as 16550A type ports.
>Now I need to be able to write a few routines that can configure my card's
>special features. In my hijacked serial.c I just added these routines as
>IOCTL's and life was good. How should I write these routines now?
>
>Many Thanks,
>
>Matt Schulte
>Commtech, Inc.
>http://www.commtech-fastcom.com
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-serial" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: development of serial driver (i.e. 8250_pci HOWTO)
2005-07-02 21:53 ` Roman Kurakin
@ 2005-07-05 16:00 ` Matt Schulte
2005-07-05 16:47 ` Roman Kurakin
0 siblings, 1 reply; 8+ messages in thread
From: Matt Schulte @ 2005-07-05 16:00 UTC (permalink / raw)
To: linux-serial
> Roman Kurikin wrote:
> You may do like Cronyx did. This probably is not the best way in general,
> but if for device is enough a generic support and in case the driver is
> not a part of the system (e.q. need to support different kernel branches)
> this is I am sure the best way.
Roman, thank you for the suggestion. While what you have done with your
driver is definitely a way of getting my card installed, I would still like
to see and example or a description of the "correct" way of going about this
with the new serial driver.
Matt Schulte
Commtech, Inc.
http://www.commtech-fastcom.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: development of serial driver (i.e. 8250_pci HOWTO)
2005-07-05 16:00 ` development of serial driver (i.e. 8250_pci HOWTO) Matt Schulte
@ 2005-07-05 16:47 ` Roman Kurakin
2005-07-05 17:03 ` Matt Schulte
0 siblings, 1 reply; 8+ messages in thread
From: Roman Kurakin @ 2005-07-05 16:47 UTC (permalink / raw)
To: matts; +Cc: linux-serial
Hi,
Matt Schulte wrote:
>>Roman Kurikin wrote:
>>You may do like Cronyx did. This probably is not the best way in general,
>>but if for device is enough a generic support and in case the driver is
>>not a part of the system (e.q. need to support different kernel branches)
>>this is I am sure the best way.
>>
>>
>
>Roman, thank you for the suggestion. While what you have done with your
>driver is definitely a way of getting my card installed, I would still like
>to see and example or a description of the "correct" way of going about this
>with the new serial driver.
>
>
I suggest you to compile docbook for kernel. You may read there API
description.
rik
>Matt Schulte
>Commtech, Inc.
>http://www.commtech-fastcom.com
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-serial" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: development of serial driver
2005-07-01 22:06 ` Matt Schulte
2005-07-02 21:53 ` Roman Kurakin
@ 2005-07-16 11:06 ` Carl-Daniel Hailfinger
1 sibling, 0 replies; 8+ messages in thread
From: Carl-Daniel Hailfinger @ 2005-07-16 11:06 UTC (permalink / raw)
To: matts; +Cc: linux-serial, Russell King
Matt Schulte wrote:
> Wednesday, June 29, 2005 12:02 PM Matt Schulte wrote:
>
>>I am a developer for a line of multiport PCI serial cards. I
>>have received
>>enough requests that it is time to make the cards work with the 2.6.x
>>kernels. I see that serial.c has been deprecated and I am wondering if
>>anyone can tell me exactly how the serial is supposed to work in the new
>>kernel?
>>
>>How can I modify the existing stock driver to include my card as well? Is
>>there a CVS version somewhere that I could checkout? Do I send patches
>>somewhere?
>
>
> I have been painfully digging through the linux kernel mailing list archive
> and I have a pretty good idea of how I can submit patches that I come up
> with to make my driver operate in the new serial driver.
>
> In the past (2.4.x days) I have just hacked the serial.c code to do what I
> needed and then recompiled it as something else.
>
> I would like for someone to explain to me exactly how a guy like me is
> "supposed" to use this new driver. Let's say that I have submitted a patch
> to 8250_pci.c that inserts my cards' device and vendor ids and my cards'
> .initialize and .setup routines (if I need them). Now they can be
> recognized by the driver and will initialize correctly as 16550A type ports.
> Now I need to be able to write a few routines that can configure my card's
> special features. In my hijacked serial.c I just added these routines as
> IOCTL's and life was good. How should I write these routines now?
>
> Many Thanks,
>
> Matt Schulte
> Commtech, Inc.
> http://www.commtech-fastcom.com
Russell King is the maintainer of the 2.6 serial layer. He is the one
to ask about integration.
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-07-16 11:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-29 17:01 development of serial driver Matt Schulte
2005-07-01 22:06 ` Matt Schulte
2005-07-02 21:53 ` Roman Kurakin
2005-07-05 16:00 ` development of serial driver (i.e. 8250_pci HOWTO) Matt Schulte
2005-07-05 16:47 ` Roman Kurakin
2005-07-05 17:03 ` Matt Schulte
2005-07-05 17:34 ` Roman Kurakin
2005-07-16 11:06 ` development of serial driver Carl-Daniel Hailfinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).