Hi Gary.
I am new to LiS and am in the process of porting a clone driver from a
Solaris platform to
a PPC platform using Linux (2.4.20) and LiS (2.18). Are there some good
examples or
documentation on how to manage the major/minor numbers during
init/open/close/cleanup?
There are a number of sample drivers that come with LiS. Take a look
at drivers/str/linux/ip_to_dlpi.c for example. It deals with acquiring
a major number (lis_register_strdev() in init), getting a new clone
device in open and freeing the major numer in cleanup.
We too use LiS on a PPC (for one) platform. If you haven't already
come across it, see "PPC" and "ppc" references in config.mk in LiS'
top level.
Regards,
Steve
------------------------------------------------------------------------
Steve Schefter phone: +1 705 725 9999 x26
The Software Group Limited fax: +1 705 725 9666
642 Welham Road, email: [EMAIL PROTECTED]
Barrie, Ontario CANADA L4N 9A1 Web: www.wanware.com
_______________________________________________
Linux-streams mailing list
[email protected]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams