Ivan Kokshaysky cf7bee5a0b [PATCH] Fix restore of 64-bit PCI BAR's
For 64-bit BAR[i] only pci_dev->resource[i] is valid, ->resource[i+1]
slot is unused and contains zeroes in all fields.

So when we update a PCI BAR, all we need is just to check that we're
going to update a _valid_ resource.

Also make sure to write high bits - use "x >> 16 >> 16" (rather than the
simpler ">> 32") to avoid warnings on 32-bit architectures where we're
not going to have any high bits.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-07 09:50:56 -07:00
..
2005-07-30 09:47:53 -05:00
2005-07-27 16:25:57 -07:00
2005-08-04 13:00:55 -07:00
2005-07-12 16:01:02 -07:00
2005-08-01 19:14:01 -07:00
2005-04-16 15:20:36 -07:00
2005-07-29 15:01:14 -07:00
2005-06-21 18:46:32 -07:00
2005-04-16 15:20:36 -07:00
2005-07-29 13:12:51 -07:00
2005-07-11 14:14:31 -07:00