mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* AW: drivers/serial/Makefile
@ 2003-03-24 16:33 Spang Oliver
  2003-03-24 16:41 ` drivers/serial/Makefile Russell King
  0 siblings, 1 reply; 4+ messages in thread
From: Spang Oliver @ 2003-03-24 16:33 UTC (permalink / raw)
  To: 'Russell King'; +Cc: linux-kernel

Do you have some other hints for the problem described in the "2.5.64 ttyS problem ?"-thread?

Oliver

> -----Ursprüngliche Nachricht-----
> Von: Russell King [mailto:rmk@arm.linux.org.uk]
> Gesendet: Montag, 24. März 2003 17:16
> An: Duncan Sands
> Cc: linux-kernel@vger.kernel.org; Spang Oliver
> Betreff: Re: drivers/serial/Makefile
> 
> 
> On Mon, Mar 24, 2003 at 04:52:50PM +0100, Duncan Sands wrote:
> > The serial driver is now compiled as "8250", rather than
> > the traditional "serial" (Kconfig says "serial" as well).
> > Assuming this was a mistake in the Makefile, I went and
> > had a look, but my brain exploded.
> 
> It isn't a mistake.  "serial" is meaningless with you've got multiple
> serial ports of different types.  It's a general name of a class of
> devices, not a specific device.
> 
> > What exactly is this intended to do?
> 
> Well, core.c is the core driver which knows how to talk to user space,
> and on to that bolts the hardware specific bits, 8250.c, sa1100.c,
> suncore.c etc.
> 
> > PS: 8250_gsc, 8250_pci can be compiled as modules in their
> > own right.
> 
> In theory they can, and maybe one day we'll teach the Kconfig system
> to allow it.  Feel free to send a patch for this. 8)
> 
> -- 
> Russell King (rmk@arm.linux.org.uk)                The 
> developer of ARM Linux
>              http://www.arm.linux.org.uk/personal/aboutme.html
> 

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

* Re: drivers/serial/Makefile
  2003-03-24 16:33 AW: drivers/serial/Makefile Spang Oliver
@ 2003-03-24 16:41 ` Russell King
  0 siblings, 0 replies; 4+ messages in thread
From: Russell King @ 2003-03-24 16:41 UTC (permalink / raw)
  To: Spang Oliver; +Cc: linux-kernel

On Mon, Mar 24, 2003 at 05:33:44PM +0100, Spang Oliver wrote:
> Do you have some other hints for the problem described in the
> "2.5.64 ttyS problem ?"-thread?

First line of attack would be to strace minicom and find out why it's
failing.

There are a few reasons why I think the kernel isn't to blame:

- I run minicom against the new serial subsystem fairly frequently, and
  haven't noticed any oddities like the reported problem.
- The core.c/8250.c drivers don't have very much to do with serial device
  locking - serial devices are locked by creating a file in /var/lock
  with a name corresponding to the device name being opened.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


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

* Re: drivers/serial/Makefile
  2003-03-24 15:52 drivers/serial/Makefile Duncan Sands
@ 2003-03-24 16:15 ` Russell King
  0 siblings, 0 replies; 4+ messages in thread
From: Russell King @ 2003-03-24 16:15 UTC (permalink / raw)
  To: Duncan Sands; +Cc: linux-kernel, Spang Oliver

On Mon, Mar 24, 2003 at 04:52:50PM +0100, Duncan Sands wrote:
> The serial driver is now compiled as "8250", rather than
> the traditional "serial" (Kconfig says "serial" as well).
> Assuming this was a mistake in the Makefile, I went and
> had a look, but my brain exploded.

It isn't a mistake.  "serial" is meaningless with you've got multiple
serial ports of different types.  It's a general name of a class of
devices, not a specific device.

> What exactly is this intended to do?

Well, core.c is the core driver which knows how to talk to user space,
and on to that bolts the hardware specific bits, 8250.c, sa1100.c,
suncore.c etc.

> PS: 8250_gsc, 8250_pci can be compiled as modules in their
> own right.

In theory they can, and maybe one day we'll teach the Kconfig system
to allow it.  Feel free to send a patch for this. 8)

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


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

* drivers/serial/Makefile
@ 2003-03-24 15:52 Duncan Sands
  2003-03-24 16:15 ` drivers/serial/Makefile Russell King
  0 siblings, 1 reply; 4+ messages in thread
From: Duncan Sands @ 2003-03-24 15:52 UTC (permalink / raw)
  To: rmk; +Cc: linux-kernel, Spang Oliver

The serial driver is now compiled as "8250", rather than
the traditional "serial" (Kconfig says "serial" as well).
Assuming this was a mistake in the Makefile, I went and
had a look, but my brain exploded.  What exactly is this
intended to do?

All the best,

"Confused"

PS: 8250_gsc, 8250_pci can be compiled as modules in their
own right.

#
# Makefile for the kernel serial device drivers.
#
#  $Id: Makefile,v 1.8 2002/07/21 21:32:30 rmk Exp $
#

serial-8250-y :=
serial-8250-$(CONFIG_GSC) += 8250_gsc.o
serial-8250-$(CONFIG_PCI) += 8250_pci.o
serial-8250-$(CONFIG_PNP) += 8250_pnp.o
obj-$(CONFIG_SERIAL_CORE) += core.o
obj-$(CONFIG_SERIAL_21285) += 21285.o
obj-$(CONFIG_SERIAL_8250) += 8250.o $(serial-8250-y)
obj-$(CONFIG_SERIAL_8250_CS) += 8250_cs.o
obj-$(CONFIG_SERIAL_8250_ACORN) += 8250_acorn.o
obj-$(CONFIG_SERIAL_ANAKIN) += anakin.o
obj-$(CONFIG_SERIAL_AMBA) += amba.o
obj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o
obj-$(CONFIG_SERIAL_SA1100) += sa1100.o
obj-$(CONFIG_SERIAL_UART00) += uart00.o
obj-$(CONFIG_SERIAL_SUNCORE) += suncore.o
obj-$(CONFIG_SERIAL_SUNZILOG) += sunzilog.o
obj-$(CONFIG_SERIAL_SUNSU) += sunsu.o
obj-$(CONFIG_SERIAL_SUNSAB) += sunsab.o
obj-$(CONFIG_SERIAL_MUX) += mux.o
obj-$(CONFIG_SERIAL_68328) += 68328serial.o
obj-$(CONFIG_SERIAL_68360) += 68360serial.o
obj-$(CONFIG_SERIAL_COLDFIRE) += mcfserial.o
obj-$(CONFIG_V850E_NB85E_UART) += nb85e_uart.o

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

end of thread, other threads:[~2003-03-24 16:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-24 16:33 AW: drivers/serial/Makefile Spang Oliver
2003-03-24 16:41 ` drivers/serial/Makefile Russell King
  -- strict thread matches above, loose matches on Subject: below --
2003-03-24 15:52 drivers/serial/Makefile Duncan Sands
2003-03-24 16:15 ` drivers/serial/Makefile Russell King

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

all inboxes | Powered by JetHome®