summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update comment about compression to refer to CPU limitations instead of T1seivind2003-09-187-7/+21
|
* Fixed most of the remaining style bugs in rev.1.194. Mainly betterbde2003-09-181-30/+32
| | | | wording in comments.
* Don't forget to reenable interrupts after a breakpoint and trace traps frombde2003-09-181-0/+1
| | | | | | | | | | | | user mode. This goes with rev.1.468 of machdep.c which changed the gates for these traps to interrupt gates. Having the interrupts disabled for these traps from user mode is just an unwanted side effect. This fixes at least 1 case of "panic: absolutely cannot call smp_ipi_shootdown with interrupts already disabled". Too much code was run with interrupts disabled, and it sometimes hit a sanity check. Fix verified by: deischen
* Add necessary newlines.njl2003-09-181-2/+2
|
* Shorten the message announcing fixed power/sleep buttons.njl2003-09-181-3/+2
|
* Implement the O modifier. The O modifier sorts the words in amarcel2003-09-181-1/+51
| | | | | | | variable. The implementation is based upon the patch sent to arch@, but modified to be compatible with NetBSD. The modifier that does a reverse sort has been dropped for now, but the ability to add one later has been preserved.
* Add vm object locking to vnode_pager_lock(). (This triggers the movementalc2003-09-182-15/+33
| | | | of a VM_OBJECT_LOCK() in vm_fault().)
* Bandaid locking change: mark static rule mutex recursive so re-entry whensam2003-09-171-1/+2
| | | | | | | sending an ICMP packet doesn't cause a panic. A better solution is needed; possibly defering the transmit to a dedicated thread. Observed by: "Aaron Wohl" <freebsd@soith.com>
* shuffle code so we don't "continue" and miss a needed unlock operationsam2003-09-171-4/+2
| | | | Observed by: Wiktor Niesiobedzki <w@evip.pl>
* Bump FreeBSD_version to note that ports that want constants for thejhb2003-09-171-1/+1
| | | | 16550 should use <dev/ic/ns16550.h> rather than <dev/sio/sioreg.h>
* o add support for setting 128-bit WEP keyssam2003-09-171-4/+7
| | | | | o use IEEE80211_KEYBUF_SIZE instead of magic numbers o distinguish between 40-, 104-, and 128-bit WEP keys when printing status
* fix build on 64-bit platformssam2003-09-171-1/+1
|
* Miscellaneous minor style fixes (mainly for unsorting of the flags accessbde2003-09-171-13/+10
| | | | macros).
* Fixed bitrot in the probe in revs.1.127, 1.165 and 1.169. Thebde2003-09-171-23/+23
| | | | | | | | | | | | COM_NOFIFO() and COM_ESP cases are supposed to be a subsets of the plain 16550A case, but 16650-related changes made the former fall into the latter and then both fall into general code for printing the tx fifo size. This mainly caused hard to parse boot messages like: "sio0: type 16550A fifo disabled lookalike with 1 bytes FIFO". COM_NOFIFO() on an ESP port gave a larger mess whose extent is not clear. Fixed some nearby style bugs.
* This commit was generated by cvs2svn to compensate for changes in r120169,nectar2003-09-171-0/+4
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Correct address parsing bug that is believed to be remotely exploitable.nectar2003-09-171-0/+4
| | | | | | | | Submitted by: Michal Zalewski <lcamtuf@dione.ids.pl>
* | This commit was generated by cvs2svn to compensate for changes in r120161,nectar2003-09-172-6/+9
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Correct more cases of allocation size bookkeeping being updated beforenectar2003-09-172-6/+9
| | | | | | | | | | | | | | | | | | | | | calling functions which can potentially fail and cause cleanups to be invoked. Submitted by: Solar Designer <solar@openwall.com>
* | | Correct more cases of allocation size bookkeeping being updated beforenectar2003-09-173-15/+18
| | | | | | | | | | | | | | | | | | | | | calling functions which can potentially fail and cause cleanups to be invoked. Submitted by: Solar Designer <solar@openwall.com>
* | | Cleaned up initialization of hardware flow control for 16650As. Usebde2003-09-171-25/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defined values instead of hard-coded values. Don't repeat the register access part of the code 4 times times or triple-space statements. This fixes half of the style bugs in rev.1.172. Hardware flow control of 16650As is still officially unsupported. I was mistaken about it being broken. It is broken in 16650s but is fixed in 16650As except for the maximum trigger level (which is no longer used). Testing of the 16650's broken hardware flow control watermarks by programming them on 16950s showed that their effects are not too bad if the fifo size and trigger level are reasonably large (16 is much better than 8).
* | | condition of padLen check was opposite.ume2003-09-171-1/+1
| | | | | | | | | | | | | | | Reported by: "lg" <zevlg@yandex.ru> Reviewed by: Lev Walkin <vlm@netli.com>
* | | Add final adjustment code of battery status based on the battery capacityiwasaki2003-09-171-0/+9
| | | | | | | | | | | | rather than returning unknown status.
* | | Add pci_resume() to reestablish interrupt routing afteriwasaki2003-09-173-2/+35
| | | | | | | | | | | | | | | | | | suspend/resume. Especially after hibernation, interrupt routing went back to initial status on some machines.
* | | Pick up softc from dev_t rathern than through newbus gymnastics.phk2003-09-172-22/+24
| | |
* | | Since it is static these days, there is no reason to uppercase thephk2003-09-172-8/+8
| | | | | | | | | | | | first letter of fdopen() to avoid nameclashing with other stuff.
* | | Remove GIANT_REQUIRED from vm_object_shadow().alc2003-09-171-2/+0
| | |
* | | When calling vget() on a vnode-backed vm object, acquire the vnodealc2003-09-171-2/+3
| | | | | | | | | | | | interlock before releasing the vm object's lock.
* | | Fix a `cast to pointer from integer of different size' warning.marcel2003-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | usage() has been made a (non-void) function so that it can be used in a pointer expression (see macro `next'). Widen the implied integer return type of usage() so that we can cast to a pointer without warnings.
* | | Fix 3 'cast to pointer from integer of different size' warnings.marcel2003-09-172-12/+18
| | | | | | | | | | | | While here, fix the long line bugs in the same statements.
* | | In uart_intr() loop until all interrupts have been handled. Previouslymarcel2003-09-174-19/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | an UART interface could get stuck when a new interrupt condition arose while servicing a previous interrupt. Since an interrupt was already pending, no new interrupt would be triggered. Avoid infinite recursion by flushing the Rx FIFO and marking an overrun condition when we could not move the data from the Rx FIFO to the receive buffer in toto. Failure to flush the Rx FIFO would leave the Rx ready condition pending. Note that the SAB 82532 already did this due to the nature of the chip.
* | | Only build the ebus driver on sparc64. It includes a header directlymarcel2003-09-171-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the sparc64 subtree, which breaks building non-sparc64 platforms in the event the sparc64 subtree does not exist. The problem is specific to the module, because non-module builds are affected by the presence or absence of "device ebus" in the kernel configuration. PR: kern/56869
* | | Fix a typo in r1.8: The GTLB enable/flush bit is 1<<7, not 1<<8.anholt2003-09-172-2/+2
| | | | | | | | | | | | | | | PR: kern/56297 Submitted by: Dan Angelescu <mrhsaacdoh@yahoo.com>
* | | Add locking to the hardware drivers. I intended to figure out moremarcel2003-09-177-27/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | precisely where locking would be needed before adding it, but it seems uart(4) draws slightly too much attention to have it without locking for too long. The lock added is a spinlock that protects access to the underlying hardware. As a first and obvious stab at this, each method of the hardware interface grabs the lock. Roughly speaking this serializes the methods. Exceptions are the probe, attach and detach methods.
* | | Fixed world breakage in previous commit. Somehow the wrong include wasbde2003-09-171-1/+1
| | | | | | | | | | | | removed in the world although the correct one was removed in the universe.
* | | Add locking.sam2003-09-171-164/+309
| | | | | | | | | | | | | | | | | | | | | | | | o change timeout to MPSAFE callout o restructure rule deletion to deal with locking requirements o replace static buffer used for ipfw control operations with malloc'd storage Sponsored by: FreeBSD Foundation
* | | Minor fixups + add locking.sam2003-09-171-65/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | o change time to MPSAFE callout o make debug printfs conditional on DUMMYNET_DEBUG and runtime controllable by net.inet.ip.dummynet.debug o make boot-time printf dependent on bootverbose Sponsored by: FreeBSD Foundation
* | | Minor overhaul and add locking.sam2003-09-171-305/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o replace magic constants with #defines (e.g. ETHER_ADDR_LEN) o move mib variables to net.link.ether.bridge with backwards compatible entries for well-known items maintained under BURN_BRIDGES o revamp debugging support so it is conditioanlly compiled with BRIDGE_DEBUG (on currently) and runtime controlled by net.link.ether.bridge.debug o change timeout to MPSAFE callout o optimize lookup for common case of two interfaces o optimize forwarding path to take IFNET lock only when needed o make boot-time printf dependent on bootverbose o sundry style changes (ANSI decls, extraneous spaces, etc.) Sponsored by: FreeBSD Foundation
* | | New release/errata note: SA-03:12.bmah2003-09-163-0/+22
| | |
* | | Microsoft Remote Desktop Protocol uses 3389/tcp.obrien2003-09-161-0/+1
| | |
* | | Add NEC PA-WL/54AG.shiba2003-09-162-0/+2
| | |
* | | Add acpi to the build on ia64. The support for ACPI 2.0x has gottenmarcel2003-09-161-0/+4
| | | | | | | | | | | | | | | | | | | | | to a point where we don't map the wrong (ie 32-bit) addresses. We don't always dump the right values yet, but that's not critical. Ok'd: njl
* | | Correctly wrap the producer queue index when dequeuing commands. This wasn'tscottl2003-09-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a problem for command responses since we rarely ever filled the queue. However, adapter-initiated commands have a much smaller queue and could tickle this bug. It's possible that this might fix the recently reported problems with the aac-2120s, though I haven't been able to reproduce the problem locally. MFC-After: 1 day
* | | When ignoring interrupts (due to no running request set) then trysos2003-09-161-20/+19
| | | | | | | | | | | | | | | to grap the channel so we can read status (and clear an evt pending interrupt).
* | | Rearrange the probe a bit first try ATAPI signatures then ATA.sos2003-09-161-12/+20
| | |
* | | Properly cast longs to off_t so we dont loose precision.sos2003-09-161-1/+1
| | |
* | | Update the OpenSSH addendum string for the buffer handling fix.nectar2003-09-161-1/+1
| | |
* | | Added definitions of most of the interesting 16950 register numbersbde2003-09-161-0/+41
| | | | | | | | | | | | | | | | | | | | | and some of their bits (i.e., fifo trigger levels, frequency multipliers and divisors, and bits to select the registers for these). This attempts to completely describe the 16950's complicated register selects for 16950-specific registers only.
* | | Added definitions for some 16650 features (mostly misfeatures). Thisbde2003-09-161-0/+7
| | | | | | | | | | | | completes defining the 16650 register numbers but not all of their bits.
* | | Fixed a minor error in the description of the EFR and a major error inbde2003-09-161-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the description of the data latch registers (they were described as readonly). Added some better and worse aliases for standard registers, mostly taken from the 16950 data sheet. Define deprecated aliases in terms of the preferred one. Don't define com_efr in terms of com_fifo. It is unrelated (in a different bank).
* | | Help those attempting to upgrade from static to dynamic root.ru2003-09-161-0/+11
| | |
OpenPOWER on IntegriCloud