home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / sys5 / r4 / 521 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.1 KB  |  33 lines

  1. Newsgroups: comp.unix.sys5.r4,comp.unix.microport
  2. Path: sparky!uunet!destroyer!cs.ubc.ca!mprgate.mpr.ca!dyck
  3. From: dyck@mprgate.mpr.ca (Trevor Dyck)
  4. Subject: sptalloc() problems
  5. Message-ID: <1992Nov17.011800.18428@mprgate.mpr.ca>
  6. Originator: dyck@galaxy
  7. Sender: news@mprgate.mpr.ca
  8. Organization: MPR Teltech Ltd., Burnaby, B.C., Canada
  9. Date: Tue, 17 Nov 92 01:18:00 GMT
  10. Lines: 21
  11.  
  12. I am porting a device driver from SCO SVR3.2 to Microport SVR4.
  13.  
  14. The driver uses memory-mapped I/O, for which I simply used the 
  15. sptalloc() function in 3.2 to map the device into kernel memory.
  16.  
  17. But the sptalloc() function no longer exists in SVR4!!  It has
  18. been replaced by kmem_alloc() which does not let you specify
  19. a base address for the buffer (useless for memory mapped I/O).
  20.  
  21. There is an esballoc() function, but this is STREAMS-specific...
  22.  
  23. Can anyone help me??? Please??? ...
  24.  
  25. Any help is GREATLY appreciated!
  26.  
  27. Trevor.
  28. -- 
  29. Trevor Dyck (dyck@mpr.ca)      | "The number of Unix installations has grown 
  30. Advanced Technology Division   |  to 10, with more expected" 
  31. MPR Teltech Ltd.            |  -- The Unix Programmer's Manual, 2nd Edition,
  32. 8999 Nelson Way, Burnaby, BC   |     June, 1972 
  33.