summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-11-24Pull from master repo:Stefan Kempf
More missing newlines.
2007-11-24Add newline after comment. The following instruction would not beStefan Kempf
recognized by the assembler otherwise.
2007-11-23Don't do anything in the shutdownhook if the registers aren't mapped.Mark Kettenis
ok deraadt@, fgsch@
2007-11-23ukbd_rawrepeat only there if WSDISPLAY_COMPAT_RAWKBDTheo de Raadt
2007-11-23Check for invalid dev indices, which could get here through ioctl.Deanna Phillips
2007-11-23If the card has gone away, return imediately from the interrupt handler.Mark Kettenis
ok dlg@
2007-11-23starting bits to implement hotplug of sili controllers. this adds the codeDavid Gwynne
to clean up the atascsi stuff, and has sili call it when its going away. tested on an expresscard sili variant by kettenis@
2007-11-23Since the devices that we detach may have children we cannot rely on theMark Kettenis
"previous" device still being there, so if we detach a device, we really have to start from scratch again (like the comment on this code actually says we should). Simplifies the code as a bonus. ok dlg@, deraadt@
2007-11-23feng shuiDavid Gwynne
2007-11-23Don't use uninitialized variables in umbg_detach.Marc Balmer
2007-11-23Make sure that variables used during detach are initialized during attach.Marc Balmer
Discussed with dlg.
2007-11-23use copyin and copyout to get the actual ata data in and out of the kernelDavid Gwynne
for the ata ioctl used by atactl. i dont know how this worked before.
2007-11-23Sanitize the use of timeouts:Marc Balmer
Instead of calling timeout_set(..., NULL, NULL) in attach routines and later timeout_del(...) timeout_set(..., func, arg) timeout_add(..., time) set the function and argument in the initial timeout_set() call and only use timeout_add(..., time) later. ok dlg, fgsch, krw, winiger
2007-11-23implement translation of the scsi vpd page for fetching a disks serialDavid Gwynne
number. lets bioctl against an atascsi disk see the serial number. continually requested by henning@
2007-11-23if we cant fetch the serial then fill it with "(unknown)".David Gwynne
2007-11-23kprintf -> printf, unbreaks USB_DEBUGMarc Winiger
"of course" deraadt@
2007-11-23t10 has a whole spec on doing SCSI to ATA translation called SAT. i wishDavid Gwynne
id known about it when i wrote atascsi. anyway. it says we should claim SPC-3 when we fake INQUIRY.
2007-11-23Degrade sensor status in an interrupt context.Marc Balmer
2007-11-23No need for process context to degrade the sensor status.Marc Balmer
Discussed with kettenis.
2007-11-23move nmea stuff to same place other line discs goTheo de Raadt
2007-11-23- use either "host name" or "hostname", i decided to use "hostname" everywhereReyk Floeter
- a URL instead of an URL (a "you-are-el") suggested by jmc@
2007-11-23re-implement the "mark" action and document it in the manpage:Reyk Floeter
it is possible to attach a mark to a session based on matching an entity (header, url, cookie, ...) and add conditional action for this mark. it works a bit like the tag/tagged keywords in pf, but i decided to pick a different name to avoid confusion. ok pyr@ gilles@
2007-11-23add cvs idStuart Henderson
ok pyr@
2007-11-23fix typoStuart Henderson
ok pyr@
2007-11-22Split the cmmu code routines into single 88110 (MVME197LE) and 88110+88410Miod Vallat
combos (MVME197SP/DP), and implement supposedly smarter cache routines. There is still room for improvement, however, cache flush operation errata permissing. Tested on 197LE and 197DP.
2007-11-22Introduce an inline function to skip an instruction on 88110 and use itMiod Vallat
whenever necessary, instead of duplicating the same code 10+ times.
2007-11-22A decent workaround for errata #16. I have verified it gets triggered, theMiod Vallat
hard way.
2007-11-22Do not reenable interrupts for netsted interrupts if interrupts wereMiod Vallat
previously disabled on 88110, similar to a recent 88100 fix.
2007-11-22Do not bother saving the fault address registers if the fault statusMiod Vallat
registers are empty, to speed up a bit non-fault traps.
2007-11-22Do not redirect exception occuring when enabling the fpu to the error handler,Miod Vallat
for we are supposed to be able to recover from them.
2007-11-22Do not save a copy of the previous exception frame in a fixed memory location.Miod Vallat
2007-11-22Pull from master repo:Stefan Kempf
Kill two useless assignments. ok ragge@ some time ago
2007-11-22Pull from master repo:Stefan Kempf
Fix the other rule that did not load small negative 64-bit constants correctly. The error shows up if you compile main(){long long = -1;} with -xtemps.
2007-11-22.Nm does not require an argument; from Mark LumsdenJason McIntyre
2007-11-22shuffle some structure elements; avoid using enums in *_config structs.Reyk Floeter
2007-11-22Fix relay roundrobin mode to work correctly when multiple hosts in aReyk Floeter
table are down. Thanks to Preston Norvell at serialssolutions dot com for reporting the problem.
2007-11-22Pull from master repo:Stefan Kempf
Put the genswitch() code that is found in most backends into the MI part. The backend version is renamed to mygenswitch() and can provide improved translations for switch statements. Improved implementation of the switch constraints/semantics described in the standard. ok ragge@, otto@ With help and comments from ragge and gmcgarry
2007-11-22add "demote", was missing. noticed by camield@Henning Brauer
2007-11-22Diff from Mark Lumsden: cleanup of reading strings and numbers, toOtto Moerbeek
make sure command line args and interactive reading of numbers use the same code. More concrete, interactive use of 'd' and 'n' now also interpret 'max', 'infinite' and 'all' and handle non-numbers correctly. tested by a few
2007-11-22be a bit less aggressive retrying; this keeps the message queueOtto Moerbeek
empty while in the -s period, so the poll timeout actually times out if there are no interfaces available. ok henning@
2007-11-22if the drift file is missing, reset adjfreq to zero; iirc diff from GlaserOtto Moerbeek
from a long time ago. ok ckuethe@
2007-11-22add (new) "url" protocol action, this can be used to match/filter URLReyk Floeter
suffix/prefix expressions like "example.com/index.html?args". a digest mode allows to match against anonymized SHA1/MD5 digests of suffix/prefix expressions.
2007-11-22disable i386 ipmi as well, because marco has an acpi interaction bug to fix ↵Theo de Raadt
still
2007-11-22On 88110, skip the faulting instruction in double_reg_fixup() if it canMiod Vallat
recover, otherwise we'll fault in a loop.
2007-11-22Quote a few errata to explain why odd things are done in oddly ways on 88110.Miod Vallat
2007-11-22Remove the cpu parameter from cmmu_set_sapr(), since it is only invokedMiod Vallat
for the current processor. And remove now unused cmmu_flush_data_page().
2007-11-22Remove explicit tlb flush from vmapbuf(), since pmap_enter() will takeMiod Vallat
care of this.
2007-11-22Add an extra parameter to pmap_remove_pte() to control whether it willMiod Vallat
flush tlbs or not. This is used by pmap_enter() to avoid flushing the same tlb entry twice.
2007-11-22Move the cmmu lock to 88200-specific code. 88110 MP code will use ipisMiod Vallat
and will not require such a lock.
2007-11-22Ansi-fy.Kenneth R Westerback