patch-2.4.21 linux-2.4.21/arch/alpha/kernel/core_tsunami.c
Next file: linux-2.4.21/arch/alpha/kernel/core_wildfire.c
Previous file: linux-2.4.21/arch/alpha/kernel/core_titan.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-06-13 07:51:29.000000000 -0700
- Orig file:
linux-2.4.20/arch/alpha/kernel/core_tsunami.c
- Orig date:
2001-10-21 10:30:58.000000000 -0700
diff -urN linux-2.4.20/arch/alpha/kernel/core_tsunami.c linux-2.4.21/arch/alpha/kernel/core_tsunami.c
@@ -350,10 +350,17 @@
* Window 0 is scatter-gather 8MB at 8MB (for isa)
* Window 1 is scatter-gather (up to) 1GB at 1GB
* Window 2 is direct access 2GB at 2GB
+ *
+ * NOTE: we need the align_entry settings for Acer devices on ES40,
+ * specifically floppy and IDE when memory is larger than 2GB.
*/
hose->sg_isa = iommu_arena_new(hose, 0x00800000, 0x00800000, 0);
+ /* Initially set for 4 PTEs, but will be overridden to 64K for ISA. */
+ hose->sg_isa->align_entry = 4;
+
hose->sg_pci = iommu_arena_new(hose, 0x40000000,
size_for_memory(0x40000000), 0);
+ hose->sg_pci->align_entry = 4; /* Tsunami caches 4 PTEs at a time */
__direct_map_base = 0x80000000;
__direct_map_size = 0x80000000;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)