Correct previous Orion specific fix: The configuration register

access function always returns a DWORD aligned DWORD ...
This commit is contained in:
Stefan Eßer 1996-09-02 21:33:41 +00:00
parent 7fa8a688aa
commit 64dc51ab2e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18001

View File

@ -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.
**
@ -807,7 +807,7 @@ extern unsigned pciroots;
static void
config_orion (pcici_t tag)
{
if (pci_conf_read (tag, 0x4A) > 0) {
if (((pci_conf_read (tag, 0x48) >> 16) & 0xff) > 0) {
pciroots++;
}
}