From owner-cvs-src@FreeBSD.ORG Wed Jul 2 09:09:03 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BFA837B401; Wed, 2 Jul 2003 09:09:03 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E60CA43FCB; Wed, 2 Jul 2003 09:09:02 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h62G920U030585; Wed, 2 Jul 2003 09:09:02 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h62G923d030584; Wed, 2 Jul 2003 09:09:02 -0700 (PDT) Message-Id: <200307021609.h62G923d030584@repoman.freebsd.org> From: John Baldwin Date: Wed, 2 Jul 2003 09:09:02 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/alpha mp_machdep.c src/sys/dev/acpica acpi.c src/sys/dev/ips ips_pci.c src/sys/dev/kbd atkbd.c src/sys/dev/sio sio.c src/sys/i386/bios apm.c src/sys/i386/isa/pcvt pcvt_drv.c src/sys/isa atkbdc_isa.c fd.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 16:09:04 -0000 jhb 2003/07/02 09:09:02 PDT FreeBSD src repository Modified files: sys/alpha/alpha mp_machdep.c sys/dev/acpica acpi.c sys/dev/ips ips_pci.c sys/dev/kbd atkbd.c sys/dev/sio sio.c sys/i386/bios apm.c sys/i386/isa/pcvt pcvt_drv.c sys/isa atkbdc_isa.c fd.c isahint.c syscons_isa.c sys/pc98/pc98 fd.c pc98kbd.c sio.c syscons_pc98.c Log: - Use the new resource_disabled() helper function to see if devices are disabled. - Change the apm driver to match the acpi driver's behavior by checking to see if the device is disabled in the identify routine instead of in the probe routine. This way if the device is disabled it is never created. Note that a few places (ips(4), Alpha SMP) used "disable" instead of "disabled" for their hint names, and these hints must be changed to "disabled". If this is a big problem, resource_disabled() can always be changed to honor both names. Revision Changes Path 1.43 +1 -3 src/sys/alpha/alpha/mp_machdep.c 1.90 +2 -5 src/sys/dev/acpica/acpi.c 1.4 +1 -4 src/sys/dev/ips/ips_pci.c 1.39 +1 -2 src/sys/dev/kbd/atkbd.c 1.401 +3 -5 src/sys/dev/sio/sio.c 1.136 +5 -10 src/sys/i386/bios/apm.c 1.78 +2 -2 src/sys/i386/isa/pcvt/pcvt_drv.c 1.27 +1 -1 src/sys/isa/atkbdc_isa.c 1.256 +2 -3 src/sys/isa/fd.c 1.14 +1 -1 src/sys/isa/isahint.c 1.23 +1 -3 src/sys/isa/syscons_isa.c 1.136 +2 -3 src/sys/pc98/pc98/fd.c 1.26 +1 -2 src/sys/pc98/pc98/pc98kbd.c 1.192 +2 -5 src/sys/pc98/pc98/sio.c 1.19 +1 -3 src/sys/pc98/pc98/syscons_pc98.c