Re: No more new majors, and help loose the old ones...
In message: <[EMAIL PROTECTED]> Mark Murray <[EMAIL PROTECTED]> writes: : > Please help remove entries in sys/conf/majors for which there exists : > no software, and convert drivers to use "MAJOR_AUTO" instead of using : > static major numbers. : : What is a good driver to crib this from? I'll do /dev/(null|zero|random). I've just done src/sys/pccard/pccard.c and sys/dev/usb/ufm.c. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: No more new majors, and help loose the old ones...
In message <[EMAIL PROTECTED]>, "Daniel C. Sobral" writes: >> What is a good driver to crib this from? I'll do /dev/(null|zero|random). > >Heh. null and zero are two drivers phk is considering keeping fixed >majors for. :-) I'd suggest that we put the following drivers on the "not quite" list for now: null mem kmem zero random [geom] floppy CD's. pty console sio -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: No more new majors, and help loose the old ones...
Mark Murray wrote: Poul-Henning Kamp writes: We now have a facility for autoallocating major numbers for device drivers at run time. We will accept no more allocations in sys/conf/majors, unless very good and unavoidable circumstances forces a particular device driver to require a static major number. Please help remove entries in sys/conf/majors for which there exists no software, and convert drivers to use "MAJOR_AUTO" instead of using static major numbers. Thanks in advance! What is a good driver to crib this from? I'll do /dev/(null|zero|random). Heh. null and zero are two drivers phk is considering keeping fixed majors for. :-) -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca TCO Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Outros: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Never frighten a small man -- he'll kill you. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: No more new majors, and help loose the old ones...
Poul-Henning Kamp writes: > > We now have a facility for autoallocating major numbers for device > drivers at run time. > > We will accept no more allocations in sys/conf/majors, unless very > good and unavoidable circumstances forces a particular device driver > to require a static major number. > > Please help remove entries in sys/conf/majors for which there exists > no software, and convert drivers to use "MAJOR_AUTO" instead of using > static major numbers. > > Thanks in advance! What is a good driver to crib this from? I'll do /dev/(null|zero|random). M -- Mark Murray iumop ap!sdn w,I idlaH To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
No more new majors, and help loose the old ones...
We now have a facility for autoallocating major numbers for device drivers at run time. We will accept no more allocations in sys/conf/majors, unless very good and unavoidable circumstances forces a particular device driver to require a static major number. Please help remove entries in sys/conf/majors for which there exists no software, and convert drivers to use "MAJOR_AUTO" instead of using static major numbers. Thanks in advance! -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message