diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-12-15 20:42:20 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-12-15 20:42:20 +0000 |
commit | 9a27238ca306f6b31969854f72d9630ca7abc969 (patch) | |
tree | e7c33d5e963d5f2580646ad04e6d699f5f2aaafb | |
parent | beb05f4e32845ee8504a10616153454b2973d563 (diff) |
Create /dev/pci[0-3].
ok miod@, deraadt@
-rw-r--r-- | etc/MAKEDEV.common | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/MAKEDEV.common b/etc/MAKEDEV.common index 75d5eee02a8..31e1cf08015 100644 --- a/etc/MAKEDEV.common +++ b/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 <todd@OpenBSD.org> 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 |