phk
6a5dc97620
Simplify cdevsw registration.
...
The cdevsw_add() function now finds the major number(s) in the
struct cdevsw passed to it. cdevsw_add_generic() is no longer
needed, cdevsw_add() does the same thing.
cdevsw_add() will print an message if the d_maj field looks bogus.
Remove nblkdev and nchrdev variables. Most places they were used
bogusly. Instead check a dev_t for validity by seeing if devsw()
or bdevsw() returns NULL.
Move bdevsw() and devsw() functions to kern/kern_conf.c
Bump __FreeBSD_version to 400006
This commit removes:
72 bogus makedev() calls
26 bogus SYSINIT functions
if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.
I4b and vinum not changed. Patches emailed to authors. LINT
probably broken until they catch up.
1999-05-31 11:29:30 +00:00
..
1999-05-28 09:25:16 +00:00
1999-05-14 11:22:47 +00:00
1999-05-17 00:53:56 +00:00
1999-05-17 00:53:56 +00:00
1999-05-09 16:04:14 +00:00
1999-05-09 16:04:14 +00:00
1998-11-10 09:08:49 +00:00
1999-05-11 10:08:10 +00:00
1999-05-13 09:12:57 +00:00
1999-04-27 11:18:52 +00:00
1999-04-25 09:00:00 +00:00
1999-05-31 11:29:30 +00:00
1999-05-31 11:29:30 +00:00
1999-01-28 17:32:05 +00:00
1999-04-27 11:18:52 +00:00
1999-04-28 11:38:52 +00:00
1999-04-28 11:38:52 +00:00
1999-04-21 07:26:30 +00:00
1999-04-30 06:51:51 +00:00
1999-04-28 11:38:52 +00:00
1999-05-08 13:01:59 +00:00
1999-03-15 05:11:27 +00:00
1999-05-08 22:46:46 +00:00
1999-05-12 11:11:27 +00:00
1999-05-03 23:57:32 +00:00
1999-05-20 00:00:58 +00:00
1999-04-27 11:18:52 +00:00
1999-05-08 06:40:31 +00:00
1999-05-17 13:50:24 +00:00
1999-04-28 11:38:52 +00:00
1999-05-06 18:13:11 +00:00
1999-04-28 11:38:52 +00:00
1999-05-12 22:30:50 +00:00
1999-05-03 23:57:32 +00:00
1999-03-12 03:09:29 +00:00
1999-03-05 16:38:13 +00:00
1999-01-17 18:58:04 +00:00
1999-04-28 11:38:52 +00:00
1999-04-25 09:00:00 +00:00
1999-01-29 08:29:05 +00:00
1999-04-27 11:18:52 +00:00
1999-03-06 22:27:02 +00:00
1999-04-28 11:38:52 +00:00
1998-05-19 21:11:53 +00:00
1999-05-15 23:18:32 +00:00
1999-05-08 13:03:49 +00:00
1999-05-08 13:03:49 +00:00
1999-02-28 22:14:16 +00:00
1999-05-10 17:45:49 +00:00
1999-05-13 09:19:14 +00:00
1998-06-28 10:01:52 +00:00
1998-06-07 17:13:14 +00:00
1999-04-17 08:36:07 +00:00
1999-02-16 10:49:55 +00:00
1999-04-25 22:13:34 +00:00
1999-01-21 08:11:06 +00:00
1999-05-30 10:27:11 +00:00
1998-07-15 02:32:35 +00:00
1999-05-03 23:57:32 +00:00
1998-12-14 05:37:37 +00:00
1999-05-11 19:55:07 +00:00
1999-05-11 19:55:07 +00:00
1999-05-11 19:55:07 +00:00
1999-05-31 11:29:30 +00:00
1998-10-14 05:07:23 +00:00
1999-04-09 16:28:11 +00:00
1998-12-03 04:45:57 +00:00
1999-05-06 09:44:57 +00:00
1999-04-16 21:22:55 +00:00
1999-02-14 20:58:21 +00:00
1999-05-12 21:39:07 +00:00
1999-05-06 18:13:11 +00:00
1999-05-12 22:30:50 +00:00
1999-04-04 21:41:28 +00:00
1999-04-04 21:41:28 +00:00
1999-04-28 11:38:52 +00:00
1999-04-04 21:41:28 +00:00
1999-05-13 09:12:57 +00:00
1999-05-13 09:09:37 +00:00
1999-04-27 12:21:16 +00:00
1999-04-27 12:21:16 +00:00
1999-04-27 12:21:16 +00:00
1999-04-27 12:21:16 +00:00
1998-06-07 17:13:14 +00:00
1998-06-07 17:13:14 +00:00
1999-05-31 11:29:30 +00:00
1999-05-31 11:29:30 +00:00
1999-05-31 11:29:30 +00:00
1998-07-15 02:32:35 +00:00
1997-02-22 09:48:43 +00:00
1999-05-31 11:29:30 +00:00
1999-05-22 20:10:31 +00:00
1999-04-26 08:56:09 +00:00
1999-04-12 10:07:15 +00:00
1999-04-26 08:56:53 +00:00
1999-05-10 18:15:40 +00:00
1999-05-10 18:15:40 +00:00
1999-05-21 15:54:40 +00:00
1999-01-27 21:50:00 +00:00
1999-05-11 19:55:07 +00:00
1999-05-09 13:13:52 +00:00
1999-05-12 22:30:50 +00:00
1999-04-24 17:58:14 +00:00
1999-05-02 23:57:16 +00:00
1999-05-24 00:37:26 +00:00
1999-05-02 23:57:16 +00:00
1999-05-31 11:29:30 +00:00
1999-04-28 11:38:52 +00:00
1999-03-07 16:06:41 +00:00
1999-01-28 00:57:57 +00:00
1999-05-24 00:37:26 +00:00
1999-05-31 11:29:30 +00:00
1999-04-28 11:38:52 +00:00
1999-04-28 11:38:52 +00:00
1999-02-28 11:30:00 +00:00
1999-02-28 11:30:00 +00:00
1999-03-27 03:08:07 +00:00