]> Zhao Yanbai Git Server - minix.git/commitdiff
SYS_MAPDMAx -> SYS_MAPDMA, added IOMMU_MAP
authorPhilip Homburg <philip@cs.vu.nl>
Mon, 25 Feb 2008 14:39:19 +0000 (14:39 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Mon, 25 Feb 2008 14:39:19 +0000 (14:39 +0000)
drivers/amddev/amddev.c
include/minix/com.h

index 69fc430f2e180671028f500555f57984b9fae138..fe011a9c62f7d1227ef208697147caea425d7d51 100644 (file)
@@ -84,7 +84,7 @@ int main(void)
                        do_pm_notify(&m);
                        continue;
 
-               case IOMMU_ADD:
+               case IOMMU_MAP:
                        r= do_add4pci(&m);
                        m.m_type= r;
                        send(m.m_source, &m);
index 8af4f13d86386ab2d1e7856a4051da2b8677e6f9..6317ba6fff6f4c1bbea8247e74b50b446acb72a0 100755 (executable)
 #define BUSC_PCI_DEL_ACL       (BUSC_RQ_BASE + 18)     /* Delete the ACL of a
                                                         * driver 
                                                         */
+#define IOMMU_MAP              (BUSC_RQ_BASE + 32)     /* Ask IOMMU to map
+                                                        * a segment of memory
+                                                        */
+
+
 
 /*===========================================================================*
  *                Messages for BLOCK and CHARACTER device drivers           *
 
 #  define SYS_STIME    (KERNEL_CALL + 39)      /* sys_stime() */
 
-#  define SYS_MAPDMAx  (KERNEL_CALL + 42)      /* sys_mapdmax() */
+#  define SYS_MAPDMA   (KERNEL_CALL + 42)      /* sys_mapdma() */
 
 #define NR_SYS_CALLS   43      /* number of system calls */