Re: question on cdevsw_add mask/match

看板DFBSD_kernel作者時間21年前 (2005/03/22 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/6 (看更多)
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
文章代碼(AID): #12FoW600 (DFBSD_kernel)
文章代碼(AID): #12FoW600 (DFBSD_kernel)