summaryrefslogtreecommitdiffstats
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak the build by creating opt_nfs.hps2008-07-311-1/+1
|
* Hook up Bluetooth SCO sockets code to the buildemax2008-07-301-1/+2
| | | | MFC after: 3 months
* Change Makefile to reflect new directory structurejfv2008-07-301-3/+5
| | | | MFC after:ASAP
* Change to build module with new directory treejfv2008-07-301-10/+4
| | | | MFC after:ASAP
* Remove a file that is not used and does not exist.antoine2008-07-281-1/+1
|
* Prefer the opt_global.h from KERNBUILDDIR if existent so we obtain allmarius2008-07-241-0/+5
| | | | macros that might be relevant.
* For sun4v ensure there is an opt_global.h with SUN4V defined included,marius2008-07-221-0/+9
| | | | even for the stand-alone build.
* Add an accept filter for TCP based DNS requests. It waits until thedwmalone2008-07-182-0/+9
| | | | whole first request is present before returning from accept.
* import vendor fixes to cxgbkmacy2008-07-181-1/+1
|
* Remove the sbsh(4) driver. No one responded to requests for testing thejhb2008-07-042-9/+0
| | | | | | | MPSAFE patches on current@ and stable@. This driver also has a fundamental issue in that it sleeps when sending commands to the card including in the if_init/if_start routines (which can be called from interrupt context). As such, the driver shouldn't be working reliably even on 4.x.
* Remove the sbni(4) driver. No one responded to calls to test it onjhb2008-07-042-13/+1
| | | | current@ and stable@.
* Remove the cnw(4) driver. No one responded to calls to test it on current@jhb2008-07-042-10/+0
| | | | | | and stable@. It also is a driver for an older non-802.11 wireless PC card that is quite slow in comparison to say, wi(4). I know Warner wants this driver axed as well.
* Remove the oltr(4) driver. No one responded to calls for testing onjhb2008-07-042-17/+1
| | | | | | | | current@ and stable@ for the locking patches. The driver can always be revived if someone tests it. This driver also sleeps in its if_init routine, so it likely doesn't really work at all anyway in modern releases.
* Remove the arl(4) driver. It is reported to not work on 6.x or laterjhb2008-07-042-18/+0
| | | | | even though the driver hasn't changed since 4.x (last known working release).
* Rework the lifetime management of the kernel implementation of POSIXjhb2008-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | semaphores. Specifically, semaphores are now represented as new file descriptor type that is set to close on exec. This removes the need for all of the manual process reference counting (and fork, exec, and exit event handlers) as the normal file descriptor operations handle all of that for us nicely. It is also suggested as one possible implementation in the spec and at least one other OS (OS X) uses this approach. Some bugs that were fixed as a result include: - References to a named semaphore whose name is removed still work after the sem_unlink() operation. Prior to this patch, if a semaphore's name was removed, valid handles from sem_open() would get EINVAL errors from sem_getvalue(), sem_post(), etc. This fixes that. - Unnamed semaphores created with sem_init() were not cleaned up when a process exited or exec'd. They were only cleaned up if the process did an explicit sem_destroy(). This could result in a leak of semaphore objects that could never be cleaned up. - On the other hand, if another process guessed the id (kernel pointer to 'struct ksem' of an unnamed semaphore (created via sem_init)) and had write access to the semaphore based on UID/GID checks, then that other process could manipulate the semaphore via sem_destroy(), sem_post(), sem_wait(), etc. - As part of the permission check (UID/GID), the umask of the proces creating the semaphore was not honored. Thus if your umask denied group read/write access but the explicit mode in the sem_init() call allowed it, the semaphore would be readable/writable by other users in the same group, for example. This includes access via the previous bug. - If the module refused to unload because there were active semaphores, then it might have deregistered one or more of the semaphore system calls before it noticed that there was a problem. I'm not sure if this actually happened as the order that modules are discovered by the kernel linker depends on how the actual .ko file is linked. One can make the order deterministic by using a single module with a mod_event handler that explicitly registers syscalls (and deregisters during unload after any checks). This also fixes a race where even if the sem_module unloaded first it would have destroyed locks that the syscalls might be trying to access if they are still executing when they are unloaded. XXX: By the way, deregistering system calls doesn't do any blocking to drain any threads from the calls. - Some minor fixes to errno values on error. For example, sem_init() isn't documented to return ENFILE or EMFILE if we run out of semaphores the way that sem_open() can. Instead, it should return ENOSPC in that case. Other changes: - Kernel semaphores now use a hash table to manage the namespace of named semaphores nearly in a similar fashion to the POSIX shared memory object file descriptors. Kernel semaphores can now also have names longer than 14 chars (up to MAXPATHLEN) and can include subdirectories in their pathname. - The UID/GID permission checks for access to a named semaphore are now done via vaccess() rather than a home-rolled set of checks. - Now that kernel semaphores have an associated file object, the various MAC checks for POSIX semaphores accept both a file credential and an active credential. There is also a new posixsem_check_stat() since it is possible to fstat() a semaphore file descriptor. - A small set of regression tests (using the ksem API directly) is present in src/tools/regression/posixsem. Reported by: kris (1) Tested by: kris Reviewed by: rwatson (lightly) MFC after: 1 month
* Remove the non-existent rt2860 subdir. Note, the ralfw module is not used inthompsa2008-06-261-1/+1
| | | | | | | the build yet. PR: kern/125015 Submitted by: Dan Cojocar
* Re-implement the client side of rpc.lockd in the kernel. This implementationdfr2008-06-261-0/+1
| | | | | | | | | | | | provides the correct semantics for flock(2) style locks which are used by the lockf(1) command line tool and the pidfile(3) library. It also implements recovery from server restarts and ensures that dirty cache blocks are written to the server before obtaining locks (allowing multiple clients to use file locking to safely share data). Sponsored by: Isilon Systems PR: 94256 MFC after: 2 weeks
* Always create opt_ah.h regardless of KERNBUILDDIR.thompsa2008-06-231-1/+1
|
* Add et(4), a port of DragonFly's Agere ET1310 10/100/Gigabitdelphij2008-06-203-1/+15
| | | | | | | | Ethernet device driver, written by sephe@ Obtained from: DragonFly Sponsored by: iXsystems MFC after: 2 weeks
* Remove obselete PECOFF image activator support.wkoszek2008-06-142-13/+1
| | | | | | | | PRs assigned at the time of removal: kern/80742 Discussed on: freebsd-current (silence), IRC Tested by: make universe Approved by: cognet (mentor)
* Remove compile of tcp_lro since its now in netinetjfv2008-06-111-1/+1
|
* Add support for the Apple Big Mac (BMAC) Ethernet controller,marcel2008-06-072-0/+11
| | | | | | found on various Apple G3 models. Submitted by: Nathan Whitehorn
* Add the DTrace test kernel module so that people can run the tests.jb2008-05-311-0/+1
|
* don't let KERNBUILDDIR control whether we copy opt_ah.hsam2008-05-301-1/+1
| | | | Submitted by: jkim
* opt_ah.h is not constructed by config, it always comes fromsam2008-05-291-1/+1
| | | | | the hal so don't let KERNBUILDDIR control whether or not we copy it into the build dir
* Add a module for cnw(4) and build it on i386.jhb2008-05-282-0/+10
|
* Hook up jme(4) to the build.yongari2008-05-272-0/+9
|
* Connect jmphy(4) to the build.yongari2008-05-271-1/+1
|
* Remove netatm from HEAD as it is not MPSAFE and relies on the now removedrwatson2008-05-2511-103/+0
| | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT. netatm has been disconnected from the build for ten months in HEAD/RELENG_7. Specifics: - netatm include files - netatm command line management tools - libatm - ATM parts in rescue and sysinstall - sample configuration files and documents - kernel support as a module or in NOTES - netgraph wrapper nodes for netatm - ctags data for netatm. - netatm-specific device drivers. MFC after: 3 weeks Reviewed by: bz Discussed with: bms, bz, harti
* Remove the dependency on lockstat. That its still work in progress.jb2008-05-251-1/+0
|
* Remove 'fasttrap' module for amd64 for now as the code is not therebz2008-05-241-2/+1
| | | | in sys/cddl/dev/fasttrap.
* Leave out a couple of DTrace modules for now.jb2008-05-241-2/+0
|
* Hook the DTrace kernel modules into the build.jb2008-05-231-0/+21
|
* The cyclic code is in sys/cddl/dev/cyclic to be consistent withjb2008-05-231-2/+2
| | | | the other stuff.
* clear out crudsam2008-05-221-2/+2
| | | | Submitted by: "Pawel Worach" <pawel.worach@gmail.com>
* Hook up age(4) to the build.yongari2008-05-192-0/+9
|
* Connect atphy(4) to the build.yongari2008-05-191-1/+1
|
* Add the DTrace kernel module makefiles.jb2008-05-1716-0/+345
|
* This is driver version 1.4.4 of the Intel ixgbe driver.jfv2008-05-161-1/+1
| | | | | | | | | | | -It has new hardware support -It uses a new method of TX cleanup called Head Write Back -It includes the provisional generic TCP LRO feature contributed by Myricom and made general purpose by me. This should move into the stack upon approval but for this driver drop its in here. -Also bug fixes and etc... MFC in a week if no serious issues arise.
* Add a new personality to mpt(4) devices to allow userland applications tojhb2008-05-061-1/+1
| | | | | | | | | perform various operations on a controller. Specifically, for each mpt(4) device, create a character device in devfs which accepts ioctl requests for reading and writing configuration pages and performing RAID actions. MFC after: 1 week Reviewed by: scottl
* only build iw_cxgb on i386 and amd64kmacy2008-05-061-1/+9
|
* add rdma to build for i386 and amd64kmacy2008-05-051-0/+3
|
* add iw_cxgb to the buildkmacy2008-05-052-1/+15
|
* add makefiles for rdmakmacy2008-05-056-0/+61
|
* Restore SUBDIR+= accidentally removed in the previous revision.marius2008-05-041-4/+4
| | | | Pointed out by: ariff
* Don't build unused SBus front-ends for sun4v, don't build EBus front-endsmarius2008-05-048-23/+26
| | | | | | | | which are also likely to be irrelevant for sun4v (there's no SBus on sun4v and only some EBus devices). While at it fix some style bugs according to style.Makefile(5) where appropriate. MFC after: 3 days
* enable IEEE80211_AMDPU_AGE by defaultsam2008-05-031-0/+1
|
* Intel 4965 wireless driver (derived from openbsd driver of the same name)sam2008-04-293-0/+28
|
* Include the QUICC bus front-end in the module for PowerPC.marcel2008-04-261-1/+1
|
* This delta has a few important items:jfv2008-04-251-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | PR 122839 is fixed in both em and in igb Second, the issue on building modules since the static kernel build changes is now resolved. I was not able to get the fancier directory hierarchy working, but this works, both em and igb build as modules now. Third, there is now support in em for two new NICs, Hartwell (or 82574) is a low cost PCIE dual port adapter that has MSIX, for this release it uses 3 vectors only, RX, TX, and LINK. In the next release I will add a second TX and RX queue. Also, there is support here for ICH10, the followon to ICH9. Both of these are early releases, general availability will follow soon. Fourth: On Hartwell and ICH10 we now have IEEE 1588 PTP support, I have implemented this in a provisional way so that early adopters may try and comment on the functionality. The IOCTL structure may change. This feature is off by default, you need to edit the Makefile and add the EM_TIMESYNC define to get the code. Enjoy all!!
OpenPOWER on IntegriCloud