summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-08remove unneeded variable. ratchov@ okFederico G. Schwindt
2010-04-08Fill in the bus_dma_sync for intagp to use clflush instead of wbinvd()Owain Ainsworth
if supported. When we do memory management on intel this would lead to a LOT of wbinvd() to deal with gpu->cpu incoherency. no one wants that. Needed for sanity of inteldrm memory management which is coming up next.
2010-04-08On amd64, move the bus_dma buftype stuff that is only used by sg_dmaOwain Ainsworth
into the sg_dma code instead of main bus_dma. Add identical code to i386 since this will be used in the next commit. ok kettenis@ back in december.
2010-04-08Check the behaviour of quoted and unquoted punctuationIngo Schwarze
after the mdoc(7) literal macro, .Li.
2010-04-08these files don't need to include proc.h anymore. ok oga for agpTed Unangst
2010-04-08these functions are in systm.h now, reminded by kettenisTed Unangst
2010-04-07Merge the good parts of 1.9.23,Ingo Schwarze
avoid the bad parts of 1.9.23, and keep local patches. Input in general: * Basic handling of roff-style font escapes \f, \F. * Quoted punctuation does not count as punctuation. mdoc(7) parser: * Make .Pf callable; noted by Claus Assmann. * Let .Bd and .Bl ignore unknown arguments; noted by deraadt@. * Do not warn when .Er is used outside certain sections. * Replace mdoc_node_free[list] by mdoc_node_delete. * Replace #define by enum for rew*() return values. man(7) parser: * When .TH is missing, use default section and date. Output in general: * Curly braces do not count as punctuation. * No space after .Fl w/o args when a macro follows on the same line. HTML output: * Unify PAIR_*_INIT macros, introduce new PAIR_ID_INIT(). * Print whitespace after, not before .Vt .Fn .Ft .Fo. Checked that all manuals in base still build.
2010-04-07Make sure that the sequence .Fl, no argument, and another macroIngo Schwarze
is rendered without white space between the dash and the other macro. Will be fixed in mandoc 1.9.23.
2010-04-07- add my shantou DM9601 (UQ_NO_STRINGS).Jasper Lievisse Adriaanse
ok sthen@
2010-04-07Add Velleman K8055 USB experimenter kit (from Jens Teglhus Moller)Stuart Henderson
and Belkin F6C120 UPS, both UQ_BAD_HID.
2010-04-07syncStuart Henderson
2010-04-07Add Velleman K8055 USB experimenter kit (from Jens Teglhus Moller)Stuart Henderson
and Belkin F6C120 UPS.
2010-04-07Move UQ_BAD_HIDs together and line up columns better.Stuart Henderson
ok deraadt@, earlier version ok jasper@, feedback halex@
2010-04-07Move descriptive comments right onto the line with the definitionStuart Henderson
to ease grepping, rewording them slightly to mostly fit onto 1 line and to clarify UQ_EHCI_NEEDTO_DISOWN. ok deraadt@
2010-04-07Make intagp restore pgtbl_ctl and the scratch page to the gtt on resume.Owain Ainsworth
When we move more towards kms we'll need to save/restore what is bound to the aperture, but right now this is not needed (since we always unbind everything before we go down anyway). "can not hurt" deraadt@. tested by halex, deraadt and maybe some others.
2010-04-07- nuke some unneeded Pp; from kristapsJason McIntyre
- small tweak while here
2010-04-07Correctly initialize cursor attribute when this display is a console device;Miod Vallat
tested by marco@
2010-04-07Remove XXX comment and just close received fd if calloc() fails.Nicholas Marriott
If this happens the imsg may no longer be usable as there may be queued messages, but this is a) already the case with the code now, and b) would be the case if recvmsg() fails anyway, so we can document that -1 from imsg_read() invalidates the struct imsgbuf. discussed with and ok eric
2010-04-07If we have done a wsdisplay_suspend(), and ACPI decides it does not want toTheo de Raadt
suspend, we must roll back by calling wsdisplay_resume() or the virtual console switching will be locked forever ok oga
2010-04-07txq->lastds is only valid when txq is not empty.Damien Bergamini
Check for emptiness of the TX queue instead of lastds != NULL. I have a feeling this might fix the "device timeout" issues reported by Rivo Nurges on his AR5418 unveiled by athn.c r1.28 commit, though he is not around to confirm. This is a candidate for -stable.
2010-04-07update initvals and TX gains for AR9285 >=1.2Damien Bergamini
check result of carrier leakage calibration and redo calibration if needed add support for newer AR9285 chips (AR9285 XE 2.0). tested for non-regression on a DNXA-95 "Still seems to work here" kettenis@
2010-04-07Call nexthop_delete() a bit later in nexthop_update(). The nh->state needsClaudio Jeker
to be changed before calling nexthop_delete() or the nexthop will not be correclty removed in the unlikly event when all aspathes move to a different nexthop while the lookup happens. sthen@ agrees with the logic.
2010-04-07rcsdiff doesn't support all diff(1) options,lum
so don't give that impression. ok jmc@ deraadt@ xsa@
2010-04-07tweak previous; ok ratchovJason McIntyre
2010-04-07Make suspend/resume work on MP machines (running an MP kernel). Joint workMark Kettenis
from mlarkin@ and me, with some amd64 fixes thrown in by deraadt@ ok marco@, deraadt@, pirofti@, mlarkin@
2010-04-06update a random sampling of drivers after the proc.h -> systm.h moveTed Unangst
2010-04-06move some of proc.h's greatest hits to systm.h, speeding up compiles.Ted Unangst
lots of build testing by deraadt, ok/feedback deraadt guenther kettenis
2010-04-06Merge copy mode and output mode, dropping the latter. Idea and code fromNicholas Marriott
Micah Cowan.
2010-04-06Try a more detailed message about the timeTheo de Raadt
2010-04-06Implement functions to take away the secondary CPUs from the scheduler andMark Kettenis
give them back again, effectively stopping and starting these CPUs. Use the stop function in sys_reboot(). ok marco@, deraadt@
2010-04-06Correct setting the autoneg ticks for GigE PHY, corrects what mediaChristian Weisgerber
is presented for some of the Broadcom bge(4) FastE adapters. From Brad.
2010-04-06bump (private) protocol version numberAlexandre Ratchov
2010-04-06aucat (server):Alexandre Ratchov
- make the ``-m mode'' option per subdevice, allowing subdevices to be play-only or rec-only even if the server is full-duplex - add ``monitoring'' mode (with ``-m mon''). This is a record-only stream from which played streams can be recorded (kind of ``record what you hear''). - allow MIDI devices to be subscribed to the controlling MIDI port of the server, ie what midicat does (with -f option), but using the -q option. - add flow control to the protocol, and serialize clock ticks (sio_onmove() calls) and data chunks. This should fix certain full-duplex programs, broken with ``magic'' block/buffer size combinations. - enable 3 block latency which is the minimum theoretical. Make -z and -b options correspond to device parameters. - make sio_getcap(3) the same for aucat and sun backends, ie return whatever is supported (``everything'' in the aucat case, since everything is actulally supported). aucat (player): - enable ``-m mode'' option to select between monitoring and recording when ``-o file'' is used. - plug MIDI code to non-server codepath. The MIDI control device is specified with the ``-q device'' option, as in server mode. - impliment lseek()'ing within files (controlled through MIDI). Necessary to use aucat with a MIDI sequencer. midicat (thrubox): - rename ``-f'' flag to ``-q'', so it has the same name as in aucat (-f is still working) ok jakemsr@, tweaks from jmc@
2010-04-06always enable both 2GHz and 5GHz LNAs regardless of the bandDamien Bergamini
we're using. fixes operation on some 5GHz channels (e.g 153). great thanks to Yao Zhao (dragonlinux at gmail dot com) for identifying the issue on run(4).
2010-04-06Split the device_register() code responsible for boot path recognition intoMiod Vallat
two distinct sets of routines: one for the ARCBios-compatible path used on non-KL systems (such as O2 and Octane), and one for the KL system using dksc() paths. When trying to match a dksc() path, walk the KL configuration of the whole system until the dksc controller is found; since the controller numbers are not assigned sequentially and contiguously, the old code would not work on complex systems (such as when booting from controller #6 when #3 to #5 are unaffected).
2010-04-06Obtain struct sgi_device_location for the console input and output devices,Miod Vallat
and compare against them when attaching potential console drivers, to figure out whether they indeed are acting are console devices or not.
2010-04-06Add more KL grovelling routines: one routine to enumerate on all nodes,Miod Vallat
and routines to turn a KL console and a KL component structs, respectively, into struct sgi_device_location for further device identification. XXX Due to the way PCI devices are numbered on PIC buses, this code is tainted XXX by knowledge about PIC widgets, to compensate. I have considered changing XXX xbridge(4) to have our PCI device numbering match KL on PIC-connected XXX devices, but I expect this to be even uglier. This is not settled yet.
2010-04-06Introduce struct sgi_device_location to carry enough information to uniquelyMiod Vallat
identify a given device by its physical connection, and add a lazy compare routine. This will be used shortly.
2010-04-06Provide WIDGET_ID_FOO() macros to extract parts of the ID register value,Miod Vallat
instead of duplicating tedious mask and shift constructs MAXINT times.
2010-04-06spacingTheo de Raadt
2010-04-06on devices that have a radio switch, check GPIO pin 2 and reportDamien Bergamini
that the radio is disabled with the same message as in other drivers. let initialization continue for the moment until i'm sure it is correct.
2010-04-06On RT3090 chips, read vendor RF settings from ROM and apply them.Damien Bergamini
2010-04-06Give rt3090_efuse_read_2() a chance to work by using the correct offset.Damien Bergamini
Found after jbg@ sent me a horrible dmesg.
2010-04-06Add support for decoding MLDv2 initially from tcpdump.org via FreeBSD,Jonathan Gray
cleaned up to be less gross after some suggestions from stsp. ok stsp@
2010-04-06A fix for the PCI-X check so that this is only tested on controllersChristian Weisgerber
that could be PCI-X. This bit is not valid for PCIe controllers. From Brad
2010-04-06Simple implementation of RFC4941, "Privacy Extensions for StatelessStefan Sperling
Address Autoconfiguration in IPv6". For those among us who are paranoid about broadcasting their MAC address to the IPv6 internet. Man page help from jmc, testing by weerd, arc4random API hints from djm. ok deraadt, claudio
2010-04-06add Intel 82801GR RAID.David Gwynne
2010-04-06Switch to a more address family independent nexthop imsg. Instead of passingClaudio Jeker
struct kroute or kroute6 pack the needed info into a struct bgpd_addr. No flames comming out of my and sthen@'s bgpd routers.
2010-04-06document www/plone module.Xavier Santolaria
2010-04-06Amend manpage to reflect the actual behaviour of -r option.lum
ok jmc@ otto@