serial.c in 2.1.16 (PCMCIA problems)

Ion Badulescu (ionut@moisil.wal.rhno.columbia.edu)
Wed, 18 Dec 1996 14:07:56 -0500 (EST)


Hi,

My patch for serial.c (which is included in 2.1.16) solves some of the
problems introduced in 2.1.15, but the PCMCIA modems still don't work. For
the time being the best solution is to remove check_region completely; in
the future the Plug'n'Play stuff should take of the problem.

Ionut

--
  It is better to keep your mouth shut and be thought a fool,
            than to open it and remove all doubt.

--- linux-2.1.16/drivers/char/serial.c.old Wed Dec 18 12:11:20 1996 +++ linux/drivers/char/serial.c Wed Dec 18 13:39:29 1996 @@ -3103,11 +3103,6 @@ state->port = req->port; state->flags = req->flags; - if(check_region(state->port,8)) { - restore_flags(flags); - printk("register_serial(): I/O region in use\n"); - return -1; /* Area in use */ - } autoconfig(state); if (state->type == PORT_UNKNOWN) { restore_flags(flags);