Ed Schouten
6bfa9a2d66
Replace all calls to minor() with dev2unit().
...
After I removed all the unit2minor()/minor2unit() calls from the kernel
yesterday, I realised calling minor() everywhere is quite confusing.
Character devices now only have the ability to store a unit number, not
a minor number. Remove the confusion by using dev2unit() everywhere.
This commit could also be considered as a bug fix. A lot of drivers call
minor(), while they should actually be calling dev2unit(). In -CURRENT
this isn't a problem, but it turns out we never had any problem reports
related to that issue in the past. I suspect not many people connect
more than 256 pieces of the same hardware.
Reviewed by: kib
2008-09-27 08:51:18 +00:00
..
2007-06-12 19:01:32 +00:00
2008-08-30 16:23:04 +00:00
2008-08-18 10:39:59 +00:00
2008-08-18 04:49:58 +00:00
2008-08-18 04:49:58 +00:00
2008-08-18 17:05:59 +00:00
2008-04-16 16:47:14 +00:00
2007-01-08 23:24:21 +00:00
2008-05-13 14:00:09 +00:00
2007-11-10 16:23:38 +00:00
2007-06-30 20:18:44 +00:00
2007-06-10 07:33:48 +00:00
2007-06-23 06:29:19 +00:00
2007-06-11 05:42:47 +00:00
2007-06-23 06:47:43 +00:00
2007-06-11 05:50:47 +00:00
2007-07-09 16:58:07 +00:00
2007-07-09 20:56:39 +00:00
2008-08-19 01:44:56 +00:00
2007-06-11 03:36:55 +00:00
2008-04-20 20:35:46 +00:00
2008-04-26 05:46:28 +00:00
2008-08-11 03:57:31 +00:00
2008-08-11 03:57:31 +00:00
2008-07-30 00:38:10 +00:00
2007-06-11 03:36:55 +00:00
2008-04-20 20:35:46 +00:00
2008-09-19 07:40:30 +00:00
2007-11-03 19:24:51 +00:00
2008-09-10 03:40:51 +00:00
2008-08-30 16:23:04 +00:00
2008-07-17 22:40:23 +00:00
2007-06-14 16:23:31 +00:00
2007-06-12 19:01:32 +00:00
2007-05-06 10:07:21 +00:00
2007-06-19 10:28:08 +00:00
2007-02-27 17:19:33 +00:00
2007-06-19 10:28:08 +00:00
2008-01-26 04:30:48 +00:00
2008-09-25 12:00:56 +00:00
2007-07-05 06:42:14 +00:00
2007-10-18 10:51:06 +00:00
2008-09-05 20:49:45 +00:00
2008-09-27 08:51:18 +00:00
2007-06-21 14:42:34 +00:00
2007-07-05 15:25:32 +00:00
2008-09-27 08:51:18 +00:00
2008-09-14 16:49:51 +00:00
2008-08-20 08:31:58 +00:00
2008-01-25 02:41:44 +00:00
2008-09-27 08:51:18 +00:00
2008-08-30 16:21:16 +00:00
2007-06-14 16:23:31 +00:00
2007-06-14 16:23:31 +00:00
2008-09-27 08:51:18 +00:00
2007-06-30 20:18:44 +00:00
2008-08-31 03:39:59 +00:00
2007-12-29 21:55:25 +00:00
2008-09-27 08:51:18 +00:00
2008-09-25 12:16:18 +00:00
2007-06-18 22:27:57 +00:00
2008-08-31 03:22:19 +00:00
2008-09-27 08:51:18 +00:00
2008-08-31 03:08:26 +00:00
2008-09-27 08:51:18 +00:00
2008-07-04 00:21:38 +00:00
2007-01-08 23:21:06 +00:00
2007-06-20 05:11:37 +00:00
2007-06-13 05:45:48 +00:00
2007-10-20 23:23:23 +00:00
2008-09-09 19:59:51 +00:00
2007-06-29 21:07:41 +00:00
2007-06-30 20:18:44 +00:00
2008-09-27 08:51:18 +00:00
2008-08-18 04:49:58 +00:00
2008-09-19 09:04:06 +00:00
2007-06-20 05:11:37 +00:00
2007-01-03 10:50:03 +00:00
2008-03-20 16:04:13 +00:00
2008-03-20 03:09:59 +00:00
2008-03-20 03:09:59 +00:00
2008-09-27 08:51:18 +00:00
2008-03-05 14:18:29 +00:00
2008-08-23 23:28:33 +00:00
2008-08-31 03:08:26 +00:00
2008-05-24 18:35:55 +00:00