summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-03detypedef drm_device_dma_t.Owain Ainsworth
2009-04-03detypedef drm_buf_entry_t too.Owain Ainsworth
2009-04-03detypedef struct drm_buf from the dma_buffers api. Just because it'sOwain Ainsworth
dying as soon as I can make it doesn't mean I shouldn't be able to look at it in the meantime.
2009-04-03Change a bunch of "printk" in commented out debug code into "printf" andOwain Ainsworth
kill the compat define. Should have done this ages ago.
2009-04-03More dead typdefs and defines.Owain Ainsworth
2009-04-03dead function.Owain Ainsworth
2009-04-03Dead prototypeOwain Ainsworth
2009-04-03unused type.Owain Ainsworth
2009-04-03detypedef drm_pci_id_list_t.Owain Ainsworth
2009-04-03Sprinkle some const correctness for the pciid lists. From mickey agesOwain Ainsworth
ago.
2009-04-03${XORGNAME}_driver_irq_handler() is a stupid name for an interruptOwain Ainsworth
handler anyway. replace it with ${OpenBSD_driver_name}_intr like most of the rest of the tree. No functional change.
2009-04-03More compat crud bites the dust: Remove the IRQ_NONE and IRQ_HANDLEDOwain Ainsworth
defines. 0 and 1 are fine for returning from irq handlers so why bother with the indirection?
2009-04-03kill the stupid DRM_IRQ_ARGS macros and irqreturn_t typedef, switch toOwain Ainsworth
the unmacroed/typedefed version.
2009-04-03Remove dev->irq_lock, the drm_irq_handler_wrap irq handler, and removeOwain Ainsworth
the dev->driver irq_handler member since we now don't need to know. Shaves a few bytes, and makes me happy.
2009-04-03Final irq_lock piece. Switch inteldrm over like radeomdrm and the rest.Owain Ainsworth
We already have a lock protecting the irq registers, so extend it trivially so it protects user interrupts too. Switch irq handler to purely local handler. Finally remove an extra test in i915_wait_irq() since we won't sleep even without that if the test will pass. irq_lock and handler_wrap may now die. Coming soon.
2009-04-03Same as just done for machdrm, just convert us over to using our irqOwain Ainsworth
handler directly, no fences to worry about right now.
2009-04-03Convert machdrm to not have to user drm_irq_handler. Since the onlyOwain Ainsworth
interrupt we provide is vblank, it's just switching the handler. knf while here.
2009-04-03Same as just done for radeon. Add and use a lock for procecting againstOwain Ainsworth
races when waiting on fences, and use that in preference to irq_lock. Don't use drm_irq_handler_wrap() anymore for irq handler, just the mgadrm main irq handler. knf while here.
2009-04-03Add a lock to protect races for the software interrupt on radeon chipsOwain Ainsworth
(vblank is already protected by that subsystem). Also, do all checks for the correct software interrupt having fired inside DRM_WAIT_ON(), since it won't sleep if it's already passed it doesn't gain us much (skips one lock grab). Finally, establish the interrupt with only the main radeon irq handler, don't bother with drm_irq_wrap. bunch of knf while i'm in here.
2009-04-03use i915_pipe_enabled() to test to see if the pipe is lit up, instead ofOwain Ainsworth
expanding the function in line here.
2009-04-03Convert DRM_WAIT_ON to take additional parameters, the wmsg for msleep,Owain Ainsworth
and the lock to manipulate. first step of removing drm_irq_handler_wrap which just grabs the irq_lock, and eventually irq_lock. drivers should manage their own.
2009-04-03Make sure that sys_reboot runs on the primary cpu. Won't hurt when notArtur Grabowski
needed, but some machines seem to work much better with it.
2009-04-03sched_peg_curproc_to_cpu() - function to force a proc to stay on a cpuArtur Grabowski
forever.
2009-04-03my last commit to diff.c broke diffing in some cases,Joris Vink
noticed the hard way here at work. commiting with opencvs, permission by deraadt@
2009-04-03The smtp auth PLAIN specification is weird. It's valid (apparently forOwain Ainsworth
imap, mostly) to provide "username1\0real_username\0password" as your base64 encoded string for authentication. We currently don't handle that, instead expecting the first byte to be a NUL. So fix that up by scanning for the first string, and ignoring it if it's there. The string is also stupid in that the last bit (password) may not be NUL terminated, so pay attention to that in our decoding and make sure that it's always terminated correctly. It's been discussed, and this decoding really should happen in the unauthenticated process, not in the privileged one, but that is another diff. Problem found by todd@, who kindly helped me debug this and confirmed that it now works with kmail, mutt and thunderbird. "if it makes more stuff work, please commit" jacekm@. -0- - not a smtpd hacker and I resent your implication.
2009-04-03Fix SEM_UNDO handling for rthreads: use the struct process* insteadPhilip Guenthe
of the struct proc* as the identifier for SEM_UNDO tracking and only call semexit() from the original thread, once the process as a whole is exiting ok tedu@
2009-04-03Cleanup. These definitions should have died when I removed the lock_timeOwain Ainsworth
member from the lock structure.
2009-04-02properly deal with uptodate files server-side, as they do notJoris Vink
have a file on disk we'll need to load the revision into a temporary file to do our comparison. do not even bother trying diffing 2 off the same revisions either. causes less noise... way less. you guessed it, commited using opencvs entirely. with permission from deraadt@
2009-04-02if ce_conflict != NULL, the file should be sentJoris Vink
to the server for verification. commited with opencvs, permission by deraadt@
2009-04-02Correct the writing to RING_RPTR_ADDR in the non agp case, should be aOwain Ainsworth
hardware virtual address offset, not a physical one. From upstream.
2009-04-02get rid of otus_phy_write().Damien Bergamini
unobfuscate things a bit.
2009-04-02Convert lockmgr to rwlock. Fixing a (harmless) lock leak on attachOwain Ainsworth
failure while i'm at it. Been in snaps for a while. ok deraadt@
2009-04-02Convert lockmgr to rwlock. Been in snaps for a while.Owain Ainsworth
ok deraadt@
2009-04-02s/GWUSBMICRON/GWUSMICRON/ spotted by Fukaumi NaokiDamien Bergamini
+ sort Corega entry
2009-04-02syncDamien Bergamini
2009-04-02s/GWUSBMICRON/GWUSMICRON/Damien Bergamini
spotted by Fukaumi Naoki
2009-04-02add support to specify a ca file (eg. /etc/ssl/cert.pem) to verify sslReyk Floeter
server certificates when connecting as an SSL client from relays. it works so far, but needs more testing and is currently lacking support for certificate revocation (like CRL or OCSP). the file ssl_privsep.c is extended to implement more code that should be in openssl to allow loading the ca from chroot...
2009-04-02Anchor names with characters after the terminating null byte are invalid.Stuart Henderson
ok jmc@
2009-04-02tweak previous;Jason McIntyre
2009-04-02restore previous behaviour and reach directly to libexec forJacek Masiulaniec
makemap as !sendmail versions of this binary are not valid here. pointed out by and ok sthen@
2009-04-02make sure diffing -rTAG -rTAG works even if files are uptodateJoris Vink
commited with opencvs, with permission by deraadt@
2009-04-01Give some hints about debugging live kernels with gdb(1).Mark Kettenis
2009-04-01bzero pci attach argsMark Kettenis
2009-04-01fix an incorrect flag in route mode.Reyk Floeter
From Padcal Lalonde, closes PR 6114
2009-04-01re-initialize tables after reload to handle new and changed tables.Reyk Floeter
From Pascal Lalonde, closes PR 6112
2009-04-01Remove duplicate entry for partition id 0x07 so NTFS partitionsJonathan Gray
will show as NTFS in fdisk output. ok todd@ otto@ deraadt@
2009-04-01Add support for client-side SSL connections from relays. relayd canReyk Floeter
now sit between two SSL connections (Oitm - OpenBSD-in-the-middle), accept SSL connections and forward to TCP, accept TCP connections and forward to SSL, and do TCP to TCP of course. This was tested by some people a while ago.
2009-04-01terminate and cleanup properly by setting the pf anchor namesReyk Floeter
correctly (anchor names with characters after the terminating NUL byte are considered invalid). Thanks to camield@
2009-04-01Add raid 6 and 60Marco Peereboom
2009-04-01zap double word; from Jo?o SalvattiJason McIntyre