Date: Wed, 1 May 2002 09:57:55 -0700 (PDT) From: Jim Mercer <jim@reptiles.org> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/37635: USB ufm driver using major 200, although conf/majors lists 167 Message-ID: <200205011657.g41GvtX23772@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 37635
>Category: kern
>Synopsis: USB ufm driver using major 200, although conf/majors lists 167
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed May 01 10:00:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Jim Mercer
>Release: 4.x-stable
>Organization:
Reptilian Research
>Environment:
FreeBSD monitor.reptiles.org 4.5-STABLE FreeBSD 4.5-STABLE #4: Wed Apr 24 12:38:56 EDT 2002 root@monitor.reptiles.org:/usr/obj/usr/src/sys/REP-MON i386
>Description:
the ufm driver appears to use major 200, which i guess was the number used for development.
in /sys/conf/majors, it appears the ufm was assigned 167. i guess the core code wasn't updated to reflect the assignment.
i manually did a mknod /dev/ufm0 c 200 0
and it works fine.
>How-To-Repeat:
>Fix:
edits:
maybe: /sys/dev/usb/dsbr100io.h:#define FM_SET_FREQ _IOWR('U', 200, int)
definitely: /sys/dev/usb/ufm.c:#define UFM_CDEV_MAJOR 200
useful: /dev/MAKEDEV
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205011657.g41GvtX23772>
