From 781d9d4623ee81cbbe64c1630967d62b2b4ea35b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Sat, 25 Feb 1995 17:51:18 +0000 Subject: [PATCH] Keep PCI_CONF_MODE in a safe place for later reference, if #defined. Reviewed by: se Submitted by: seb@erix.ericsson.se (Sebastian Strollo) --- sys/amd64/pci/pci_bus.c | 3 ++- sys/amd64/pci/pci_cfgreg.c | 3 ++- sys/i386/isa/pcibus.c | 3 ++- sys/i386/pci/pci_bus.c | 3 ++- sys/i386/pci/pci_cfgreg.c | 3 ++- sys/i386/pci/pci_pir.c | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c index 25356bcd931e..fd22e085a8c6 100644 --- a/sys/amd64/pci/pci_bus.c +++ b/sys/amd64/pci/pci_bus.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.1 1995/02/01 23:06:58 se Exp $ +** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -183,6 +183,7 @@ static int pcibus_mode (void) { #ifdef PCI_CONF_MODE + pci_mode = PCI_CONF_MODE; return (PCI_CONF_MODE) #else /* PCI_CONF_MODE */ u_long result, oldval; diff --git a/sys/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c index 25356bcd931e..fd22e085a8c6 100644 --- a/sys/amd64/pci/pci_cfgreg.c +++ b/sys/amd64/pci/pci_cfgreg.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.1 1995/02/01 23:06:58 se Exp $ +** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -183,6 +183,7 @@ static int pcibus_mode (void) { #ifdef PCI_CONF_MODE + pci_mode = PCI_CONF_MODE; return (PCI_CONF_MODE) #else /* PCI_CONF_MODE */ u_long result, oldval; diff --git a/sys/i386/isa/pcibus.c b/sys/i386/isa/pcibus.c index 25356bcd931e..fd22e085a8c6 100644 --- a/sys/i386/isa/pcibus.c +++ b/sys/i386/isa/pcibus.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.1 1995/02/01 23:06:58 se Exp $ +** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -183,6 +183,7 @@ static int pcibus_mode (void) { #ifdef PCI_CONF_MODE + pci_mode = PCI_CONF_MODE; return (PCI_CONF_MODE) #else /* PCI_CONF_MODE */ u_long result, oldval; diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c index 25356bcd931e..fd22e085a8c6 100644 --- a/sys/i386/pci/pci_bus.c +++ b/sys/i386/pci/pci_bus.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.1 1995/02/01 23:06:58 se Exp $ +** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -183,6 +183,7 @@ static int pcibus_mode (void) { #ifdef PCI_CONF_MODE + pci_mode = PCI_CONF_MODE; return (PCI_CONF_MODE) #else /* PCI_CONF_MODE */ u_long result, oldval; diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c index 25356bcd931e..fd22e085a8c6 100644 --- a/sys/i386/pci/pci_cfgreg.c +++ b/sys/i386/pci/pci_cfgreg.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.1 1995/02/01 23:06:58 se Exp $ +** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -183,6 +183,7 @@ static int pcibus_mode (void) { #ifdef PCI_CONF_MODE + pci_mode = PCI_CONF_MODE; return (PCI_CONF_MODE) #else /* PCI_CONF_MODE */ u_long result, oldval; diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index 25356bcd931e..fd22e085a8c6 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.1 1995/02/01 23:06:58 se Exp $ +** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -183,6 +183,7 @@ static int pcibus_mode (void) { #ifdef PCI_CONF_MODE + pci_mode = PCI_CONF_MODE; return (PCI_CONF_MODE) #else /* PCI_CONF_MODE */ u_long result, oldval;