home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / wizards / 5664 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.8 KB

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