phk
9011e44e2d
Add support for allocating a device driver major number on demand.
...
To do this, initialize the d_maj member of the cdevsw to MAJOR_AUTO.
When the cdevsw is first passed to make_dev() a free major number
will be assigned.
Until we have a bit more experience with this a printf will announce
this fact.
Major numbers are not reclaimed, so loading/unloading the same
device driver which uses MAJOR_AUTO will eventually deplete the
pool of free major numbers and the system will panic when it can
not allocate one. Still undecided who to invonvenience with the
solution to this.
2003-02-27 14:46:51 +00:00
..
2002-10-07 05:06:38 +00:00
2003-02-19 05:47:46 +00:00
2003-01-04 22:07:48 +00:00
2003-01-04 22:07:48 +00:00
2003-02-19 05:47:46 +00:00
2003-01-01 18:49:04 +00:00
2003-01-01 18:49:04 +00:00
2003-02-19 05:47:46 +00:00
2003-02-17 10:03:02 +00:00
2003-02-20 08:18:15 +00:00
2003-02-20 04:18:42 +00:00
2003-01-13 00:33:17 +00:00
2003-02-19 05:47:46 +00:00
2003-02-27 02:05:19 +00:00
2003-02-27 08:43:27 +00:00
2003-02-27 14:46:51 +00:00
2002-11-16 06:35:53 +00:00
2003-02-24 05:46:55 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-27 02:05:19 +00:00
2003-02-27 02:05:19 +00:00
2003-02-27 02:05:19 +00:00
2002-10-12 05:32:24 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-27 05:42:01 +00:00
2002-10-02 07:44:29 +00:00
2003-02-22 23:30:37 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-25 03:37:48 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-20 04:26:58 +00:00
2003-01-05 03:48:14 +00:00
2003-02-19 05:47:46 +00:00
2003-02-25 22:28:46 +00:00
2003-01-06 01:01:08 +00:00
2003-01-20 17:46:48 +00:00
2002-08-18 07:05:00 +00:00
2003-02-27 02:05:19 +00:00
2003-02-19 05:47:46 +00:00
2003-02-20 04:18:42 +00:00
2003-02-14 12:44:48 +00:00
2003-02-27 02:05:19 +00:00
2003-02-19 05:47:46 +00:00
2003-02-27 02:05:19 +00:00
2003-02-27 08:43:27 +00:00
2003-02-22 17:58:06 +00:00
2003-01-29 11:29:22 +00:00
2003-02-27 05:42:01 +00:00
2003-02-26 17:16:38 +00:00
2003-02-01 10:06:40 +00:00
2002-12-22 05:35:03 +00:00
2002-06-29 02:00:02 +00:00
2003-02-17 09:55:10 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2002-10-29 15:47:06 +00:00
2002-10-20 22:33:42 +00:00
2003-01-07 20:10:04 +00:00
2002-11-17 04:15:34 +00:00
2003-02-27 02:05:19 +00:00
2003-02-27 02:05:19 +00:00
2003-01-13 00:33:17 +00:00
2003-02-19 05:47:46 +00:00
2003-01-19 00:34:17 +00:00
2003-02-19 05:47:46 +00:00
2003-02-03 19:49:35 +00:00
2002-10-17 20:03:38 +00:00
2003-01-30 12:36:30 +00:00
2002-07-19 17:44:44 +00:00
2002-06-10 22:40:26 +00:00
2002-11-14 16:11:12 +00:00
2003-02-20 04:26:58 +00:00
2003-02-19 10:12:42 +00:00
2002-08-30 04:04:37 +00:00
2002-07-15 17:17:56 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-12 07:00:59 +00:00
2003-02-03 19:49:35 +00:00
2003-02-19 05:47:46 +00:00
2002-10-02 09:09:25 +00:00
2003-02-17 09:55:10 +00:00
2003-02-26 03:15:42 +00:00
2003-02-27 02:05:19 +00:00
2003-02-25 22:28:46 +00:00
2003-02-18 03:36:49 +00:00
2003-02-25 03:21:22 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2002-10-16 16:28:33 +00:00
2003-02-20 03:26:11 +00:00
2003-02-20 08:18:15 +00:00
2003-02-20 08:18:15 +00:00
2003-01-13 23:04:32 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-20 20:54:45 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-01-30 12:51:32 +00:00
2003-02-27 02:05:19 +00:00
2003-02-19 05:47:46 +00:00
2002-10-11 14:58:34 +00:00
2002-05-31 11:52:35 +00:00
2003-02-20 03:26:11 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-21 22:23:40 +00:00
2003-02-21 22:23:40 +00:00
2003-02-20 03:26:11 +00:00
2003-02-23 23:00:28 +00:00
2003-02-19 05:47:46 +00:00
2003-01-13 00:33:17 +00:00
2003-02-19 05:47:46 +00:00
2003-02-25 23:59:09 +00:00
2003-02-19 05:47:46 +00:00
2003-02-25 03:37:48 +00:00
2003-02-25 03:37:48 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-22 05:01:12 +00:00
2003-02-25 06:44:42 +00:00
2003-02-19 05:47:46 +00:00
2003-02-15 06:04:55 +00:00
2003-01-04 22:10:36 +00:00