public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Serial PCI driver in 2.6.x kernel (i.e. 8250_pci HOWTO)
@ 2005-07-05 21:06 Matt Schulte
  2005-07-10 12:03 ` Russell King
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Schulte @ 2005-07-05 21:06 UTC (permalink / raw)
  To: linux-kernel

I am paraphrasing my thread "development of serial driver" from the
linux-serial list.  I have not received much of a response on the serial
list.  I have noticed that there seems to be a fair amount of serial traffic
on this list and I am hoping to do a little bit better here.

When you respond, can you please copy the serial list at
linux-serial@vger.kernel.org

I am a developer for a line of multi-port 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?

I have been painfully digging through the linux kernel mailing list archive
in an attempt to glean some insight as to the new serial driver.  But
haven't had much luck.  I am hoping somebody might be able to help me
understand how I can use the new driver (or at least point me where I need
to go).

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'
.init 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 "correctly" write these routines for the
new driver?

Thank you,

Remember, please copy the serial list at linux-serial@vger.kernel.org

Matt Schulte
Commtech, Inc.
http://www.commtech-fastcom.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Serial PCI driver in 2.6.x kernel (i.e. 8250_pci HOWTO)
  2005-07-05 21:06 Serial PCI driver in 2.6.x kernel (i.e. 8250_pci HOWTO) Matt Schulte
@ 2005-07-10 12:03 ` Russell King
  2005-07-11 14:19   ` Matt Schulte
  0 siblings, 1 reply; 3+ messages in thread
From: Russell King @ 2005-07-10 12:03 UTC (permalink / raw)
  To: Matt Schulte; +Cc: linux-kernel, linux-serial

On Tue, Jul 05, 2005 at 04:06:22PM -0500, Matt Schulte wrote:
> 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.

Can we see this code?

> Remember, please copy the serial list at linux-serial@vger.kernel.org

Despite being the maintainer for the serial layer, I'm not on linux-serial.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Serial PCI driver in 2.6.x kernel (i.e. 8250_pci HOWTO)
  2005-07-10 12:03 ` Russell King
@ 2005-07-11 14:19   ` Matt Schulte
  0 siblings, 0 replies; 3+ messages in thread
From: Matt Schulte @ 2005-07-11 14:19 UTC (permalink / raw)
  To: Russell King; +Cc: linux-kernel, linux-serial

>From: Russell King [mailto:rmk@arm.linux.org.uk]On Behalf Of Russell King

>Can we see this code?
Because I was working on the assumption that the driver would no longer be
serial.c and would use only my card, I may have done some things that
weren't exactly the best practice.  This is partially why I am trying to
figure out the "correct" way to use the new serial driver.  Because I went
with the entire serial.c file, I don't think that I can post it.  However,
you can get my modifications here:
http://support.commtech-fastcom.com/fcap335_07_11_2005.tar.gz.  I renamed
the serial.c file to fcap_335.c and I changed the devnodes to be
/dev/ttyFCx.  I think every modification that I made has a comment //mds
near it.

>Despite being the maintainer for the serial layer, I'm not on linux-serial.
Right, I am on linux-serial and I had seen a couple of posts from you on
linux-serial, I kind of assumed that you were there too.

Thanks,

Matt Schulte
Commtech, Inc.
http://www.commtech-fastcom.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-11 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-05 21:06 Serial PCI driver in 2.6.x kernel (i.e. 8250_pci HOWTO) Matt Schulte
2005-07-10 12:03 ` Russell King
2005-07-11 14:19   ` Matt Schulte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox