summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-06* if we got an undercoverable error, set the dying flagJacob Meuser
* check the dying flag in timeout and interrupt handlers fixes crash when disconnecting cardbus usb adapters
2010-12-06as in ehci and ohci, delete the interrupt timeout in the detachJacob Meuser
routine
2010-12-06a couple unchecked if_detach() in detach routines that were missedJacob Meuser
in previous sweep (avoid NULL deref if the device didn't fully attach)
2010-12-06* replace per-driver dying and/or other state variables with use ofJacob Meuser
usbd_deactivete() and usbd_is_dying() * use usbd_deactivate() in activate()/DEACTIVATE * convert a few more direct checks of the associated bus' dying flag with usbd_is_dying()
2010-12-06call config_deactivate() before config_detach() when detaching devices.Jacob Meuser
2010-12-06* check that the root hub has been configured before trying toJacob Meuser
free it's resources * use usbd_is_dying() instead of directly checking the device's bus dying flag
2010-12-06* add dying flag to struct usbd_deviceJacob Meuser
* add usbd_deactivate(), which should be use to set the dying flag in struct usbd_device * add usbd_is_dying(), which can be used to check if either the device or the associated bus dying flag has been set * use usbd_is_dying() to check if the deivce or bus is dying before issuing transfers or requests
2010-12-05PCIe based sparc64 machines have always supported access to the extended PCIeMark Kettenis
configuration space. So on pyro(4) and vpci(4) return the size appropriate for the extended PCIe configuration space. ok miod@
2010-12-05Rewrite the mbrtowc(3) man page so we can make sense of this function.Stefan Sperling
tweaks from jmc, help from uwe, "We are going to have to trust you :-)" deraadt
2010-12-05Make sure we only initialize the nfsrv_descript_pl pool once.Mark Kettenis
Re-initializing the pool everytime nfsd(8) terminates is very bad since it screws up the list of pools resulting in infinite loops when traversing that list. Issue found by Daniel Melameth. ok deraadt@
2010-12-05tweak the framework so that individual modules don't exist and returnMarc Espie
the exit code upstream instead. this simplifies the task of people who want to reuse it, as noted by landry@
2010-12-04correct constant nameTakuya ASADA
2010-12-04Check the register offset against the device's configuration space size inMiod Vallat
the PCIOCREAD and PCIOCWRITE ioctls. ok kettenis@ (also ok mikeb@ on an earlier version of this)
2010-12-04Introduce a new pci routine, pci_conf_size(), which returns the size of aMiod Vallat
given pcitag_t configuration address space. Currently, all pci controllers will return the usual 0x100 bytes of PCI configuration space, but this will eventually change on PCIe-capable controlers. ok kettenis@
2010-12-04Remove pci configuration space acces hook infrastructure, which got copiedMiod Vallat
from loongson but isn't necessary on octeon. ok syuu@
2010-12-04Define BUS_SPACE_MAP_LINEAR and BUS_SPACE_MAP_PREFETCHABLE, and provideMiod Vallat
a simple bus_space_barrier implementation. ok syuu@
2010-12-04add a few simple tests found in my treeIngo Schwarze
2010-12-04fix fd leak; spotted and ok dtucker@Damien Miller
2010-12-04Now that we don't have groff in base any longer, check in the desired output,Ingo Schwarze
such that the regression suite does not depend on ports.
2010-12-04Make sgi port compile again.Joel Sing
2010-12-04The pm_cpus member of the pmap is now a 64bit integer: update the assemblyPhilip Guenthe
used in cpu_switch() for handling it. Also, delete an unnecessary instruction that I added while debugging the pm_cpus handling before ok kettenis@
2010-12-04Teach swapctl(2) about DUIDs.Joel Sing
ok deraadt@
2010-12-04adjust for hard-link supportDamien Miller
2010-12-04add a protocol extension to support a hard link operation. It isDamien Miller
available through the "ln" command in the client. The old "ln" behaviour of creating a symlink is available using its "-s" option or through the preexisting "symlink" command; based on a patch from miklos AT szeredi.hu in bz#1555; ok markus@
2010-12-03move check for revoked keys to run earlier (in auth_rsa_key_allowed)Damien Miller
bz#1829; patch from ldv AT altlinux.org; ok markus@
2010-12-03check that g^x^q === 1 mod p; recommended by JPAKE author Feng HaoDamien Miller
(this code is still disabled, but apprently people are treating it as a reference implementation)
2010-12-03be more strict on socket lifetime (fixes a fd leak).Eric Faurot
ok gilles@
2010-12-03really turn -H off;Jason McIntyre
2010-12-03add missing header needed by futimes()Charles Longeau
ok stsp@
2010-12-03Sync with amd64, to allow this to compile without warnings with gcc4:Miod Vallat
``Correct the _atomic_lock() asm so that gcc accepts the constraints when compiling without optimization; fix copied from the kernel's atomic.h'' spotted by jim@
2010-12-03removed slot argument of function pckbd_cnattachAlexandr Shadchin
because it is always PCKBC_KBD_SLOT ok miod@, krw@
2010-12-03missing ; in previousJacob Meuser
2010-12-03Sizes may also be specified in gigabytes or terrabytes.Todd C. Miller
OK jmc@
2010-12-03Document recent cpan MODULE change.Antoine Jacoutot
ok jasper@
2010-12-03disklabel now uses "duid", not "uid";Jason McIntyre
2010-12-03turn off -H by default (<> warning), since mandoc does not have the sameJason McIntyre
html issues as nroff did; from Thomas Klausner
2010-12-03minor cleanup;Jason McIntyre
2010-12-02After the most recent change, make it possible to make -j again. TheTheo de Raadt
early MD and late MI files must be split up so that vers.o can sneak between. Issue spotted by bluhm, repair discussed with miod
2010-12-02The awk's split() starts numbering array indices at 1 not 0.Todd C. Miller
2010-12-02Track the parser status both per file (file_status), such thatIngo Schwarze
we can for example skip rendering on FATAL parsing errors, and globally (exit_status), such that we know what to return. Without this, following files produced no rendered output once a single file suffered from a FATAL error. Bug reported by kristaps@, fix by me.
2010-12-02Properly initialize the manual section to a default when .Dt is missing.Ingo Schwarze
Without this, we died on an assertion. Problem noted and patch provided by kristaps@.
2010-12-02don't attach to the hid interface of the ti msp430Jacob Meuser
2010-12-02move vers.o to before the other objects, so that it is not linked last.Theo de Raadt
having it linked last is bad (on at least i386 and amd64) because the lapic is mapped over the start of the data segment -- savecore(8) then reads the version string for a fixed buffer space, and reads into the lapic area causing unintended side-effects (at least on Intel X5570 and X5680) found by pedro, discussed with kettenis and mpf and miod
2010-12-02make hotplug queue dynamic, allowing us to increase size without waste.Ted Unangst
ok deraadt kettenis miod
2010-12-02a -N option for tar that uses numeric only IDs, useful for cross systemTed Unangst
tar file manipulation. with advice from guenther and jmc.
2010-12-02Bring lang/ruby module documentation up to date.Jeremy Evans
OK landry@
2010-12-02don't match/attach devices without a data endpoint, since this driverJacob Meuser
can't use them anyway. tested with working umodem by sthen@ ok sthen@
2010-12-01Fix path to register-plist. Mikolaj KucharskiLandry Breuil
2010-12-01Cleanup by kristaps@:Ingo Schwarze
* When autodetecting the format, don't assume all files are the same. * Add more comments and apply some whitespace beautifications.
2010-12-01Merge man_action.c into man_validate.c.Ingo Schwarze
Same as for mdoc_action.c, but much simpler. Work by kristaps@, re-applying OpenBSD changes on top.