mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Correct previous Orion specific fix: The configuration register
access function always returns a DWORD aligned DWORD ...
This commit is contained in:
parent
7fa8a688aa
commit
64dc51ab2e
@ -1,6 +1,6 @@
|
|||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
**
|
**
|
||||||
** $Id: pcisupport.c,v 1.33 1996/04/07 17:32:36 bde Exp $
|
** $Id: pcisupport.c,v 1.34 1996/09/02 21:23:06 se Exp $
|
||||||
**
|
**
|
||||||
** Device driver for DEC/INTEL PCI chipsets.
|
** Device driver for DEC/INTEL PCI chipsets.
|
||||||
**
|
**
|
||||||
@ -807,7 +807,7 @@ extern unsigned pciroots;
|
|||||||
static void
|
static void
|
||||||
config_orion (pcici_t tag)
|
config_orion (pcici_t tag)
|
||||||
{
|
{
|
||||||
if (pci_conf_read (tag, 0x4A) > 0) {
|
if (((pci_conf_read (tag, 0x48) >> 16) & 0xff) > 0) {
|
||||||
pciroots++;
|
pciroots++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user