Home | History | Annotate | Download | only in config
History log of /src/usr.bin/config/mkdevsw.c
RevisionDateAuthorComments
 1.16  07-Jan-2025  joe clear: trailing whitespaces
 1.15  16-Jul-2016  pgoyette branches: 1.15.26;
Only emit bdevsw externs for entries in the bdev table, rather than for
entries in the cdev table.
 1.14  03-Sep-2015  uebayasi branches: 1.14.2;
After thought, revert "Generate *.c files under conf/". Generate *.c files
under top build directory. *.c files are never placed just under $S/. Keep
this exclusiveness.
 1.13  02-Sep-2015  uebayasi In `-S' mode, generate *.c files under conf/ subdirectory. Register generated
.c files to the `files' list internally.
 1.12  10-Nov-2014  christos merge a bit of duplicated code.
 1.11  29-Oct-2014  christos - add RCSID's
- fix -Wconversion (except scanner)
 1.10  30-Jul-2010  cube branches: 1.10.24;
Emit compatible struct devsw_conv when version is older than 20100430.
 1.9  30-Apr-2010  pooka For the simple cases, augment device-major with information on how
a driver expects /dev/node -> minor mappings to go and include that
information in devsw_conv.
(no, I didn't plow through all the MD majors files)
 1.8  15-Apr-2010  pooka output __arraycount instead of homegrown macro
 1.7  20-Jan-2009  drochner Change major()/minor() to return 32-bit types again, called
devmajor_t/devminor_t, as proposed on tech-kern.
This avoids 64-bit arithmetics and 64-bit printf formats in parts
of the kernel where it is not really useful, and helps clarity.
 1.6  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5  12-Dec-2007  lukem branches: 1.5.4;
Use a common function to generate the "MACHINE GENERATED" comment,
and ensure mkswap.c adds it too.
 1.4  13-Jan-2007  christos branches: 1.4.4;
- rename {x,}error -> cfg{x,}error and {x,}warn -> cfg{x,}warn so that we
can use err(3) and warn(3) to display errors instead of using inconsistent
fprintf's.
- remove emalloc/estrdup etc. We have them in libutil.
 1.3  04-Oct-2006  dsl Instead of trying to check the return value of every fprintf() and fputs()
call - which makes the code completely impossibly to follow, call fflush()
and ferror() just prior to calling fclose().
This has the advantage of actually detecting the any write errors, since
the output is block bufferred and will typically not happen during fprintf()
but only during the fclose() - where it is difficult to report.
I also singlilarly refuse to add (void) casts to every printf call in the
system - since it almost never makes any sense to look at the return value
(unless you want to know how many bytes were actually writtem).
 1.2  30-Jul-2005  yamt allow configuration without swap.
 1.1  05-Jun-2005  thorpej config and genassym are not sysadmin tools, they are development tools.
As such, they don't belong in /usr/sbin, but rather /usr/bin. Move them
there.
 1.4.4.1  09-Jan-2008  matt sync with HEAD
 1.5.4.1  18-May-2008  yamt sync with head.
 1.10.24.1  06-Mar-2015  snj Pull up following revision(s) (requested by mrg in ticket #572):
usr.bin/config/Makefile: up to 1.10
usr.bin/config/TODO: up to 1.14
usr.bin/config/config.1: up to 1.17
usr.bin/config/config.5: up to 1.25
usr.bin/config/defs.h: up to 1.64
usr.bin/config/files.c: up to 1.18
usr.bin/config/gram.y: up to 1.46
usr.bin/config/hash.c: up to 1.11
usr.bin/config/lint.c: up to 1.15
usr.bin/config/main.c: up to 1.74
usr.bin/config/mkdevsw.c: up to 1.12
usr.bin/config/mkheaders.c: up to 1.26
usr.bin/config/mkioconf.c: up to 1.28
usr.bin/config/mkmakefile.c: up to 1.37
usr.bin/config/mkswap.c: up to 1.8
usr.bin/config/pack.c: up to 1.9
usr.bin/config/scan.l: up to 1.22
usr.bin/config/sem.c: up to 1.71
usr.bin/config/sem.h: up to 1.19
usr.bin/config/util.c: up to 1.19
sync config(1) with HEAD.
 1.14.2.1  26-Jul-2016  pgoyette Sync with HEAD
 1.15.26.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed