mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: volodya@mindspring.com
To: "sébastien person" <sebastien.person@sycomore.fr>
Cc: liste noyau linux <linux-kernel@vger.kernel.org>,
	liste dev network device <netdev@oss.sgi.com>
Subject: Re: NEWBEE "reverse ioctl" or someting like
Date: Thu, 3 May 2001 10:54:59 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.20.0105031053130.928-100000@node2.localnet.net> (raw)
In-Reply-To: <20010503142929.773147bf.sebastien.person@sycomore.fr>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1430 bytes --]


a) just make your management app periodically issue 
  ioctl(fd, GET_CONFIG_INFO, ...)
and make the driver return -1 when the info is not present

b) make a new device and open it with management app

c) make a new node in /proc and open it with management app 
  (cons: requires /proc to be mounted)

d) kernel-user netlink socket (never tried myself)

                     Vladimir Dergachev

On Thu, 3 May 2001, [ISO-8859-1] sébastien person wrote:

> hi,
> 
> I've made a network driver wich is attached to the serial port.
> The network hardware is able to return information to the pc. theses
> informations are belong to the configuration of the hardware. I 
> succeed on receive information in the driver but I've no idea to alert
> higher process (like configuration app ...) that I've received something
> (wich is not network data like TCP or ARP etc ...).
> 
> I think that use of pipe isn't preconised because I must fork process
> to use pipe, I search something like ioctl but in the other way : 
> 
>  kernel process ---> user process
> 
> Is somebody know the best and easy way ??
> 
> thank (I hope this is the right place to ask)
> 
> sebastien person
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


  parent reply	other threads:[~2001-05-03 14:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.10.10105030845110.4386-100000@coffee.psychology.mcmaster.ca>
2001-05-03 12:29 ` sébastien person
2001-05-03 12:51   ` Nikolas Zimmermann
2001-05-03 13:57   ` sébastien person
2001-05-03 15:19     ` Joseph Bueno
2001-05-03 14:54   ` volodya [this message]
2001-05-03 22:34   ` Markus Schaber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.20.0105031053130.928-100000@node2.localnet.net \
    --to=volodya@mindspring.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=sebastien.person@sycomore.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®