diff options
| author | Brian Somers <brian@FreeBSD.org> | 1998-09-08 18:09:51 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1998-09-08 18:09:51 +0000 |
| commit | 8aa2558802a5a2612f95c6c2e3e9c83b54be9ce8 (patch) | |
| tree | cf4fd6bfb19710bc09a7ca0885c3e976c22ce4f0 | |
| parent | c304ad8a23bc3b8e3f9315d01c2e291c391117c7 (diff) | |
Notes
| -rw-r--r-- | sys/conf/NOTES | 5 | ||||
| -rw-r--r-- | sys/conf/options.i386 | 4 | ||||
| -rw-r--r-- | sys/i386/conf/LINT | 5 | ||||
| -rw-r--r-- | sys/i386/conf/NOTES | 5 | ||||
| -rw-r--r-- | sys/i386/conf/PCCARD | 4 | ||||
| -rw-r--r-- | sys/i386/conf/options.i386 | 4 | ||||
| -rw-r--r-- | sys/pccard/pccard.c | 7 |
7 files changed, 25 insertions, 9 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 158e9f855ba5..674f3cc146bc 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -2,7 +2,7 @@ # LINT -- config file for checking all the sources, tries to pull in # as much of the source tree as it can. # -# $Id: LINT,v 1.456 1998/08/27 02:37:11 jkh Exp $ +# $Id: LINT,v 1.457 1998/09/03 20:58:34 nsouch Exp $ # # NB: You probably don't want to try running a kernel built from this # file. Instead, you should start from GENERIC, and add options from @@ -1433,6 +1433,9 @@ controller card0 device pcic0 at card? device pcic1 at card? +# You may need to reset all pccards after resuming +options PCIC_RESUME_RESET # reset after resume + # # Laptop/Notebook options: # diff --git a/sys/conf/options.i386 b/sys/conf/options.i386 index ab6cf97cff93..2b232d5a4478 100644 --- a/sys/conf/options.i386 +++ b/sys/conf/options.i386 @@ -1,4 +1,4 @@ -# $Id: options.i386,v 1.83 1998/08/08 19:25:56 jkh Exp $ +# $Id: options.i386,v 1.84 1998/08/10 08:40:27 yokota Exp $ BOUNCEPAGES opt_bounce.h DISABLE_PSE @@ -86,6 +86,8 @@ PSM_HOOKAPM opt_psm.h PSM_RESETAFTERSUSPEND opt_psm.h PSM_DEBUG opt_psm.h +PCIC_RESUME_RESET opt_pcic.h + KBD_RESETDELAY opt_kbdio.h KBD_MAXRETRY opt_kbdio.h KBD_MAXWAIT opt_kbdio.h diff --git a/sys/i386/conf/LINT b/sys/i386/conf/LINT index 158e9f855ba5..674f3cc146bc 100644 --- a/sys/i386/conf/LINT +++ b/sys/i386/conf/LINT @@ -2,7 +2,7 @@ # LINT -- config file for checking all the sources, tries to pull in # as much of the source tree as it can. # -# $Id: LINT,v 1.456 1998/08/27 02:37:11 jkh Exp $ +# $Id: LINT,v 1.457 1998/09/03 20:58:34 nsouch Exp $ # # NB: You probably don't want to try running a kernel built from this # file. Instead, you should start from GENERIC, and add options from @@ -1433,6 +1433,9 @@ controller card0 device pcic0 at card? device pcic1 at card? +# You may need to reset all pccards after resuming +options PCIC_RESUME_RESET # reset after resume + # # Laptop/Notebook options: # diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 158e9f855ba5..674f3cc146bc 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -2,7 +2,7 @@ # LINT -- config file for checking all the sources, tries to pull in # as much of the source tree as it can. # -# $Id: LINT,v 1.456 1998/08/27 02:37:11 jkh Exp $ +# $Id: LINT,v 1.457 1998/09/03 20:58:34 nsouch Exp $ # # NB: You probably don't want to try running a kernel built from this # file. Instead, you should start from GENERIC, and add options from @@ -1433,6 +1433,9 @@ controller card0 device pcic0 at card? device pcic1 at card? +# You may need to reset all pccards after resuming +options PCIC_RESUME_RESET # reset after resume + # # Laptop/Notebook options: # diff --git a/sys/i386/conf/PCCARD b/sys/i386/conf/PCCARD index 738c1eebcab2..fd01f86881d0 100644 --- a/sys/i386/conf/PCCARD +++ b/sys/i386/conf/PCCARD @@ -11,7 +11,7 @@ # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # -# $Id: PCCARD,v 1.1 1997/11/01 18:54:10 nate Exp $ +# $Id: PCCARD,v 1.2 1997/11/11 00:47:01 nate Exp $ machine "i386" cpu "I386_CPU" @@ -81,6 +81,8 @@ controller card0 device pcic0 at card? device pcic1 at card? +options PCIC_RESUME_RESET # reset after resume + device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr diff --git a/sys/i386/conf/options.i386 b/sys/i386/conf/options.i386 index ab6cf97cff93..2b232d5a4478 100644 --- a/sys/i386/conf/options.i386 +++ b/sys/i386/conf/options.i386 @@ -1,4 +1,4 @@ -# $Id: options.i386,v 1.83 1998/08/08 19:25:56 jkh Exp $ +# $Id: options.i386,v 1.84 1998/08/10 08:40:27 yokota Exp $ BOUNCEPAGES opt_bounce.h DISABLE_PSE @@ -86,6 +86,8 @@ PSM_HOOKAPM opt_psm.h PSM_RESETAFTERSUSPEND opt_psm.h PSM_DEBUG opt_psm.h +PCIC_RESUME_RESET opt_pcic.h + KBD_RESETDELAY opt_kbdio.h KBD_MAXRETRY opt_kbdio.h KBD_MAXWAIT opt_kbdio.h diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index 189b04362ce8..1f0f6741d27d 100644 --- a/sys/pccard/pccard.c +++ b/sys/pccard/pccard.c @@ -28,10 +28,11 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pccard.c,v 1.63 1998/08/16 01:21:52 bde Exp $ + * $Id: pccard.c,v 1.64 1998/08/26 07:09:58 imp Exp $ */ #include "opt_devfs.h" +#include "opt_pcic.h" #include <sys/param.h> #include <sys/systm.h> @@ -74,7 +75,7 @@ SYSCTL_NODE(_machdep, OID_AUTO, pccard, CTLFLAG_RW, 0, "pccard"); static int pcic_resume_reset = -#ifdef PCIC_RESUME_RESET +#ifdef PCIC_RESUME_RESET /* opt_pcic.h */ 1; #else 0; @@ -187,7 +188,7 @@ pccard_add_driver(struct pccard_device *drv) /* * pccard_remove_driver - called to unlink driver * from devices. Usually called when drivers are - * are unloaded from kernel. + * unloaded from kernel. */ void pccard_remove_driver(struct pccard_device *drv) |
