diff options
| author | Stefan Eßer <se@FreeBSD.org> | 1997-05-26 21:25:24 +0000 |
|---|---|---|
| committer | Stefan Eßer <se@FreeBSD.org> | 1997-05-26 21:25:24 +0000 |
| commit | 64039d403f0ac2f6504697a1fbdd015d6d8e672f (patch) | |
| tree | 63aa990bb2cb87520af82fa24db15bf2938df1d7 | |
| parent | e0c57a96155278df8300409fee0d03e57a6e3d4b (diff) | |
Notes
| -rw-r--r-- | sys/amd64/pci/pci_bus.c | 4 | ||||
| -rw-r--r-- | sys/amd64/pci/pci_cfgreg.c | 4 | ||||
| -rw-r--r-- | sys/i386/isa/pcibus.c | 4 | ||||
| -rw-r--r-- | sys/i386/pci/pci_bus.c | 4 | ||||
| -rw-r--r-- | sys/i386/pci/pci_cfgreg.c | 4 | ||||
| -rw-r--r-- | sys/i386/pci/pci_pir.c | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c index cc58c0d816f9..7085c1edbc77 100644 --- a/sys/amd64/pci/pci_bus.c +++ b/sys/amd64/pci/pci_bus.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcibus.c,v 1.36 1997/05/26 15:08:42 se Exp $ + * $Id: pcibus.c,v 1.37 1997/05/26 21:11:05 se Exp $ * */ @@ -59,7 +59,7 @@ pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) && (reg & (bytes -1)) == 0) { switch (cfgmech) { case 1: - outl(CONF1_ADDR_PORT, 0x8000 | + outl(CONF1_ADDR_PORT, (1 << 31) | (bus << 16) | (slot << 11) | (func << 8) | reg); dataport = CONF1_DATA_PORT; break; diff --git a/sys/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c index cc58c0d816f9..7085c1edbc77 100644 --- a/sys/amd64/pci/pci_cfgreg.c +++ b/sys/amd64/pci/pci_cfgreg.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcibus.c,v 1.36 1997/05/26 15:08:42 se Exp $ + * $Id: pcibus.c,v 1.37 1997/05/26 21:11:05 se Exp $ * */ @@ -59,7 +59,7 @@ pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) && (reg & (bytes -1)) == 0) { switch (cfgmech) { case 1: - outl(CONF1_ADDR_PORT, 0x8000 | + outl(CONF1_ADDR_PORT, (1 << 31) | (bus << 16) | (slot << 11) | (func << 8) | reg); dataport = CONF1_DATA_PORT; break; diff --git a/sys/i386/isa/pcibus.c b/sys/i386/isa/pcibus.c index cc58c0d816f9..7085c1edbc77 100644 --- a/sys/i386/isa/pcibus.c +++ b/sys/i386/isa/pcibus.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcibus.c,v 1.36 1997/05/26 15:08:42 se Exp $ + * $Id: pcibus.c,v 1.37 1997/05/26 21:11:05 se Exp $ * */ @@ -59,7 +59,7 @@ pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) && (reg & (bytes -1)) == 0) { switch (cfgmech) { case 1: - outl(CONF1_ADDR_PORT, 0x8000 | + outl(CONF1_ADDR_PORT, (1 << 31) | (bus << 16) | (slot << 11) | (func << 8) | reg); dataport = CONF1_DATA_PORT; break; diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c index cc58c0d816f9..7085c1edbc77 100644 --- a/sys/i386/pci/pci_bus.c +++ b/sys/i386/pci/pci_bus.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcibus.c,v 1.36 1997/05/26 15:08:42 se Exp $ + * $Id: pcibus.c,v 1.37 1997/05/26 21:11:05 se Exp $ * */ @@ -59,7 +59,7 @@ pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) && (reg & (bytes -1)) == 0) { switch (cfgmech) { case 1: - outl(CONF1_ADDR_PORT, 0x8000 | + outl(CONF1_ADDR_PORT, (1 << 31) | (bus << 16) | (slot << 11) | (func << 8) | reg); dataport = CONF1_DATA_PORT; break; diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c index cc58c0d816f9..7085c1edbc77 100644 --- a/sys/i386/pci/pci_cfgreg.c +++ b/sys/i386/pci/pci_cfgreg.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcibus.c,v 1.36 1997/05/26 15:08:42 se Exp $ + * $Id: pcibus.c,v 1.37 1997/05/26 21:11:05 se Exp $ * */ @@ -59,7 +59,7 @@ pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) && (reg & (bytes -1)) == 0) { switch (cfgmech) { case 1: - outl(CONF1_ADDR_PORT, 0x8000 | + outl(CONF1_ADDR_PORT, (1 << 31) | (bus << 16) | (slot << 11) | (func << 8) | reg); dataport = CONF1_DATA_PORT; break; diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index cc58c0d816f9..7085c1edbc77 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcibus.c,v 1.36 1997/05/26 15:08:42 se Exp $ + * $Id: pcibus.c,v 1.37 1997/05/26 21:11:05 se Exp $ * */ @@ -59,7 +59,7 @@ pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) && (reg & (bytes -1)) == 0) { switch (cfgmech) { case 1: - outl(CONF1_ADDR_PORT, 0x8000 | + outl(CONF1_ADDR_PORT, (1 << 31) | (bus << 16) | (slot << 11) | (func << 8) | reg); dataport = CONF1_DATA_PORT; break; |
