9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: presotto@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] detaching devices in kernel
Date: Fri,  4 Oct 2002 14:47:50 -0400	[thread overview]
Message-ID: <45098fb3e4f8177c084ae2c818357620@plan9.bell-labs.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

It would be a control message to the appropriate device that in turn
calls the devtab[whatever]->config routine.  The first argument is
0 or 1, meaning unconfigure or configure.  Look at etherconfig in
bitsy/devether.c.  Its already in devtab, but noone uses it except
bitsy/devpcmcia.c.  I was going to make it a bit more universal but
it was just at the time pb was doing the pccard interface for the
pc and I got deflected.  I'ld like the pcmcia/pccard interface on the
pc's to work the same way as the one in the bitsy.  Maybe in my next
lifetime or maybe someone out there will decide its a good idea and
find the time.

[-- Attachment #2: Type: message/rfc822, Size: 2321 bytes --]

From: Ronald G Minnich <rminnich@lanl.gov>
To: <9fans@cse.psu.edu>
Subject: Re: [9fans] detaching devices in kernel
Date: Fri, 4 Oct 2002 12:38:41 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0210041237570.8559-100000@xed.acl.lanl.gov>

On Fri, 4 Oct 2002 presotto@plan9.bell-labs.com wrote:

> Once the device is notices, it's there forever.  The exception is
> the bitsy were we've started putting in stuff to take out pccards.
> We need to move that work everywhere, just haven't gotten around
> to it.

thanks for the clarification.

What would be the process by which a device is removed. A new function in
the interface (detach?) or some sequence of existing functions?

ron

             reply	other threads:[~2002-10-04 18:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-04 18:47 presotto [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-04 18:33 presotto
2002-10-04 18:38 ` Ronald G Minnich
2002-10-04 16:03 Russ Cox
2002-10-04 15:50 andrey mirtchovski

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=45098fb3e4f8177c084ae2c818357620@plan9.bell-labs.com \
    --to=presotto@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).