From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cd583447f0a7e2b6,start X-Google-Attributes: gidfee84,public From: "D:INTERNETSPOOLMAIL" Subject: Streams module kernel entry point argument problem Date: 1996/05/23 Message-ID: <312200707wnr@psldev.psl.co.uk>#1/1 X-Deja-AN: 156360916 x-nntp-posting-host: psldev.demon.co.uk x-broken-date: Thu, 23 May 1996 19:44:00 GMT0 x-mail2news-path: relay-4.mail.demon.net!post.demon.co.uk!psldev.demon.co.uk organization: Performance Software Limited reply-to: mje@psldev.psl.co.uk newsgroups: comp.unix.osf.osf1 We are porting some streams modules from Solaris 2.3/4/5 and AT&T MP-RAS SVR4 to Digital UNIX and have come across a perculiarity in the Digital UNIX implementation. The kernel entry points for a streams module (not driver) are xx_configure, xx_open and xx_close where xx is the name of your module. The xx_open module is passed a pointer to a dev_t which should contain the major and minor device numbers for the device being opened. On Solaris and AT&T this is OK but on Digital UNIX the dev_t pointer is always NULL. Has anyone else come across the strange problem and maybe knows the solution? Our modules will not function without the device major/minor numbers and we are less than a month away from the deadline for code completion of this port. -- Martin J. Evans (martin@mjedev.demon.co.uk) Performance Software Ltd (Bradford UK) mje@psldev.demon.co.uk