git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel/PCI - Fixed lack of shift in detecting special classes
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
drv
/
pci.c
diff --git
a/KernelLand/Kernel/drv/pci.c
b/KernelLand/Kernel/drv/pci.c
index
dec81b8
..
d3a1ebc
100644
(file)
--- a/
KernelLand/Kernel/drv/pci.c
+++ b/
KernelLand/Kernel/drv/pci.c
@@
-215,7
+215,7
@@
int PCI_ScanBus(int BusID, int bFill)
}
\r
giPCI_DeviceCount ++;
\r
\r
- switch(
devInfo.ConfigCache[3] & 0x007F0000
)
\r
+ switch(
(devInfo.ConfigCache[3] >> 16) & 0x7F
)
\r
{
\r
case 0x00: // Normal device
\r
break;
\r
UCC
git Repository :: git.ucc.asn.au