"Garrett D'Amore" <garr...@damore.org> wrote:

> I've been thinking about a problem I've had that keeps recurring, and 
> I'd like to present the following proposal to PSARC.  However,before I 
> do, I'd like to hear thoughts from other folks who might have thoughts 
> on the matter.
>
> Stream and Character Dual Personality Device Support
> ----------------------------------------------------
>
> Background:
> -----------
>
> There are two different frameworks for device drivers in Solaris -- one that
> implies a device is a typical character/block device (and hence supports the
> typical read(2), write(2), etc. entry points), and another that assumes that
> devices are STREAMs devices and export their entry points via cb_ops.

I remember the problem that I had to solve around 1995 because I wanted to have 
mmap() in a DLPI driver (An ATM NIC driver) in order to download the firmware.
I was forced to cheat somewhere in the initialization phase for mmap() ad the 
kernel code did like to get some information I could not have at that time.
So I returned a dummy PTE and later corrected this.

Do you plan to fix this problem too?

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       j...@cs.tu-berlin.de                (uni)  
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to