[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-wlan-devel
Subject:    [lwlan-devel]: How to call pcmcia drivers ioctl?
From:       linux-wlan-devel () absoval ! com (Mark S !  Mathews)
Date:       2000-01-12 18:48:00
[Download RAW message or body]

Hello Oogie,

Get your stiching back in place?

The trick is to issue a PRIVATE ioctl on a properly opened socket and to
set the ifname member of the req structure.

Download this file:

ftp://ftp.absoval.com/pub/linux-wlan/linux-wlan-0.3.4.tar.gz

untar it and look at wlanctl/main.c.  There's an example of doing what
you're asking.

-Mark




On Wed, 12 Jan 2000, Mr. Oogie Boogie wrote:

> Hello all,
> 
> I'm pretty new to Linux driver development so if there is an easy,
> obvious answer to this question I haven't found it yet.
> 
> What I want to do is create a user program that can call my drivers
> ioctl function. I've tried the obvious: ioctl( int fd, int request )
> but the call gets intercepted by Driver Services. How do I bypass
> Driver Services to get to my dev->do_ioctl where dev->do_ioctl =
> &pcnet_rp_ioctl?
> 
> Any help, sample code or pointers in the right direction would be
> greatly appreciated.
> 
> Thanks,
>  
> Ralph A. Preston
> The MITRE Corporation
> 202 Burlington Road, MS E015
> Bedford, MA 01730-1420
> Work: 781-271-7914  Fax: 781-271-8875  Cell: 617-257-2695
> --------------------------------------------------
> Linux WLAN Developer's List
> For more information about this list see:
> http://www.absoval.com/linux-wlan/lists.html
> 


Mark S. Mathews

AbsoluteValue Software     Web:    http://www.absoval.com
P.O. Box 941149            e-mail: mark@absoval.com
Maitland, FL 32794-1149    Phone:  407.644.8582
USA                        Fax:    407.539.1294

--------------------------------------------------
Linux WLAN Developer's List
For more information about this list see:
http://www.absoval.com/linux-wlan/lists.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic