Re: I need help with serial driver

From: Doug White (dwhite_at_gumbysoft.com)
Date: 11/23/04

  • Next message: Stephan Uphoff: "Re: macro benchmark for mutex locks needed."
    Date: Tue, 23 Nov 2004 10:17:19 -0800 (PST)
    To: "." <aik@fryazino.net>
    
    

    On Tue, 23 Nov 2004, . wrote:

    > Greetings!
    > I did not find in "BSD Developers handbook" or anywhere else theese
    > precious bits of information:
    > 1. What methods should character driver ( /dev/cuaa or similar) have?
    > 2. How application requests (open/read/ioctl/etc.) are mapped to
    > methods of the driver?
    > 3. Are there any special functions besides generic file I/O operations
    > (apart from ioctl(2))? Or are there any "special cases" of ioctl apart
    > from what is covered by man page?

    The scripts in /usr/share/examples/drivers/ may be of use to you.

    > I need to utlize the abilities of /dev/cuua to their extreme, but I
    > do not want to rewrite the standard one.

    Yet you are asking how. :)

    -- 
    Doug White                    |  FreeBSD: The Power to Serve
    dwhite@gumbysoft.com          |  www.FreeBSD.org
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: Stephan Uphoff: "Re: macro benchmark for mutex locks needed."

    Relevant Pages

    • Re: Response to Rocky
      ... > USB devices are automatically detected at startup. ... > connected devices have to load a driver at startup to be detected. ... mouse had special functions. ...
      (microsoft.public.windowsxp.perform_maintain)
    • Re: [PATCH 2/2] eHEA: Receive SKB Aggregation, generic LRO helper functions
      ... it looks like because of per-packet receive code path invocation is the ... Your implementation looks generic enough to be used by any driver, ... We can try to come up with a generic file with these helperfunctions. ... As far as I recall this is third implementation ...
      (Linux-Kernel)