Keep PCI_CONF_MODE in a safe place for later reference, if #defined.

Reviewed by:	se
Submitted by:	seb@erix.ericsson.se (Sebastian Strollo)
This commit is contained in:
Stefan Eßer 1995-02-25 17:51:18 +00:00
parent 9b7d1decfc
commit 781d9d4623
6 changed files with 12 additions and 6 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;