linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ioctl constants
@ 2000-03-28 20:25 Chris Hallinan
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Hallinan @ 2000-03-28 20:25 UTC (permalink / raw)
  To: linuxppc-embedded


I'm using kernel 2.2.13 and a slightly modified version of serial.c to
operate an additional 16550 device at a non-standard i/o address.

I'm troublshooting a ppp disconnect problem which has led me to the
serial driver.  I've noticed that a large number of rs_ioctl() calls hit
the driver with incorrect constants.  Using printk()'s, I'm able to
determine what values are being passed in, but of course, not who is
calling them.

I've studied the related header files: the constants used in serial.c
are hard coded in asm/ioctls.h.  (Two examples are TIOCGSERIAL and
TIOCSSERIAL for get/set_serial_info).  I've grepped for these values,
and don't see anywhere where they are re-defined.  Virtually every ioctl
that hits the driver has a bad value.

I can only assume that the results of this are ugly!  I'm guessing that
the libraries are compiled with a different convention?  Has anyone run
into this issue?

-Chris Hallinan
DS4.COM, Inc.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2000-03-29 17:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20000329001916.D2C3C355E2@elph.research.canon.com.au>
2000-03-29 17:55 ` ioctl constants Chris Hallinan
2000-03-28 20:25 Chris Hallinan

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).