diff options
author | se <se@FreeBSD.org> | 1995-02-25 17:51:18 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 1995-02-25 17:51:18 +0000 |
commit | bf30a23c63dfd7c2f8c4cd81ae657828b8819995 (patch) | |
tree | 6a8bfcebe2a63b8aa94de5aef06466917e4f7cdb /sys/amd64 | |
parent | 8d841cc82106193320d01c66c6794967230822b5 (diff) | |
download | FreeBSD-src-bf30a23c63dfd7c2f8c4cd81ae657828b8819995.zip FreeBSD-src-bf30a23c63dfd7c2f8c4cd81ae657828b8819995.tar.gz |
Keep PCI_CONF_MODE in a safe place for later reference, if #defined.
Reviewed by: se
Submitted by: seb@erix.ericsson.se (Sebastian Strollo)
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/pci/pci_bus.c | 3 | ||||
-rw-r--r-- | sys/amd64/pci/pci_cfgreg.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c index 25356bc..fd22e08 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 25356bc..fd22e08 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; |