home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!ivgate!beeble!tdavis
- From: tdavis@beeble.omahug.org (Thomas Davis)
- Subject: Re: Help with modem problems under .96c+pl2
- References: <1992Jul20.185927.1@acad2.alaska.edu>
- Organization: Beeble Planning Commission
- Date: Thu, 23 Jul 1992 04:41:37 GMT
- X-Newsreader: Tin 1.1 PL4
- Message-ID: <BrtrpD.21@beeble.omahug.org>
- Lines: 62
-
- axlas@acad2.alaska.edu (Leif A Sawyer) writes:
- :
- : After I upgraded to .96c+ (no patches) I noticed a problem using my modem.
- : It seemed to buffer about 14 characters and then send them to the console all
- : at once, then pause and repeat. This made dialing in to rn annoying. It
- : also made file transferring impossible. So, when pl1 and pl2 came out, I
- : snarfed them, by loading up Telix under messy-dos. Mtools sure came in handy
- : after I figured out to delete the drive configuration from the mtools config
- : file so the disks would be auto-detected. ( I love not having a printer. it
- : makes documents pert-near useless..)
- :
-
- This should fix it; I've added code to set the size of the fifo based
- on the serial speed. It's also fixed the problem of AMI BIOS's not
- recognizing the serial port on reboots (and possibly, some DOS programs
- too..
-
- Tom D.
- ---------------- cut here --------------------
- *** linux/kernel/chr_drv/serial.c Sun Jul 19 01:07:55 1992
- --- linux.work/kernel/chr_drv/serial.c Wed Jul 22 22:46:41 1992
- ***************
- *** 296,301 ****
- --- 296,303 ----
- if (!info->port)
- return;
- outb(0x00,info->port+4); /* reset DTR, RTS, */
- + if (info->type == PORT_16550A)
- + outb(0x06, info->port+2);
- irq = info->irq;
- if (irq == 2)
- irq = 9;
- ***************
- *** 329,334 ****
- --- 333,344 ----
- 64, 48, 24, 12, 6, 3
- };
-
- + static unsigned short fifosize[] = {
- + 0, 0, 0, 0, 0,
- + 0, 0, 0, 0, 0,
- + 0, 0, 1, 2, 3, 3
- + };
- +
- if (line >= NR_SERIALS)
- return;
- info = serial_table + line;
- ***************
- *** 351,356 ****
- --- 361,368 ----
- outb_p(cval | 0x80,port+3); /* set DLAB */
- outb_p(quot & 0xff,port); /* LS of divisor */
- outb_p(quot >> 8,port+1); /* MS of divisor */
- + if (info->type == PORT_16550A)
- + outb(0x06 || (fifosize[cflag & CBAUD] << 6), port+2);
- outb(cval,port+3); /* reset DLAB */
- sti();
- }
- --
- Tom Davis, Omaha, NE | Internet: tdavis@beeble.omahug.org
- CNE, Network Engineer | UUCP: uunet!ivgate!beeble!tdavis
-
-