Browse Source

Forcibly change /dev/pci to a symbolic link if it isn't one.

Feedback from drahn@, millert@, marco@. "then get it in" deraadt@.
OPENBSD_4_1
krw 17 years ago
parent
commit
b0a7b60839
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/MAKEDEV.common

+ 2
- 2
src/etc/MAKEDEV.common View File

@ -1,4 +1,4 @@
vers(a, {-$OpenBSD: MAKEDEV.common,v 1.32 2007/02/16 02:16:20 deraadt Exp $-})dnl
vers(a, {-$OpenBSD: MAKEDEV.common,v 1.33 2007/03/07 02:51:17 krw Exp $-})dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
dnl
@ -567,7 +567,7 @@ __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 devices)dnl
_mkdev(pci, pci*, {-M pci$U c major_pci_c $U 600
MKlist[${#MKlist[*]}]=";[ -e pci ] || ln -s pci0 pci"-})dnl
MKlist[${#MKlist[*]}]=";[ -h pci ] || ln -sf 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


Loading…
Cancel
Save