Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2007 12:54:31 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 126125 for review
Message-ID:  <200709061254.l86CsV64036103@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126125

Change 126125 by gonzo@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709061254.l86CsV64036103>