Warner Losh f9937ed8f3 Mask off the bar's value after the probe test write before testing
against 0 in pci_alloc_map, just like we do in pci_add_map.  Also,
make sure that we restore the value to the BAR that was there before
if the bar is 0.  Chances are that it was 0 before the write too and
that the restoration is a nop, but better safe than sorry.

Notice by: dwhite
2005-06-03 19:41:06 +00:00
..
2005-05-14 10:51:16 +00:00
2005-04-08 18:04:39 +00:00
2005-03-28 17:52:12 +00:00
2005-06-02 03:18:55 +00:00
2005-05-10 12:02:18 +00:00
2005-02-27 22:16:58 +00:00
2005-02-24 21:32:56 +00:00
2005-04-13 13:02:58 +00:00
2005-01-20 20:06:44 +00:00
2005-05-14 10:26:31 +00:00
2005-04-04 17:37:35 +00:00
2004-08-02 20:42:28 +00:00
2004-06-16 09:47:26 +00:00
2005-05-19 21:20:42 +00:00
2004-08-04 18:30:31 +00:00
2005-05-19 21:16:50 +00:00
2005-04-08 05:22:58 +00:00
2005-02-27 22:01:09 +00:00
2005-02-03 00:40:35 +00:00
2005-05-22 18:34:20 +00:00
2005-02-10 12:02:37 +00:00
2005-05-29 23:22:23 +00:00
2005-05-20 23:29:55 +00:00
2005-05-09 04:47:58 +00:00
2005-01-20 19:32:37 +00:00