Re: nonexistent resource in 2.3.99-pre3 - solved!

From: tytso@mit.edu
Date: Tue Mar 28 2000 - 04:05:10 EST


   Date: Mon, 27 Mar 2000 19:33:01 +0000
   From: Thorsten Kranzkowski <th@Marvin.DL8BCU.ampr.org>

   It turned out that changing ./linux/serial.h of the setserial utility solved
   that problem:

   struct serial_struct {
           int type;
           int line;
           unsigned long port;
           ^^^^^^^^^^^^^

Oops. I ended up making a binary incompatible change for those
platforms where long != int. Sh*t. What platforms is this true for,
other than Alpha? The change was made to try to make things better for
at least some 64-bit platforms, but I it looks like it's going to end up
causing problems for others. Sorry about that. Can folks who worry
about 64-bit platforms let me know how they would best like to handle
this? I may need to do some ugly platform-specific #ifdef's to handle
this......

                                                - Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:21 EST