freebsd-dev/sys
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
..
alpha Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy. 2006-05-05 16:10:45 +00:00
amd64 add ath and wlan crypto support 2006-05-03 18:15:36 +00:00
arm MFother arches : 2006-04-22 22:51:32 +00:00
boot Restore the pre-5.x behavior of only beeping if the user makes a bad 2006-05-03 13:43:46 +00:00
bsm
cam Actually check to see if XPT_CALC_GEOMETRY had an error 2006-04-18 22:01:59 +00:00
coda
compat Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy. 2006-05-05 16:10:45 +00:00
conf AH_REGOPS_FUNC is needed for sparc 2006-05-05 04:19:36 +00:00
contrib fix "ipf -Z" reporting rubbish and possibly panic'ing box 2006-04-18 13:24:14 +00:00
crypto padlock(4) doesn't support explicitly provided keys yet. 2006-04-20 06:31:44 +00:00
ddb Sort includes. 2006-04-27 22:09:18 +00:00
dev correct type 2006-05-05 03:21:13 +00:00
doc
fs Remove unused prototypes. 2006-04-12 12:17:29 +00:00
gdb
geom Use G_RAID3_FOREACH_SAFE_BIO() macro instead of G_RAID3_FOREACH_BIO() in 2006-05-04 13:01:16 +00:00
gnu Repair ext2fs writes. 2006-04-13 19:37:32 +00:00
i4b
i386 Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy. 2006-05-05 16:10:45 +00:00
ia64 Rewrite of puc(4). Significant changes are: 2006-04-28 21:21:53 +00:00
isa
isofs/cd9660
kern vn_start_write()/vn_finished_write() is not needed here, because 2006-04-29 21:57:38 +00:00
libkern
modules Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy. 2006-05-05 16:10:45 +00:00
net In rtrequest and rtinit check for sa_len != 0 for the given 2006-05-04 18:33:37 +00:00
net80211 Ensure outbound data packets in hostap mode are delivered only to 2006-04-28 19:06:15 +00:00
netatalk White space consistency with kasserts. Minor style tweaks. 2006-04-01 16:54:37 +00:00
netatm Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
netgraph o Replace disappeared URLs to Cisco docs by new ones, style. 2006-04-25 20:01:50 +00:00
netinet Make sure the ip data pointer is correct before touching it again 2006-05-05 07:31:03 +00:00
netinet6 Assert ip6_forward_rt protected by Giant adding GIANT_REQUIRED to 2006-05-04 18:41:08 +00:00
netipsec Hide net.inet.ipsec.test_{replay,integrity} sysctls under #ifdef REGRESSION. 2006-04-10 15:04:36 +00:00
netipx Make this compile without INVARIANTS. 2006-04-11 23:15:47 +00:00
netkey In raw and raw-derived socket types, maintain and enforce invariant that 2006-04-01 15:55:44 +00:00
netnatm style(9) treatment following fixups. 2006-04-23 16:33:56 +00:00
netncp
netsmb
nfs
nfs4client
nfsclient Keep track of the number of in-progress async direct IO writes in the nfsnode. 2006-04-06 01:20:30 +00:00
nfsserver Bump up the NFS server dupreq cache limit to 2K (from 64). With a small 2006-04-25 00:21:56 +00:00
opencrypto Be sure to wakeup the crypto thread when new request was queued. 2006-04-11 18:01:04 +00:00
pc98 Rewrite of puc(4). Significant changes are: 2006-04-28 21:21:53 +00:00
pccard
pci The sk(4) driver has moved to /sys/dev/sk 2006-04-27 00:14:02 +00:00
posix4 Use proc lock to prevent a thread from exiting, Giant was no longer used to 2006-04-10 04:55:59 +00:00
powerpc Set the rid for any resource obtained from rman_resource_reserve. 2006-04-20 04:19:10 +00:00
rpc
security Reconstitute struct mac_policy_ops by breaking out individual function 2006-04-26 14:18:55 +00:00
sparc64 Uncomment sk(4) as it's now working. 2006-04-27 06:03:17 +00:00
sys Remove the puc-specific hacks. The puc(4) driver now properly uses 2006-04-28 21:23:09 +00:00
tools
ufs - Set bio_done directly to NULL to indicate that we want to wait for the bio. 2006-05-05 10:06:22 +00:00
vm Add synchronization to vm_pageq_add_new_page() so that it can be called 2006-04-25 17:27:24 +00:00
Makefile