Doug Ambrisko
060e488247
Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy.
...
Add back in a scheme to emulate old type major/minor numbers via hooks into
stat, linprocfs to return major/minors that Linux app's expect. Currently
only /dev/null is always registered. Drivers can register via the Linux
type shim similar to the ioctl shim but by using
linux_device_register_handler/linux_device_unregister_handler functions.
The structure is:
struct linux_device_handler {
char *bsd_driver_name;
char *linux_driver_name;
char *bsd_device_name;
char *linux_device_name;
int linux_major;
int linux_minor;
int linux_char_device;
};
Linprocfs uses this to display the major number of the driver. The
soon to be available linsysfs will use it to fill in the driver name.
Linux_stat uses it to translate the major/minor into Linux type values.
Note major numbers are dynamically assigned via passing in a -1 for
the major number so we don't need to keep track of them.
This is somewhat needed due to us switching to our devfs. MegaCli
will not run until I add in the linsysfs and mfi Linux compat changes.
Sponsored by: IronPort Systems
2006-05-05 16:10:45 +00:00
..
2006-03-03 21:37:38 +00:00
2006-03-03 21:37:38 +00:00
2006-04-15 12:31:34 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2006-01-25 18:11:59 +00:00
2005-10-14 23:30:17 +00:00
2005-04-20 12:28:20 +00:00
2005-10-14 23:30:17 +00:00
2005-03-31 18:19:55 +00:00
2006-02-07 18:13:56 +00:00
2005-10-14 23:30:17 +00:00
2005-03-23 17:13:08 +00:00
2006-03-11 08:42:08 +00:00
2006-04-03 18:14:02 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2006-04-10 19:55:23 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2006-01-27 09:08:32 +00:00
2005-10-14 23:30:17 +00:00
2005-12-29 01:43:47 +00:00
2005-09-27 18:10:43 +00:00
2006-03-16 15:18:17 +00:00
2006-02-27 12:04:13 +00:00
2006-03-16 15:18:17 +00:00
2005-04-19 16:38:24 +00:00
2006-02-27 16:56:22 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2005-10-18 06:11:08 +00:00
2005-10-14 23:30:17 +00:00
2006-02-26 17:51:22 +00:00
2005-10-14 23:30:17 +00:00
2005-12-03 01:23:50 +00:00
2006-03-17 18:54:44 +00:00
2005-10-05 05:26:03 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2005-07-13 14:53:59 +00:00
2005-05-19 14:51:10 +00:00
2005-06-15 02:36:11 +00:00
2005-10-14 23:30:17 +00:00
2005-05-10 12:02:18 +00:00
2006-02-18 23:49:28 +00:00
2006-01-29 02:52:42 +00:00
2005-09-27 18:10:43 +00:00
2006-02-11 12:45:01 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2005-03-28 09:41:25 +00:00
2005-09-07 23:33:26 +00:00
2005-06-09 19:45:09 +00:00
2005-12-21 15:49:51 +00:00
2006-03-17 18:54:44 +00:00
2005-10-14 23:30:17 +00:00
2006-02-24 12:27:09 +00:00
2005-10-14 23:30:17 +00:00
2006-03-17 18:54:44 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2006-02-27 16:56:22 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2006-02-17 10:52:59 +00:00
2005-10-14 23:30:17 +00:00
2006-03-17 18:54:44 +00:00
2006-03-17 18:54:44 +00:00
2006-02-10 20:51:35 +00:00
2005-09-27 18:10:43 +00:00
2006-03-12 19:06:06 +00:00
2005-09-27 18:10:43 +00:00
2006-03-01 18:34:48 +00:00
2005-09-27 18:10:43 +00:00
2006-01-31 22:34:13 +00:00
2005-09-27 18:10:43 +00:00
2005-06-20 08:33:29 +00:00
2006-05-05 16:10:45 +00:00
2005-10-05 10:07:27 +00:00
2005-11-11 11:31:23 +00:00
2006-03-25 06:14:32 +00:00
2005-10-18 06:39:30 +00:00
2005-07-10 15:07:57 +00:00
2005-11-27 08:30:12 +00:00
2006-02-19 22:39:19 +00:00
2006-02-19 22:39:19 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2006-03-17 18:54:44 +00:00
2006-02-18 23:49:28 +00:00
2006-02-18 23:49:28 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2006-01-26 19:21:27 +00:00
2005-10-14 23:30:17 +00:00
2005-08-18 00:30:22 +00:00
2005-10-14 23:30:17 +00:00
2005-09-20 06:48:55 +00:00
2005-09-27 18:10:43 +00:00
2005-06-03 15:35:36 +00:00
2006-03-17 18:54:44 +00:00
2006-03-17 18:54:44 +00:00
2005-05-10 12:02:18 +00:00
2005-08-18 14:50:08 +00:00
2006-04-28 21:21:53 +00:00
2006-03-05 20:38:55 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2005-06-18 17:10:50 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2006-05-05 14:26:28 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2006-04-01 04:54:47 +00:00
2005-05-04 10:39:15 +00:00
2005-09-27 18:10:43 +00:00
2006-04-28 21:21:53 +00:00
2005-09-27 18:10:43 +00:00
2006-04-27 00:14:02 +00:00
2005-07-14 15:57:01 +00:00
2006-03-05 22:52:17 +00:00
2005-10-14 23:30:17 +00:00
2005-09-19 10:14:05 +00:00
2005-11-27 03:29:59 +00:00
2005-11-11 09:57:32 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2006-01-26 19:21:27 +00:00
2005-07-10 11:47:04 +00:00
2005-12-10 00:38:33 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2006-02-18 23:49:28 +00:00
2005-08-10 04:01:21 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2006-03-30 18:39:24 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2005-06-04 10:58:39 +00:00
2006-01-09 17:46:36 +00:00
2005-06-04 10:58:39 +00:00
2005-06-04 10:58:39 +00:00
2005-10-14 23:30:17 +00:00
2005-06-04 10:58:39 +00:00
2005-06-04 10:58:39 +00:00
2005-06-04 10:58:39 +00:00
2005-06-04 10:58:39 +00:00
2005-09-27 18:10:43 +00:00
2005-06-04 10:58:39 +00:00
2005-06-04 10:58:39 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2006-01-16 17:03:06 +00:00
2005-09-27 18:10:43 +00:00
2006-04-28 05:23:10 +00:00