From 3ffba49eddf7946b4db2d2514c037a0d417cfb35 Mon Sep 17 00:00:00 2001 From: kettenis <> Date: Fri, 15 Dec 2006 20:42:19 +0000 Subject: [PATCH] Create /dev/pci[0-3]. ok miod@, deraadt@ --- src/etc/MAKEDEV.common | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/etc/MAKEDEV.common b/src/etc/MAKEDEV.common index 75d5eee0..31e1cf08 100644 --- a/src/etc/MAKEDEV.common +++ b/src/etc/MAKEDEV.common @@ -1,4 +1,4 @@ -vers(a, {-$OpenBSD: MAKEDEV.common,v 1.30 2006/10/10 12:33:41 todd Exp $-})dnl +vers(a, {-$OpenBSD: MAKEDEV.common,v 1.31 2006/12/15 20:42:19 kettenis Exp $-})dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries dnl @@ -167,7 +167,7 @@ target(all, rmidi, 0, 1, 2, 3, 4, 5, 6, 7)dnl target(all, uall)dnl target(all, adb)dnl target(all, iop, 0, 1)dnl -target(all, pci)dnl +target(all, pci, 0, 1, 2, 3)dnl twrget(all, wsmouse, wscons)dnl twrget(all, grf_mac, grf, 0, 1, 2, 3)dnl target(all, par, 0)dnl @@ -563,8 +563,9 @@ __devitem(bktr, bktr*, Video frame grabbers)dnl _mcdev(bktr, bktr*, bktr, {-major_bktr_c-}, 644)dnl __devitem(tuner, tuner*, Tuner devices)dnl _mkdev(tuner, tuner*, {-M tuner$U c major_bktr_c Add(Mult($U, 2), 16) 644-}, 644)dnl -__devitem(pci, pci, PCI bus device)dnl -_mkdev(pci, pci, {-M pci c major_pci_c 0 600-}, 600)dnl +__devitem(pci, pci*, PCI bus devices)dnl +_mkdev(pci, pci*, {-M pci$U c major_pci_c $U 600 + MKlist[${#MKlist[*]}]=";[ -e pci ] || ln -s pci0 pci"-})dnl __devitem(adb, adb, Apple Desktop bus event interface)dnl _mkdev(adb, adb, {-M adb c major_adb_c 0-})dnl __devitem(pdc, pdc, PDC device)dnl