DragonFly BSD
DragonFly kernel List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: question on cdevsw_add mask/match


From: Chuck Tuffli <chuck_tuffli@xxxxxxxxxxx>
Date: Mon, 21 Mar 2005 11:41:23 -0800

On Sun, Mar 20, 2005 at 11:56:45AM -0800, Matthew Dillon wrote:
[...]
>      If you give a me a filename and line number where you think the
>      cdevsw_remove() is incorrect, I will take a look at it.  The above

This is what I used as an example
    sys/dev/disk/isp/isp_freebsd.c:207

Some of the others that look similar (there are more on this list)
    sys/bus/usb/usb.c:327
    sys/dev/agp/agp.c:263
    sys/dev/disk/fd/fd.c:1030
    sys/dev/disk/wt/wt.c:269
    sys/dev/drm/drm_drv.h:657
    sys/dev/misc/dcons/dcons_os.c:611
    sys/dev/misc/gpib/gpib.c:140
    ...

One driver that might be doing things correctly is
    sys/dev/misc/psm/psm.c:1254
(see definition of PSM_MKMINOR at line 133)

-- 
Chuck Tuffli
Agilent Technologies



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]