From owner-freebsd-mobile Thu Oct 23 18:06:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA10462 for mobile-outgoing; Thu, 23 Oct 1997 18:06:29 -0700 (PDT) (envelope-from owner-freebsd-mobile) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA10456 for ; Thu, 23 Oct 1997 18:06:23 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id SAA18724; Thu, 23 Oct 1997 18:06:02 -0700 (PDT) Message-ID: <19971023180601.65534@hydrogen.nike.efn.org> Date: Thu, 23 Oct 1997 18:06:01 -0700 From: John-Mark Gurney To: Nate Williams Cc: mobile@FreeBSD.ORG Subject: Re: Patches from -current for -stable I'd like to commit after testing References: <199710221610.KAA10346@rocky.mt.sri.com> <199710231344.XAA00290@word.smith.net.au> <199710231611.KAA15468@rocky.mt.sri.com> <199710240004.SAA17893@rocky.mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199710240004.SAA17893@rocky.mt.sri.com>; from Nate Williams on Thu, Oct 23, 1997 at 06:04:20PM -0600 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Nate Williams scribbled this message on Oct 23: > In any case, I'd like to figure out a way to have a device truly > 'shutdown', and then come back up. However, I need to look at things a > bit more closely, since my 'brute force and ignorance' patch didn't seem > to help. ahh.. thanks for telling me this.. right now I'm looking at designing a new bus/device interaction spec... and stuff like this is what I want to know about.. :) with your addition I realized that having "fixed" entries for probe/attach'ing is really stupid.. and that we should actually go on an event based system where an even is delievered to the device driver... right now it's something like: enum { DV_PROBE, DV_ATTACH, DV_DETACH, DV_SUSPEND, DV_RESUME }; int (*handler)(strcut device *dev, int event); this is still in design stage... so I'm open to suggestions... current spec is: http://resnet.uoregon.edu:6971/~jmg/FreeBSD/busdevice.html > However, on a positive note, I can suspend/resume with apm_pccard_resume > set to 1 on my box. :) I need to update current on my notebook.. I wish that I had 100mbit network with a 100mbit card.. doing an installworld over nfs just takes to darn long.. :( -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD