summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Sorted register numbers together with the correspoding register bits.bde2003-09-161-33/+35
| | | | | | | | Merged comments to match (put them at the right of the #defines instead of duplicating them). Sorted the resulting sections on UART type and register bank. Added a comment for each bank.
* Don't repeat selected defines from ns16550.h or sioreg.h. Justbde2003-09-162-40/+2
| | | | | include ns16550.h. The missing installation of ns16550.h was fixed long ago and the misplaced defines in sioreg.h were fixed recently.
* Don't include another driver's private reg.h file (sioreg.h). Includingbde2003-09-162-2/+0
| | | | ns16550.h is now sufficient.
* Moved the definitions of the bits in the ns*50 registers from sioreg.hbde2003-09-162-85/+85
| | | | | | | | to ns16550.h. The organization of these files was sort of backwards. The bits in the registers have no driver or bus dependencies but they but the offsets of the registers in bus space are very bus-dependent. However, it does no harm to keep the definitions of the register offsets in ns16550.h provided they are thought of as internal ns*50 offsets.
* This commit was generated by cvs2svn to compensate for changes in r120113,nectar2003-09-161-5/+8
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Do not record expanded size before attempting to reallocate associatednectar2003-09-161-5/+8
| | | | | | | | | | | | memory. Obtained from: OpenBSD
* | Don't read the MAC address from a copy of the EEPROM in the softcmbr2003-09-162-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that has been recorded earlier and overwrite it again later by reading it directly from the EEPROM again. Read the MAC address from the PAR0/PAR1 registers instead, which are autoloaded on reboot. Tested on AN985, AN983B. According to the datasheets, it should also work for the AL981 (I don't have such a chip on a card at home) PR: 52988 Submitted by: Andrew Gordon <arg-bsd@arg.me.uk> MFC after: 2 weeks
* | Get rid of a nasty error message that tells usmbr2003-09-161-4/+13
| | | | | | | | | | | | | | | | | | | | dhclient couldn't get killed. If we execute 'dhclient -r', dhclient gets already killed, so there is no need to do it twice. Only do this if we really have to release some leases. Reviewed by: silence on freebsd-rc@yahoogroups.com
* | Fix a typo. Also turn on PTHREAD_SCOPE_SYSTEM after fork().davidxu2003-09-162-2/+4
| |
* | Remove a comment that questioned why the size of the FPUdeischen2003-09-162-20/+2
| | | | | | | | | | | | | | | | | | | | | | state for amd64 was twice as large as necessary. Peter recently fixed this, so the comment no longer applies. Also, since the size of struct mcontext changed, adjust the threads library version of get&set context to match. FYI, any change layout/size change to any arch's struct mcontext will likely need some minor changes in libpthread.
* | From OpenBSD:fenner2003-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | always widen the imputed netmask if it is narrower than the specified octets. fixes a strange behaviour where inet_net_pton would always return 4 (bits) for multicast addresses no matter how many octets were specified. negotiated with Paul Vixie, original author of this function. PR: standards/53151 Submitted by: Max Laier <max@love2party.net> Optained from: OpenBSD
* | Statically compile in sound as we don't have modules yet.obrien2003-09-151-0/+2
| |
* | Maintain a history of data associated with received frames and use this tosam2003-09-152-5/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | calculate smoothed signal quality data for each node. o add a 16-deep history buffer to each driver-private node storage that holds rssi and antenna info for received frames o override the default per-node "get rssi" method to return an average rssi value based on samples collected over the last second o enable beacon reception so even idle systems maintain a running history of signal quality This data may also be useful for improving the rate control algorithm. Based on work by Tom Marshall <tommy@home.tig-grr.com> for MADWIFI.
* | Generalize the per-node RSSI data so drivers can do more interestingsam2003-09-153-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | things than record a single value. o add a per-node method for returning the "current RSSI" for a node o create a default method that returns ni_rssi which is the rssi for the last received frame o use the per-node "get rssi" method to return data for the RID's submitted by wicontrol, et. al. Loosely based on work by Tom Marshall <tommy@home.tig-grr.com> for MADWIFI.
* | Bump the EC timeout from 50 to 100 ms. I believe the underlying issue isnjl2003-09-151-1/+1
| | | | | | | | | | global lock contention as symptoms only appear under heavy load (i.e. the nightly periodic run).
* | Catch up with libpthread/support/Makefile.inc,v 1.6 and revertru2003-09-151-5/+1
| | | | | | | | | | Makefile.inc1 revisions 1.365 and 1.367: libc_pic.a is no longer necessary to build libpthread.so (ie: libkse.so).
* | Correctly reset ich[3-5] sound cards on resume. This fixes audio playbacknjl2003-09-151-0/+30
| | | | | | | | | | | | | | | | | | | | | | after suspend/resume for me. PR: Submitted by: iwasaki Reviewed by: orion Approved by: cg Obtained from: MFC after:
* | o do not filter received frames based on type or length; pass 'em all upsam2003-09-151-13/+3
| | | | | | | | | | | | | | | | to the 802.11 layer if they are at least IEEE80211_MIN_LEN o mask off interrupt status bits that we don't care about so we don't do the wrong thing; this fixes a problem where the beacon miss interrupt status bit is delivered together with other status bits when operating in monitor mode (we would post a beacon miss swi and then do the wrong thing)
* | Change input handling to not expect drivers to filter short frames.sam2003-09-151-6/+24
| | | | | | | | | | | | | | | | In particular, let drivers send up control frames so we can dispatch them to bpf in monitor mode. This is the first (small) step to adding more functionality such as power save mode.
* | add definitions for various control frames and a minimum-sized frame thatsam2003-09-151-0/+51
| | | | | | | | | | we use to define IEEE80211_MIN_LEN; the minimal length for frames drivers may pass up into the 802.11 layer
* | Release a previous lease if there is any, instead ofmbr2003-09-151-1/+1
| | | | | | | | | | just killing dhclient. Needed my some broken dhcpd implementations to be able to get a lease again.
* | Note the addition of `-C 60' to inetd_flags in etc/defaults/rc.conf.nectar2003-09-151-0/+6
| |
* | Add `-C 60' to the default flags for inetd, so that it is lessnectar2003-09-151-1/+1
| | | | | | | | vulnerable to run-of-the-mill DoS attacks in the default installation.
* | Remove nsswitch.conf from the list of examples, because there is nonectar2003-09-151-1/+0
| | | | | | | | | | | | such example. Reported by: blackend
* | Better explain what INSTALL="install -C" does, and warn that this maysheldonh2003-09-151-2/+4
| | | | | | | | | | | | | | | | | | be hardwired into makefiles, including those under /usr/share/mk. The reporter submitted a patch, but I've watered it down. Reported by: Ian Freislich <ianf@za.uu.net> MFC after: 3 weeks
* | The previous fix (rev 1.25) is only needed in the second place.mbr2003-09-151-3/+1
| |
* | Quick fix for a pessimization in rev.1.194. An extra i/o instructionbde2003-09-151-2/+7
| | | | | | | | | | | | | | | | | | was added to the fast path to support the COM_IIR_RXRDYBUG() case even when that case is not configured. This increased the relative overhead of sio input by almost 25% in the worst case and by 2-3% in the usual case (usually only about 0.2% absolute per port at 115200 bps). The quick fix is to significantly pessimize only the COM_IIR_RXRDYBUG() case.
* | Add a module dependancy. Now CAM will autoload when you load this.markm2003-09-151-0/+1
| | | | | | | | OK'ed by: mdodd
* | Only enable S4BIOS by default if the FACS says it is available. Thenjl2003-09-151-4/+9
| | | | | | | | | | | | user can override this with a sysctl. Be sure to return the acpi_SetSleepState return value to userland.
* | Eliminate the use of Giant from vm_object_reference().alc2003-09-151-11/+11
| |
* | Sort: build uart_bus_pccard.c before uart_bus_pci.c.marcel2003-09-151-2/+2
| |
* | Our getaddrinfo() and getnameinfo() are thread-safe butume2003-09-152-2/+10
| | | | | | | | | | | | some limitation. Reported by: Marc G. Fournier <scrappy@hub.org>
* | Remove inclusion of <sys/timepps.h>. It's included in "uart_bus.h"marcel2003-09-151-1/+0
| | | | | | | | to avoid having to include it in almost all other source files.
* | Only kill the default route in the release mode if the interfacembr2003-09-151-2/+15
| | | | | | | | | | | | | | | | where the default route is bound to is the same device. Keep it working for the single user or sysinstall mode, where we just do what we did before. Suggested by: dougb
* | Remove useless #ifdef PC98.takawata2003-09-151-3/+1
| | | | | | | | Submitted by: nyan
* | Correct a typo in the previous revision.alc2003-09-151-1/+1
| |
* | Fix bogus comment and assign sigmask in critical region, usedavidxu2003-09-152-4/+8
| | | | | | | | SIG_CANTMASK to remove unmaskable signal masks.
* | Fix a bogus comment, sigmask must be maintained correctly,davidxu2003-09-152-2/+2
| | | | | | | | it will be inherited in pthread_create.
* | Remove invalid statement about the maximum number of swap drives.hmp2003-09-141-2/+1
| | | | | | | | | | PR: docs/55276 Submitted by: Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>
* | Update supported Ethernet Controllers as per the Hardware Notes.hmp2003-09-141-0/+4
| | | | | | | | | | | | PR: docs/55559 Submitted by: Lukas Ertl <l.ertl@univie.ac.at> MFC after: 3 days
* | must also check for 5Ghz channels when marking short preamble capability insam2003-09-141-1/+2
| | | | | | | | | | | | the beacon frames Reminded by: Stephane Laroche <stephane.laroche@colubris.com>
* | 1. Allocating and freeing lock related resource in _thr_alloc and _thr_freedavidxu2003-09-148-188/+174
| | | | | | | | | | | | | | | | | | | | | | to avoid potential memory leak, also fix a bug in pthread_create, contention scope should be inherited when PTHREAD_INHERIT_SCHED is set, and also check right field for PTHREAD_INHERIT_SCHED, scheduling inherit flag is in sched_inherit. 2. Execute hooks registered by atexit() on thread stack but not on scheduler stack. 3. Simplify some code in _kse_single_thread by calling xxx_destroy functions. Reviewed by: deischen
* | When invoking an old style signal handler, use true traditional BSD style todavidxu2003-09-142-12/+26
| | | | | | | | | | | | invoke signal handler. Reviewed by: deischen
* | Respect POSIX specification, a value return from pthread_attr_getguardsizedavidxu2003-09-144-32/+36
| | | | | | | | | | | | | | | | | | should be a value past to pthread_attr_setguardsize, not a rounded up value. Also fix a stack size matching bug in thr_stack.c, now stack matching code uses number of pages but not bytes length to match stack size, so for example, size 512 bytes and size 513 bytes should both match 1 page stack size. Reviewed by: deischen
* | o mark the device capable of short preamble (meaningless for the 5210 butsam2003-09-142-16/+18
| | | | | | | | | | | | | | | | | | | | safe since the 802.11 layer does the right thing for 11a operation) o select short preamble operation based on the negotiated capabilities; not just the local state/capability o fillin the duration field in the 802.11 header as appropriate o remove detection of 11g support; no longer needed Obtained from: MADWIFI (with modifications)
* | Honor the short preamble capability/state flag when calculating thesam2003-09-141-1/+12
| | | | | | | | | | | | | | | | capabilities for outbound management frames. But beware of sending this when operating on 5GHz channels; some 11a AP's reject association requests if this bit is set in the capabilities listed. Obtained from: MADWIFI (with modifications)
* | Avoid garbage bits in c_flags by direct assigning value.davidxu2003-09-142-2/+2
| | | | | | | | Reviewed by: deischen
OpenPOWER on IntegriCloud