Google Groups Home
Help | Sign in
Message from discussion detaching devices in kernel
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
presotto  
View profile
 More options Oct 4 2002, 2:55 pm
Newsgroups: comp.os.plan9
From: preso...@plan9.bell-labs.com
Date: Fri, 4 Oct 2002 18:48:31 GMT
Local: Fri, Oct 4 2002 2:48 pm
Subject: Re: [9fans] detaching devices in kernel

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.

[ Attached Message ]

From: Ronald G Minnich <rminn...@lanl.gov>
To: <9f...@cse.psu.edu>
Date: Fri, 4 Oct 2002 12:38:41 -0600 (MDT)
Local: Fri, Oct 4 2002 2:38 pm
Subject: Re: [9fans] detaching devices in kernel
On Fri, 4 Oct 2002 preso...@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 to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google