aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>1995-02-14 23:33:38 +0000
committerStefan Eßer <se@FreeBSD.org>1995-02-14 23:33:38 +0000
commit9ddf96998eeefc671c0ec5be05b15f57a64166bc (patch)
treeb590e17e64b270c816d2b06d09727d38d9b72d8f /sys/dev/pci
parent628e3e34018e68cbaef3571878d60b66338abe07 (diff)
Notes
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index fa17f0b4f2a1..fe274185d30a 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pci.c,v 1.12 1995/02/09 20:20:33 se Exp $
+** $Id: pci.c,v 1.9 1994/11/02 23:47:13 se Exp $
**
** General subroutines for the PCI bus on 80*86 systems.
** pci_configure ()
@@ -124,7 +124,7 @@ static vm_offset_t pci_paddr = PCI_PMEM_START;
*/
#ifndef PCI_PORT_START
-#define PCI_PORT_START 0x0400
+#define PCI_PORT_START 0xbc00
#endif
static u_short pci_ioaddr = PCI_PORT_START;
@@ -484,6 +484,12 @@ int pci_map_port (pcici_t tag, u_long reg, u_short* pa)
#endif
/*
+ ** set device address
+ */
+
+ pcibus.pb_write (tag, reg, (u_long) pci_ioaddr);
+
+ /*
** return them to the driver
*/