jhb 1607c7dea2 Calculate the number of pages the GATT spans when reading from each page
to flush the TLB instead of hardcoding a size of 33 pages.  Apertures of
32MB and 64MB only use a 16 page GATT and an aperture of 128MB only uses
a 32 page GATT, so without this the code could walk off the end of the
pointer and cause a page fault if the next page was unmapped.  Also, for
aperture sizes > 128MB, not all of the pages would be read.  The Linux
driver has the same bug.

MFC after:	1 week
Tested by:	Frédéric PRACA  frederic.praca of freebsd-fr.org
2008-03-07 13:36:38 +00:00
..
2007-08-04 17:43:11 +00:00
2008-01-18 16:34:18 +00:00
2008-02-22 00:46:22 +00:00
2008-01-29 02:15:11 +00:00
2007-10-12 06:03:46 +00:00
2007-02-23 19:27:49 +00:00
2007-10-12 06:03:46 +00:00
2008-02-26 23:12:55 +00:00
2008-02-27 10:14:57 +00:00
2007-03-21 03:42:51 +00:00
2008-01-07 09:46:39 +00:00
2007-02-23 19:34:52 +00:00
2008-03-01 08:23:35 +00:00
2008-02-28 18:31:54 +00:00
2007-10-12 06:03:46 +00:00
2007-07-05 06:51:49 +00:00
2007-06-08 01:54:22 +00:00
2008-01-21 09:51:28 +00:00
2008-02-19 20:54:42 +00:00
2008-02-12 08:58:26 +00:00
2007-03-21 03:42:51 +00:00
2007-12-05 19:32:59 +00:00