home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / unix / amiga / 473 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.4 KB

  1. Path: iesd.auc.dk!news
  2. From: jds@kom.auc.dk (Jes Degn Soerensen)
  3. Newsgroups: comp.unix.amiga
  4. Subject: Re: Driver for GVP I/O Extender
  5. Date: 23 Feb 1996 10:45:13 +0100
  6. Organization: Aalborg University, Dept. of Communication Technology
  7. Sender: jds@ultra.kom.auc.dk
  8. Message-ID: <52vpwb6s7di.fsf@ultra.kom.auc.dk>
  9. References: <4fflpg$pdn@fbi-news.Informatik.Uni-Dortmund.DE>
  10.     <31265527.3E9F@hollyfeld.org>
  11. NNTP-Posting-Host: ultra.kom.auc.dk
  12. NNTP-Posting-User: jds
  13. In-reply-to: Russ Miranda's message of Sat, 17 Feb 1996 14:22:31 -0800
  14. X-Newsreader: Gnus v5.1
  15.  
  16. >>>>> "Russ" == Russ Miranda <amigaman@hollyfeld.org> writes:
  17.  
  18. Russ> It shouldn't be that difficult. Once you know the board's
  19. Russ> address, I have the base offset of the UART, and it's just a
  20. Russ> standard 1655x type UART. The registers are well documented in a
  21. Russ> booklet from National Semiconductor, as well as in a billion
  22. Russ> other device drivers for 1655x UARTs for x86 based UN*Xen. I
  23. Russ> wrote a little AmigaDOS driver for the board, but I ran into
  24. Russ> problems initializing it. If I let the gvpio.device initialize
  25. Russ> it, then start my driver, it works great. If I just power on and
  26. Russ> set the regs up like I think I should, it doesn't do anything. A
  27. Russ> brief email w/ Ralph Babel (ex-GVP driver writer) indicated some
  28. Russ> weirdness exists with the board, and you have to do something
  29. Russ> odd like enabling all the interrupts before you can do
  30. Russ> anything. I'm not sure, I never tried to disassemble the
  31. Russ> gvpio.device, and Ralph never explained fully. I never had
  32. Russ> enough time to continue.
  33.  
  34. Stay away from National Semiconductor's documentation - their version
  35. of the chip does not contain the parallel port so you might end up
  36. with a minor headache when you start looking for the missing
  37. information. I used the documentation from Texas Instruments when I
  38. wrote the driver for Linux, those docs are quite alright.
  39.  
  40. Your problem with the initialization of the board is not that weird -
  41. the main problem is that when you start messing with the chip
  42. (ie. enable interrupts) you _must_ have a handler capable of servicing
  43. _all_ possible interrupts generated by the chip, otherwise you'll
  44. see an interrupt storm that makes you computer freeze (only a reset
  45. can get you out of that state).
  46.  
  47. Jes
  48. -- 
  49. Jes Sorensen: jds@kom.auc.dk         | If programming was ment to be fun,
  50.               jes@leech.adsp.sub.org | why did they come up with Intel?
  51.