🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.wizards
1 messages
1 total messages Started by Bob Makowski Wed, 27 Jan 1993 06:11
serial i/o, bangs, buffers, bleary eyes...
#6955
Author: Bob Makowski
Date: Wed, 27 Jan 1993 06:11
37 lines
1798 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads