]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove the second check for a 64-bit BAR value on a 32-bit system in
authorjhb <jhb@FreeBSD.org>
Tue, 5 Aug 2008 21:04:00 +0000 (21:04 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 5 Aug 2008 21:04:00 +0000 (21:04 +0000)
commit24c4192859a382c5ad248dd77f58192f1bf0c83b
tree94a8a5af96d5446089fb10d14442aa43e06bb5f7
parent997506ffa8b103c5b40f4d7cc7198722e05984dd
Remove the second check for a 64-bit BAR value on a 32-bit system in
pci_add_map().  First, this condition is already handled earlier in
the function.  Second, as written the check would never fire as the
'start' value was overwritten with a long value (rman_get_start() returns
long) before the comparison was done.

Discussed with: imp
MFC after: 2 weeks
sys/dev/pci/pci.c