PERFORCE change 126125 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Thu Sep 6 05:54:32 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=126125
Change 126125 by gonzo at gonzo_jeeves on 2007/09/06 12:53:30
o Mem/IO window size should be shifted by 2.
Affected files ...
.. //depot/projects/mips2/src/sys/mips/mips32/idt/idtreg.h#3 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/mips32/idt/idtreg.h#3 (text+ko) ====
@@ -66,15 +66,15 @@
#define IDT_PCI_LBA0 0x14
#define IDT_PCI_LBA0_CNTL 0x18
#define IDT_PCI_LBA_MSI 0x01
-#define IDT_PCI_LBA_SIZE_1MB 0x14
-#define IDT_PCI_LBA_SIZE_2MB 0x15
-#define IDT_PCI_LBA_SIZE_4MB 0x16
-#define IDT_PCI_LBA_SIZE_8MB 0x17
-#define IDT_PCI_LBA_SIZE_16MB 0x18
-#define IDT_PCI_LBA_SIZE_32MB 0x19
-#define IDT_PCI_LBA_SIZE_64MB 0x1A
-#define IDT_PCI_LBA_SIZE_128MB 0x1B
-#define IDT_PCI_LBA_SIZE_256MB 0x1C
+#define IDT_PCI_LBA_SIZE_1MB (0x14 << 2)
+#define IDT_PCI_LBA_SIZE_2MB (0x15 << 2)
+#define IDT_PCI_LBA_SIZE_4MB (0x16 << 2)
+#define IDT_PCI_LBA_SIZE_8MB (0x17 << 2)
+#define IDT_PCI_LBA_SIZE_16MB (0x18 << 2)
+#define IDT_PCI_LBA_SIZE_32MB (0x19 << 2)
+#define IDT_PCI_LBA_SIZE_64MB (0x1A << 2)
+#define IDT_PCI_LBA_SIZE_128MB (0x1B << 2)
+#define IDT_PCI_LBA_SIZE_256MB (0x1C << 2)
#define IDT_PCI_LBA_FE 0x80
#define IDT_PCI_LBA_RT 0x100
#define IDT_PCI_LBA0_MAP 0x1C
More information about the p4-projects
mailing list