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