From owner-freebsd-smp Wed Dec 4 11:02:06 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA15930 for smp-outgoing; Wed, 4 Dec 1996 11:02:06 -0800 (PST) Received: from spinner.DIALix.COM (root@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA15925 for ; Wed, 4 Dec 1996 11:02:00 -0800 (PST) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.4/8.8.4) with ESMTP id DAA00705 for ; Thu, 5 Dec 1996 03:01:55 +0800 (WST) Message-Id: <199612041901.DAA00705@spinner.DIALix.COM> To: smp@freebsd.org Subject: prototype diffs for config(8) Date: Thu, 05 Dec 1996 03:01:54 +0800 From: Peter Wemm Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk If anbody wants to try these out, they should add the counters for the 4 ipi interrupts to 'vmstat -i' and 'systat -vmstat'. -Peter Index: mkglue.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/config/mkglue.c,v retrieving revision 1.10 diff -c -r1.10 mkglue.c *** mkglue.c 1996/06/02 17:21:57 1.10 --- mkglue.c 1996/12/04 13:55:35 *************** *** 363,369 **** fprintf(fp, "pci irqnn\\0\\\n"); fprintf(fp, "pci irqnn\\0\\\n"); fprintf(fp, "pci irqnn\\0\\\n"); ! dev_id = 6; vector_devtab(fp, "bio", &dev_id); vector_devtab(fp, "tty", &dev_id); vector_devtab(fp, "net", &dev_id); --- 363,373 ---- fprintf(fp, "pci irqnn\\0\\\n"); fprintf(fp, "pci irqnn\\0\\\n"); fprintf(fp, "pci irqnn\\0\\\n"); ! fprintf(fp, "ipi irqnn\\0\\\n"); ! fprintf(fp, "ipi irqnn\\0\\\n"); ! fprintf(fp, "ipi irqnn\\0\\\n"); ! fprintf(fp, "ipi irqnn\\0\\\n"); ! dev_id = 10; vector_devtab(fp, "bio", &dev_id); vector_devtab(fp, "tty", &dev_id); vector_devtab(fp, "net", &dev_id); Index: mkioconf.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/config/mkioconf.c,v retrieving revision 1.25 diff -c -r1.25 mkioconf.c *** mkioconf.c 1996/06/02 17:21:58 1.25 --- mkioconf.c 1996/12/04 13:22:51 *************** *** 682,688 **** if (printed) fprintf(fp1, "\n"); } ! dev_id = 6; /* XXX must match mkglue.c */ isa_devtab(fp, "bio", &dev_id); if (seen_wdc) isa_biotab(fp, "wdc"); --- 682,688 ---- if (printed) fprintf(fp1, "\n"); } ! dev_id = 10; /* XXX must match mkglue.c */ isa_devtab(fp, "bio", &dev_id); if (seen_wdc) isa_biotab(fp, "wdc"); == end ==