-- Dave
At 08:52 AM 7/23/2003 Wednesday, Eugene LiS User wrote:
Brian,
We talking different 'put' here.
If I look into /usr/include/sys/stream.h on, say, Sun box I see:
extern int insq(queue_t *, mblk_t *, mblk_t *); extern void put(queue_t *, mblk_t *); <---------- extern int putnext(queue_t *, mblk_t *);
That is the one I'm talking about. You will see pretty much the same in the stream.h file on HPUX box.
If you look into man page for put(9F) on Solaris 7 like here:
http://euler.dms.umontreal.ca:8888/ab2/coll.40.5/REFMAN9F/@Ab2PageView/191359?
you will see a description of the 'put' I'm missing in LiS.
-- Eugene
"Brian F. G. Bidulock" <[EMAIL PROTECTED]> wrote:
>Eugene,
>
>put() is a D2DK function: that is, it is expected to be
>called by the SVR 4.2 kernel. You have it backwards, your
>driver must write this function (and the srv() function, init()
>etc.)
>
>Your driver implements put() and srv() and places them in the
>qinit structure (qi_putp and qi_srvp members on the WR(q)).
>
>So you see, you don't call put(), you implement put() in your
>driver and LiS calls it.
>
>--brian
>
>On Tue, 22 Jul 2003, Eugene LiS User wrote:
>
>> Hello,
>>
>> My driver(the one I port) uses the put() function
>> which, I believe, is a standard stream function.
>>
>> After compilation the depmod shows that put() is not resolved.
>> (Whereas putq() replaced with lis_putq() and so on).
>>
>> Am I missing something?
>>
>> thanks,
>> --
>> Eugene
>>
>>
>> __________________________________________________________________
>> McAfee VirusScan Online from the Netscape Network.
>> Comprehensive protection for your entire computer. Get your free trial today!
>> http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
>>
>> Get AOL Instant Messenger 5.1 free of charge. Download Now!
>> http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
>>
>> _______________________________________________
>> Linux-streams mailing list
>> [EMAIL PROTECTED]
>> http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
>
>--
>Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
>[EMAIL PROTECTED] ¦ world; the unreasonable one persists in ¦
>http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
> ¦ Therefore all progress depends on the ¦
> ¦ unreasonable man. -- George Bernard Shaw ¦
>
__________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
_______________________________________________ Linux-streams mailing list [EMAIL PROTECTED] http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
_______________________________________________ Linux-streams mailing list [EMAIL PROTECTED] http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams