paper.me (90861) | paper.me (218965) |
---|---|
1.\" format with ditroff -me | 1.\" format with ditroff -me |
2.\" $FreeBSD: head/share/doc/papers/devfs/paper.me 90861 2002-02-18 16:22:23Z sobomax $ | 2.\" $FreeBSD: head/share/doc/papers/devfs/paper.me 218965 2011-02-23 09:22:33Z brucec $ |
3.\" format made to look as a paper for the proceedings is to look 4.\" (as specified in the text) 5.if n \{ .po 0 6. ll 78n 7. na 8.\} 9.if t \{ .po 1.0i 10. ll 6.5i --- 763 unchanged lines hidden (view full) --- 774hash table and consequently simplifying and speeding up a lot 775of code dealing with vnode instantiation, retirement and 776name-caching. 777.lp 778The entry points to the device driver are stored in the specinfo 779structure, removing the need for the devsw[] array and allowing 780device drivers to use separate entrypoints for various minor numbers. 781.lp | 3.\" format made to look as a paper for the proceedings is to look 4.\" (as specified in the text) 5.if n \{ .po 0 6. ll 78n 7. na 8.\} 9.if t \{ .po 1.0i 10. ll 6.5i --- 763 unchanged lines hidden (view full) --- 774hash table and consequently simplifying and speeding up a lot 775of code dealing with vnode instantiation, retirement and 776name-caching. 777.lp 778The entry points to the device driver are stored in the specinfo 779structure, removing the need for the devsw[] array and allowing 780device drivers to use separate entrypoints for various minor numbers. 781.lp |
782This is is very convenient for devices which have a ``control'' | 782This is very convenient for devices which have a ``control'' |
783device for management and tuning. The control device, almost always 784have entirely separate open/close/ioctl implementations [MD.C]. 785.lp 786In addition to this, two data elements are included in the specinfo 787structure but ``owned'' by the device driver. Typically the 788device driver will store a pointer to the softc structure in 789one of these, and unit number or mode information in the other. 790.lp --- 487 unchanged lines hidden --- | 783device for management and tuning. The control device, almost always 784have entirely separate open/close/ioctl implementations [MD.C]. 785.lp 786In addition to this, two data elements are included in the specinfo 787structure but ``owned'' by the device driver. Typically the 788device driver will store a pointer to the softc structure in 789one of these, and unit number or mode information in the other. 790.lp --- 487 unchanged lines hidden --- |