Subject: APM and npx
To: NetBSD Current Users <current-users@netbsd.org>
From: Kevin Sullivan <ksulliva@psc.edu>
List: current-users
Date: 08/21/2000 01:36:03
I noticed a few weeks ago that my laptop, an IBM Thinkpad 560, would no
longer enter suspend mode (see port-i386/10725).  I think I've narrowed
down the cause of the problem.

When I build with sources from June 16 at 3:45am GMT, "apm -z" works as it
should.  Sources from 4am fail as listed in the PR.  (In both cases I had
to apply a typo-fix to ufs/ffs/ffs_vfsops.c.)  The files which changed in
that time are:

P arch/i386/conf/DR-EVIL (1.20 to 1.21)
P arch/i386/conf/files.i386 (1.162 to 1.163)
P arch/i386/isa/npx.c (1.71 to 1.72)
U arch/i386/isa/npx_isa.c (created 1.1)
U arch/i386/isa/npxvar.h (created 1.1)
P arch/i386/pnpbios/files.pnpbios (1.7 to 1.8)
U arch/i386/pnpbios/npx_pnpbios.c (created 1.1)

I have all pnpbios lines commented out of my kernel config, though I do
have the standard npx0 line.

I don't understand how the changes could screw up apm on my machine
(though apparently not on too many others).  Could someone who is more
familiar with this code take a look?

        -Kevin