Re: locking in a device driver

From: Dinesh Nair (dinesh_at_alphaque.com)
Date: 11/02/05

  • Next message: M. Warner Losh: "Re: locking in a device driver"
    Date: Thu, 03 Nov 2005 05:44:23 +0800
    To: Scott Long <scottl@samsco.org>
    
    

    On 11/03/05 05:15 Scott Long said the following:
    > before the ioctl call runs. But it does work. Look at the aac(4)
    > driver for my example of this.

    i will, it sounds like a good solution.

    > The other option is to use rfork, aka 'linuxthreads' to similate threads

    i could try with linuxthreads, but some calls which are not threadsafe may
    be made by the userland app.

    -- 
    Regards,                           /\_/\   "All dogs go to heaven."
    dinesh@alphaque.com                (0 0)    http://www.alphaque.com/
    +==========================----oOO--(_)--OOo----==========================+
    | for a in past present future; do                                        |
    |   for b in clients employers associates relatives neighbours pets; do   |
    |   echo "The opinions here in no way reflect the opinions of my $a $b."  |
    | done; done                                                              |
    +=========================================================================+
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: M. Warner Losh: "Re: locking in a device driver"

    Relevant Pages

    • Re: Kernel mode to user mode
      ... where they make sense in the context of using IoCtls for data passing also. ... An app passes an IoCtl to a driver initiating a series of tests that will ...
      (microsoft.public.development.device.drivers)
    • Re: mfi freebsd7
      ... Failed to open driver node /dev/megadev0 ... you might have more luck with sysutils/linux-megacli since that explicitly mentions LSI MegaRAID SAS, I wish they would make the util open source though. ... A RAID1 config shoudl suit a busy webserver well. ... To unsubscribe, ...
      (freebsd-questions)
    • [RFC] dev_acpi: device driver for userspace access to ACPI
      ... The basic concept of operation is that the ioctl operates on the ACPI ... The sample, proof-of-concept app, is called acpitree. ... You can find the driver and sample app here: ...
      (Linux-Kernel)
    • Re: Accessing Ndis miniport from user mode application
      ... sticking to WMI, you confine yourself to strictly defined model - there are ... driver can indicate. ... to you - as I told you already, you should go for IOCTL model. ... Accessing custom OIDS through WMI. ...
      (microsoft.public.development.device.drivers)
    • Re: Why is remote system information calling ioctl for my driver?
      ... Changing the key name doesn't keep the System Information ... don't think the ioctl probing was causing the System Information util to fail ... How does it decide that my driver is a serial port ... the SerialPortIndex registry key to decide if the driver should be probed ...
      (microsoft.public.windowsce.platbuilder)