Date: Wed, 3 Apr 2002 21:32:37 -0600 (CST) From: Jeremy Norris <ishmael@mchsi.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/36716: Add PCI_ENABLE_IO_MODES to -stable kernel options Message-ID: <200204040332.g343WbN52273@babylon.merseine.nu>
next in thread | raw e-mail | index | archive | help
>Number: 36716 >Category: kern >Synopsis: Add PCI_ENABLE_IO_MODES to -stable kernel options >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 03 19:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jeremy Norris >Release: FreeBSD 4.5-STABLE i386 >Organization: None >Environment: System: FreeBSD babylon.merseine.nu 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Mar 22 17:10:21 CST 2002 ishmael@babylon.merseine.nu:/usr/src/sys/compile/BABYLON i386 >Description: src/sys/pci/pci.c has an option PCI_ENABLE_IO_MODES in -stable, (like src/sys/dev/pci/pci.c on -current) but it was never added as a valid kernel config option. This option is useful to getting some devices to probe and attach (for example, my Intel 82801CA ICH3 sound chip on my Sony VAIO laptop). >How-To-Repeat: Try adding PCI_ENABLE_IO_MODES to your kernel to get the sound chip on recent Sony Vaio's to probe/attach and watch config bomb. >Fix: Index: src/sys/conf/options =================================================================== RCS file: /home/ncvs/src/sys/conf/options,v retrieving revision 1.191.2.39 diff -u -r1.191.2.39 options --- src/sys/conf/options 2002/02/19 23:08:49 1.191.2.39 +++ src/sys/conf/options 2002/04/04 03:21:48 @@ -386,6 +386,7 @@ MSGBUF_SIZE opt_msgbuf.h # PCI related options +PCI_ENABLE_IO_MODES opt_pci.h PCI_QUIET opt_pci.h # NFS options Index: src/sys/i386/conf/LINT =================================================================== RCS file: /home/ncvs/src/sys/i386/conf/Attic/LINT,v retrieving revision 1.749.2.106 diff -u -r1.749.2.106 LINT --- src/sys/i386/conf/LINT 2002/03/11 01:23:05 1.749.2.106 +++ src/sys/i386/conf/LINT 2002/04/04 03:21:51 @@ -1780,6 +1780,8 @@ # PCI options # +#Enable pci resources left off by a "lazy" BIOS: +options PCI_ENABLE_IO_MODES #options PCI_QUIET #quiets PCI code on chipset settings Index: src/sys/pci/pci.c =================================================================== RCS file: /home/ncvs/src/sys/pci/Attic/pci.c,v retrieving revision 1.141.2.14 diff -u -r1.141.2.14 pci.c --- src/sys/pci/pci.c 2002/01/10 12:08:22 1.141.2.14 +++ src/sys/pci/pci.c 2002/04/04 03:21:51 @@ -28,6 +28,7 @@ */ #include "opt_bus.h" +#include "opt_pci.h" #include "opt_simos.h" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204040332.g343WbN52273>