summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-09-08syncTheo de Raadt
2008-09-08holtek; bigionews@snb.itTheo de Raadt
2008-09-08syncMartynas Venckus
2008-09-08add mustek powermust 800 ups; ok theo, sthen@Martynas Venckus
2008-09-08define IEEE80211_STA_ONLY if SMALL_KERNEL is defined to shrinkJonathan Gray
the size of install media. ok damien@ deraadt@
2008-09-08regenBrad Smith
2008-09-08- Add entries for two revisions of the ATI Radeon X1650 adapters.Brad Smith
- Fix some of the existing ATI Radeon entries to have more consistent and shorter names. Based on a diff from Jonathan Armani <jonathan dot armani at supinfo dot com>
2008-09-08Fix a link state issue reported by reyk@Brad Smith
In some situations we were not clearing pending link state attentions. Because of this we were not getting further interrupts for link state changes, thus never went into iface UP state. Force an interrupt at the end of bge_ifmedia_upd so we will call bge_link_upd, clear the link state attention and get further interrupts. From FreeBSD ok reyk@
2008-09-08remove some useless comments.Brad Smith
2008-09-08IEEE 802.3 Annex 28B.3 explicitly specifies the following relativeBrad Smith
priorities of the technologies supported by 802.3 Selector Field value. 1000BASE-T full duplex 1000BASE-T 100BASE-T2 full duplex 100BASE-TX full duplex 100BASE-T2 100BASE-T4 100BASE-TX 10BASE-T full duplex 10BAST-T However PHY drivers did not honor the order such that 100BASE-T4 had higher priority than 100BASE-TX full duplex. Fix a long standing bug such that PHY drivers choose the highest common denominator ability. This bug is exposed by a Cisco 3550 switch which inadvertently announces 100BASE-T4 capability even though it is not capable of 100BASE-T4 operation, it is a 100BASE-TX switch. From FreeBSD Tested with dc(4), fxp(4), rl(4), sis(4).
2008-09-08expand switch cases so they're not so ugly and easier to read.Brad Smith
ok deraadt@
2008-09-08delete a few more things. hoping someone shows up who is upset by this,Theo de Raadt
and puts some backpressure on this process. come on, someone get mad... and do something about it!
2008-09-07- replace dtoa w/ David's gdtoa, version 2008-03-15Martynas Venckus
- provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in printf, don't round to double anymore - implement extended-precision versions of libc functions: fpclassify, isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is fixed - separate vax versions of strtof, and __hdtoa - add complex math support. added functions: cacos, casin, catan, ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp, clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf, casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf, ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf, cimagf, conjf, cprojf, crealf - add fdim, fmax, fmin - add log2. (adapted implementation e_log.c. could be more acruate & faster, but it's good enough for now) - remove wrappers & cruft in libm, supposed to work-around mistakes in SVID, etc.; use ieee versions. fixes issues in python 2.6 for djm@ - make _digittoint static - proper definitions for i386, and amd64 in ieee.h - sh, powerpc don't really have extended-precision - add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h for LDBL_* - merge lead to frac for m{6,8}k, for gdtoa to work properly - add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa to use - add EXT_IMPLICIT_NBIT definition, which indicates implicit normalization bit - add regression tests for libc: fpclassify and printf - arith.h & gd_qnan.h definitions - update ieee.h: hppa doesn't have quad-precision, hppa64 does - add missing prototypes to gdtoaimp - on 64-bit platforms make sure gdtoa doesn't use a long when it really wants an int - etc., what i may have forgotten... - bump libm major, due to removed&changed symbols - no libc bump, since this is riding on djm's libc major crank from a day ago discussed with / requested by / testing theo, sthen@, djm@, jsg@, merdely@, jsing@, tedu@, brad@, jakemsr@, and others. looks good to millert@ parts of the diff ok kettenis@ this commit does not include: - man page changes
2008-09-07Kill some unneeded defines and struct members.Owain Ainsworth
2008-09-06match libc sha2(3) API changes for kernel; ok millert@Damien Miller
2008-09-06Fix comment to catch up with HPPA_PGALIAS change.Mark Kettenis
2008-09-06Return EIO when the residual is > xs->datalen, even if SCSI_SILENT isKenneth R Westerback
set. SCSI_SILENT mediates printing error messages only.
2008-09-06Something else that nothing calls.Owain Ainsworth
2008-09-06Kill some more unused struct fields and the cases for them.Owain Ainsworth
2008-09-06Kill the stats data structures and noop some other parts. Nothing inOwain Ainsworth
userland asks for these stats, and we stopped recording anything interesting a while back.
2008-09-05The code for cleaning up errored buffers and for cleaning up at the endOwain Ainsworth
is the same. Factor them into one function. Saves another 450 bytes on amd64.
2008-09-05The helper functions in this file are only used in one place andOwain Ainsworth
relatively small, so inline them. This shrinks the kernel by about 500 bytes and saves a tree lookup.
2008-09-05syncOkan Demirmen
2008-09-05- clarify Radeon HD 2600 Pro entryOkan Demirmen
- add Mobility Radeon HD 2600 found in a hp 8510p ok brad
2008-09-05fix vblank interrupt mask. Unbreaks sync-to-vblank and anything thatOwain Ainsworth
needs the actual interrupts. Oops!
2008-09-05Back out previous. Art realised a problem with it.Owain Ainsworth
2008-09-05Don't overwrite the old ipl in msleep if PNORELOCK was set.Artur Grabowski
2008-09-05When munging the WANTIPL of the mutex to prevent undoing the sched_lock,Owain Ainsworth
use the constant for IPL_SCHED, and not splsched(), which doesn't do what we want. ok art@. Tested by Paul de Weerd.
2008-09-04mostly cosmetic.Damien Bergamini
also, do not set the privacy bit in the capinfo field of (re)assoc requests, even for RSNA.
2008-09-03Replace -s (sector size) option with more general -t (disktype)Kenneth R Westerback
option which makes the vnd device emulate the geometry of the specified disktab(5) entry. No change in behaviour or geometry unless -t is used. API for vnd configuration ioctl (VNDIOCSET) changes, so mount_vnd must be in sync with kernel. Tested & ok jsing@ 'Lovely' deraadt@
2008-09-03third parameter of ieee80211_get_assoc_req() is a management frameDamien Bergamini
subtype, not a boolean indicating assoc or reassoc. rename the parameter and use if (type == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) instead of if (reassoc). it worked only because IEEE80211_FC0_SUBTYPE_ASSOC_REQ is equal to 0.
2008-09-03(Re)Association requests should contain a QoS Capability element,Damien Bergamini
not an EDCA Parameter Set element (spotted by IEEE80211_STA_ONLY).
2008-09-03redefine ic_send_mgmt() as a no-op instead of calling IF_PURGE inDamien Bergamini
{ipw,iwi}_start which is wrong (node reference is not released). from pgt(4).
2008-09-03In dc_setcfg() suppress printing a warning when forcing the receiverBrad Smith
and transmitter to idle state times out for chips where the status bits in question never change (observed in detail with DM9102A) and therefore the warning would highly likely be a false positive. From FreeBSD
2008-09-03regenStuart Henderson
2008-09-03housekeeping:Stuart Henderson
- remove extraneous spaces - better column alignment - sort vendors by vendor-id - sort products by vendor-id,device-id - group products by vendor-id rather than vendor-name - fix vendor-id for Motorola SB4100 (checked with vendor driver) ok brad@
2008-09-03before linking state keys compare them to verify they actually are theHenning Brauer
exact reverse of each other. if there is a mismatch don't erstablish the link and print enough so that we should be able to find the culprit.
2008-09-03do not set the pkthdr mbuf state key pointer to the state key saved in theHenning Brauer
pcb. the state key ptr in the pcb is the one that had to be used by pf outbound. but by convention the state key pointer in the pkthdr is the one used INbound, so pf follows its reverse pointer to find the sk to use, and since a reverse doesn't exist for locally terminated connections the reverse pointer is null and thus the whole game a noop. note that this only affects packets FROM local udp/tcp sockets, for the other direction everything works as expected.
2008-09-03Use & not && when masking bits.Jonathan Gray
2008-09-03Remove dead code: ip6_copypktopts() is not used anywhere.Marco Pfatschbacher
OK deraadt@, henning@
2008-09-03Prevent a possible overflow when the sum of all demotion countersMarco Pfatschbacher
gets bigger than 255. OK henning@
2008-09-02If we need a physical hardware status page, initialise it at device attachOwain Ainsworth
instead of putting up and tearing down on open and close, some chips got unstable with it being done repeatedly. From drm git. Tested by several.
2008-09-02Track progress inside of batchbuffers so we know the hardware isn'tOwain Ainsworth
wedged. This avoids early temination of long-running commands. From Keith Packard, via drm git. Tested by several on various chipsets.
2008-09-02remove dead stores and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok henning@ mpf@
2008-09-02missing break;Jonathan Gray
ok oga@
2008-09-02detypedef some more. No functional change.Owain Ainsworth
2008-09-01use C99 style struct initializer instead of GCC specific one (from NetBSD).Damien Bergamini
some whitespace cleanup too.
2008-09-01add ic_tid_noack bitmap to indicate a per-TID ACK policy (1=no ack,Damien Bergamini
0=normal ack). all bits are currently set to 0. use this bitmap to set the ACK policy of the QoS control field of outgoing QoS frames.
2008-09-01extend ieee80211_classify() to extract DSCP field from IPv6 packets too.Damien Bergamini
2008-09-01rework previously unused ieee80211_pwrsave() function, call it fromDamien Bergamini
ieee80211_mgmt_output() and ieee80211_encap(). use new IEEE80211_C_APPMGT capability flag where appropriate. rename ic_tim_mcast to ic_tim_mcast_pending.