summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Start all license statements with /*-imp2005-01-05116-165/+121
|
* Rework the optimization for spinlocks on UP to be slightly less drastic andjhb2005-01-052-13/+28
| | | | | | | | | | | | turn it back on. Specifically, the actual changes are now less intrusive in that the _get_spin_lock() and _rel_spin_lock() macros now have their contents changed for UP vs SMP kernels which centralizes the changes. Also, UP kernels do not use _mtx_lock_spin() and no longer include it. The UP versions of the spin lock functions do not use any atomic operations, but simple compares and stores which allow mtx_owned() to still work for spin locks while removing the overhead of atomic operations. Tested on: i386, alpha
* These appear to be unused in our tree, so remove them.imp2005-01-052-111/+0
|
* Begin all license/copyright comments with /*-imp2005-01-0534-34/+34
|
* PC98 will never be defined for amd64imp2005-01-051-5/+0
|
* Fix KASSERT inversion that was introduced in 1.150, resulting in instantkeramida2005-01-051-1/+1
| | | | | | panic curlen != 0, which is perfectly normal. Approved by: mux
* Add support for Chase/Perle PCI FAST-4 4 port serial cards which appearwilko2005-01-051-0/+36
| | | | | | | | | to be the same as Boca Research Turbo Serial 654 (4 serial port). While add the 8 port variants as well. Submitted by: sten@blinkenlights.nl PR: kern/75793 MFC after: 1 week
* Begin all license/copyright comments with /*- or #-imp2005-01-05114-128/+128
|
* Start all license/copyright notice comments with /*-, per traditionimp2005-01-059-9/+9
|
* Changes corresponding to the 9.1.5.2 release of twa on the 3ware website.vkashyap2005-01-058-19555/+22218
| | | | | | | | | | | | The main changes are: 1. Use of multiple bus dma tags. 2. Timing of CAM requests by the driver. 3, Firmware interface change relating to retrieving AEN's. 4. Removal of twa_intrhook. 5. Bundling of latest firmware with BBU capability. Reviewed by:re Approved by:re
* Make sis_initl() take a typed argument.phk2005-01-051-24/+15
| | | | | Expect caller to lock before calling sis_stop() Various style stuff.
* Add locked/unlocked variants of sis_init()phk2005-01-051-15/+22
|
* Make a locked and unlocked variant of sis_start()phk2005-01-051-15/+20
|
* Don't declare variables "register", the compiler ought to know what to do.phk2005-01-051-6/+6
|
* Add needed synchronization to the error handling code that was introducedalc2005-01-051-0/+6
| | | | | | in revision 1.141. Lock assertion failures reported by: Kris Kennaway
* o Use tab instead of spaces for puc(4) line.kuriyama2005-01-054-12/+12
| | | | o Use capitalized "Ethernet" for consistency.
* Fix comment. One of the two "Step 4" shuold be a "step 5"julian2005-01-051-1/+1
|
* Disable checksum offloading by default. It seems to produce corrupted packetscognet2005-01-051-2/+2
| | | | | | | with some revisions of the chip (particularly when using multiple TX descriptors). MFC after: 1 week
* Instead of keeping track of the index into the receive ring use the alreadyphk2005-01-042-8/+6
| | | | implemented "sis_nextdesc" pointer to keep a pointer instead.
* Forget about the sis_list_data and sis_ring_data structures and embeddphk2005-01-042-132/+109
| | | | | | | their fields directly in the softc structure. This is a no-op which shortens most of the affected source lines by N * 10 characters.
* Prototype busdma callback using the typedef.phk2005-01-041-1/+1
|
* Kill a half dead comment. It's first half was killed in rev 1.12.rik2005-01-041-1/+0
| | | | MFC after: 3 days
* Rename 'class' field to 'uclass' in the ng_hci_inquiry_response structure.emax2005-01-041-1/+1
| | | | | | | class is a reserved word in C++ Submitted by: Markus Brueffer < markus AT brueffer DOT de > MFC after: 3 days
* Allow fxp(4) cards with a revision id of 0 to use the 82503 serialmux2005-01-041-1/+1
| | | | | | | | | interface as well. This is not an expected revision id per the datasheet, but unfortunately there are such cards out there with a 82557 chipset, and they want to use the 82503. PR: kern/75739 Reported by: Andre Albsmeier <andre.albsmeier@siemens.com>
* Regenerate.jhb2005-01-044-13/+15
|
* Partial sync up to the master syscalls.master file:jhb2005-01-041-8/+9
| | | | | | | | - Mark mount, unmount and nmount MPSAFE. - Add a stub for _umtx_op(). - Mark open(), link(), unlink(), and freebsd32_sigaction() MPSAFE. Pointy hats to: several
* return after freeing data element, instead of falling through, and usingjmg2005-01-041-0/+1
| | | | | | the free'd element, and ultimate NULL deref of the failed allocation. MFC after: 1 week
* - Fix 'rebuild' command - it can no longer relay on retaste eventpjd2005-01-043-50/+34
| | | | | | | | (we ignore it). - Remove code used for handling spoil events, as spoiling is not possible anymore, because we keep consumers open for writing all the time. MFC after: 4 days
* Spoiling is now not possible, because we keep consumers open for writingpjd2005-01-043-38/+13
| | | | | | all the time. Remove unused code then. MFC after: 4 days
* Remove old wdc driver completely.nyan2005-01-041-8/+0
|
* Minor nits in formatting continued linesimp2005-01-041-2/+2
|
* cnw as a pccard device was commented out, so uncomment it so LINT will build.imp2005-01-041-1/+1
|
* Since we do not support forceful unmount of DEVFS we can do away withphk2005-01-041-45/+3
| | | | the partially implemented vnode-readoption code in vgonechrl().
* Unsupport forceful unmounts of DEVFS.phk2005-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After disscussing things I have decided to take the easy and consistent 90% solution instead of aiming for the very involved 99% solution. If we allow forceful unmounts of DEVFS we need to decide how to handle the devices which are in use through this filesystem at the time. We cannot just readopt the open devices in the main /dev instance since that would open us to security issues. For the majority of the devices, this is relatively straightforward as we can just pretend they got revoke(2)'ed. Some devices get tricky: /dev/console and /dev/tty for instance does a sort of recursive open of the real console device. Other devices may be mmap'ed (kill the processes ?). And then there are disk devices which are mounted. The correct thing here would be to recursively unmount the filesystems mounte from devices from our DEVFS instance (forcefully) and if this succeeds, complete the forcefully unmount of DEVFS. But if one of the forceful unmounts fail we cannot complete the forceful unmount of DEVFS, but we are likely to already have severed a lot of stuff in the process of trying. Event attempting this would be a lot of code for a very far out corner-case which most people would never see or get in touch with. It's just not worth it.
* Catchup to wd removalimp2005-01-041-12/+0
|
* Remove last vestiges of old wd driver. ata works well on pc98 andimp2005-01-048-5551/+0
| | | | | there was no objection on the pc98 list when I asked if it could be removed a while ago.
* move all the card entries to files.pc98imp2005-01-043-1734/+1732
| | | | style change: regularize tabbing
* First step in removing OLDCARD from FreeBSD 6.0:imp2005-01-042-6/+6
| | | | | o Move card from all architectures to just pc98. It is only needed there, although real issues remain with NEWCARD's support of ISA devices.
* Fix 'rebuild' command (we ignore retaste event now, so don't relay on it).pjd2005-01-033-11/+23
|
* Add PCI and device ID's to if_xl to support:rwatson2005-01-032-1/+6
| | | | | | | | | | | 3C920B-EMB-WNM Integrated Fast Ethernet Controller Submitter reports that the card appears to autonegotiate properly, and operate well with high levels of NFS traffic. PR: 75253 Submitted by: "Oleg V. Nauman" <oleg at reis dot zp dot ua> MFC after: 2 weeks
* Use byteorder(9) functions to implement the [g,s]et[d,w][b,l]e macros somarius2005-01-031-36/+14
| | | | | | | | | only one set is needed for either endianess. This also completes them for big endian archs and fixes the compilation of libncp, netncp, etc. there. Reviewed by: bp, rwatson Compile tested on: i386, sparc64 MFC after: 1 week
* When allocating bio's in the swap_pager use M_WAITOK since thephk2005-01-031-6/+7
| | | | alternative is much worse.
* Reduce diffs to work in progress before checking in serious changes.philip2005-01-032-38/+40
| | | | | | | | | | | | | | | | o Move the sysctls under debug.psm.* and hw.psm.* making them a bit clearer and more consistent with other drivers. o Remove the debug.psm_soft_timeout sysctl. It was introduced many moons ago in r1.64 but never referenced anywhere. o Introduce hw.psm.tap_threshold and hw.psm.tap_timeout to control the behaviour of taps on touchpads. People might like to fiddle with these if tapping seems to slow or too fast for them. o Add debug.psm.loglevel as a tunable so that verbosity can be set easily at boot-time (to watch probes and such) without having to compile a kernel with options PSM_DEBUG=N.
* Garbage collect unused ipx_abort().rwatson2005-01-032-13/+2
| | | | | | Spell NULL right in a KASSERT() panic message. MFC after: 1 week
* Remove unused #include.pjd2005-01-031-1/+0
|
* Exempt the superuser from mac_seeotheruids checks.rwatson2005-01-031-0/+3
| | | | | | Submitted by: bkoenig at cs dot tu-berlin dot de PR: 72238 MFC after: 2 weeks
* Remove comment that doesn't seem to be true and add comments describingjulian2005-01-031-17/+16
| | | | | | what is going on, to replace it. Slight formatting changes Code here is alredy different to NetBSD. MFC after: 1 week
* A much simpler way to work out if the required transfer can be done in 2julian2005-01-031-3/+2
| | | | | | scatter gather segments. MFC after: 1 week
* Back out previous commits. Installing new share/mk fixes this.njl2005-01-031-1/+0
|
* Add a sysctl (net.inet.tcp.insecure_rst) which allows one to specifysilby2005-01-032-2/+14
| | | | | | | that the RFC 793 specification for accepting RST packets should be following. When followed, this makes one vulnerable to the attacks described in "slipping in the window", but it may be necessary in some odd circumstances.
OpenPOWER on IntegriCloud