diff options
author | se <se@FreeBSD.org> | 1995-02-14 23:33:38 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 1995-02-14 23:33:38 +0000 |
commit | 230cb92d92dc7967df65348bcacf846efff351af (patch) | |
tree | b590e17e64b270c816d2b06d09727d38d9b72d8f /sys/dev/pci | |
parent | 5ec42e396325bb19eb4c1a6ceac495019348d3e0 (diff) | |
download | FreeBSD-src-230cb92d92dc7967df65348bcacf846efff351af.zip FreeBSD-src-230cb92d92dc7967df65348bcacf846efff351af.tar.gz |
ncr.c:
New config option "NCR_IOMAPPED" makes the driver use port I/O.
Put back in 53c815 defines, submitted by Mikael Hybsch <micke@dynas.se>.
These had got lost between cvs rev. 1.14 and now ...
pci.c:
Really write config space register.
Assign ports starting at 0xbc00.
Submitted by: wolf
Reviewed by: se
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pci.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index fa17f0b..fe27418 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 */ |