strace: Remove the ability to write to Qstrace
[akaros.git] / kern / drivers / net / ether8169.c
index 828e0ef..4bdce2d 100644 (file)
@@ -619,7 +619,7 @@ rtl8169replenish(struct ctlr* ctlr)
                         * Simple allocation for now.
                         * This better be aligned on 8.
                         */
-                       bp = iallocb(Mps);
+                       bp = block_alloc(Mps, MEM_ATOMIC);
                        if(bp == NULL){
                                printk("no available buffers\n");
                                break;
@@ -713,7 +713,7 @@ rtl8169init(struct ether* edev)
                 */
                printk("untested\n");
                break;
-#if 0        
+#if 0
                r = csr8r(ctlr, Config2) & 0x07;
                if(r == 0x01)                           /* 66MHz PCI */
                        csr32w(ctlr, 0x7C, 0x0007FFFF); /* magic */