home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.wizards:5664 comp.sys.sun.hardware:7145 comp.unix.solaris:502
- Newsgroups: comp.unix.wizards,comp.sys.sun.hardware,comp.unix.solaris
- Path: sparky!uunet!UB.com!pacbell.com!decwrl!concert!gatech!destroyer!cs.ubc.ca!van-bc!tgivan!mak
- From: mak@tgivan.wimsey.com (Bob Makowski)
- Subject: serial i/o, bangs, buffers, bleary eyes...
- Message-ID: <1993Jan27.061108.15132@tgivan.wimsey.com>
- Followup-To: poster
- Keywords: interrupts serial dma priority buffered i/o
- Reply-To: mak@tgivan.wimsey.com
- Organization: TGI Technologies Ltd.
- Distribution: na
- Date: Wed, 27 Jan 1993 06:11:08 GMT
- Lines: 37
-
- It's time for a bleary eyed dump of some questions I'm interested in
- hearing answered. These focus on some thought experiments about the
- (Sun/sparc) serial ports. I'm assuming outbound modem i/o in all cases below.
-
- (I hope these questions aren't too cryptically worded.)
-
- * stty says: raw, clocal, cread. Will this CPU interrupt per character?
-
- * canonical processing does not translate into one interrupt per
- character? (Certainly flush happens with new lines, and echoing is
- documented in termio(4) as immediate. So please contrast here.)
-
- * tty interrupt priority vs. SCSI bus interrupts. How do they
- compare logically?
-
- * how much write(2) i/o before get flow control from serial device,
- not the DCE.
-
- * fwrite(3) should allow more than write(2), yes?
-
- * does the device driver dma (written) data onto the serial line
- driver/chip.
-
- + If so, does the dma need to terminate on a page aligned
- boundary, as with other (e.g., intel) dma character
- devices.
-
- + Corollary: nonpage aligned portions are copied in/out, else
- direct dma from page aligned portions of a process' true
- buffer.
-
-
- I would deeply appreciate e-mailed answers, and I will try posting a
- cogent summary.
-
- Thanks in advance,
- = Mak
-