[Glibc-bsd-commits] r3702 - trunk/kfreebsd-9/debian/patches

Robert Millan rmh at alioth.debian.org
Thu Sep 15 19:52:00 UTC 2011


Author: rmh
Date: 2011-09-15 19:52:00 +0000 (Thu, 15 Sep 2011)
New Revision: 3702

Modified:
   trunk/kfreebsd-9/debian/patches/006_mips_i8259_alloc.diff
Log:
Also allocate I/O port 0x81 (DMA controller)

Modified: trunk/kfreebsd-9/debian/patches/006_mips_i8259_alloc.diff
===================================================================
--- trunk/kfreebsd-9/debian/patches/006_mips_i8259_alloc.diff	2011-09-14 20:45:28 UTC (rev 3701)
+++ trunk/kfreebsd-9/debian/patches/006_mips_i8259_alloc.diff	2011-09-15 19:52:00 UTC (rev 3702)
@@ -8,7 +8,7 @@
  
  #include <mips/malta/maltareg.h>
  
-@@ -401,7 +402,38 @@
+@@ -401,7 +402,42 @@
  	}
  
  	/* Initialize memory and i/o rmans. */
@@ -43,6 +43,10 @@
 +		res = bus_alloc_resource(child, SYS_RES_IOPORT, &rid, MALTA_RTCADR, MALTA_RTCADR + 2, 2, RF_ACTIVE);
 +		if (res == NULL)
 +			device_printf(child, "cannot allocate registers for RTC controller\n");
++
++		res = bus_alloc_resource(child, SYS_RES_IOPORT, &rid, 0x81, 0x81 + 1, 1, RF_ACTIVE);
++		if (res == NULL)
++			device_printf(child, "cannot allocate registers for DMA controller\n");
 +	}
 +
  	return (bus_generic_attach(dev));




More information about the Glibc-bsd-commits mailing list