summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-08-29submatch functions used with config_found_sm() are required to invoke theMiod Vallat
driver's ca_match function. (only offender in the whole tree) ok deraadt@
2009-08-29incorrect array bounds check in I2OVERBOSE error reporting.Miod Vallat
2009-08-29typos in commentsMiod Vallat
2009-08-29Ooops, revert the last bcopy()-elimination commit. I forgot that bcopy()Marcus Glocker
does the job for us on strict alignment archs.
2009-08-28Writing 0 to the PCI_LEGACY register *is* the proper way to disable theMark Kettenis
legacy register mapping. So remove comments and #ifdef 0'ed code that questions this. ok miod@
2009-08-28OpenBSD/sparc64 can now be compiled without -traditional-cpp.Joel Sing
From jsg@
2009-08-28ofwboot can be compiled without -traditional-cpp.Joel Sing
From jsg@
2009-08-28Use fixed labels rather than generating them using defines. This allowsJoel Sing
the code to be compiled without -traditional-cpp (and is arguably easier to read). ok kettenis@ jsg@
2009-08-28remove a bunch of unused Debugger()s.Jasper Lievisse Adriaanse
ok krw@ miod@
2009-08-28kva_guardpages: make guard pages separate map entriesAriane van der Steldt
- fixes ps(1) - fixes kva deadbeef entries
2009-08-27Garbage collect two variables that where set but unused.Thordur I. Bjornsson
Tiny spacing nit. Fix a typo, pointed out by miod@.
2009-08-27introduce a flag member to struct nfs_aiod, and use flags instead of the exitThordur I. Bjornsson
and worked members. nad_worked becomes NFSAIOD_WAKEUP, which is set after if an aiod was removed from the idle list and woken up by nfs_asyncio(). don't rely on tsleep wchans being unique, that is keep going back to sleep if woken up unless the NFSAIOD_WAKEUP flag is set. fix a divide by zero crash if nfs.vfs.iothreads is set to 0, as that can happen when we recalculate the maximum buf's to queue up for each aiod. in nfs_asyncio() set the nad_mnt to NULL before returning the aiod back to the idle list in the case where we have already queued up to many bufs, otherwise we trip an assertion. minimize the time we are holding the nfs_aiodl_mtx to only when we are inserting or removing from the lists, with the exception of nfs_set_naiod() as it would make the loops more complicated and its uncommon in any case. tested by myself and deraadt@ "fine with me" deraadt@
2009-08-27syncJolan Luff
2009-08-27Radeon HD 4350Jolan Luff
2009-08-27make UDF less chatty during normal operationJolan Luff
ok krw/phessler
2009-08-27Harmless sizeof ptr bug in ppc_check_procid(); ok drahn@ kettenis@Miod Vallat
2009-08-27malloc() last two args were swapped, amazing things did not break; ok kettenis@Miod Vallat
2009-08-27syncDavid Hill
2009-08-27nVidia Geforce Go 7950 GTXDavid Hill
ok deraadt@
2009-08-27Reduce padding overhead in compressed blocks.Marcus Glocker
2009-08-27Bring in NetBSD's rev 1.45 by Matthias DrochnerJonathan Gray
'Reduce polling of the keyboard controller status by a factor of 1000. While on real hardware hardware a poll cycle takes time in the microsecond order of magnitude, a "legacy-free" system which emulates the KBC in BIOS code takes milliseconds -- I'm seeing a multi-minute delay in booting where the KBC is probed. So poll less and use delay() to compensate so that the total wait time stays about the same.' Noticeably helps some machines that do SMM based pckbc. Tested by miod on alpha glass console. ok miod@
2009-08-27More iscsi defines needed.Claudio Jeker
2009-08-26directly calling Debugger() is bad. turn these printf();Debugger(); seriesJasper Lievisse Adriaanse
into panic()'s. ok deraadt@ jsing@
2009-08-26Kernel config for the RB600. Temporary until we use the device tree toMark Kettenis
attach all devices.
2009-08-26Hack to get the right interrupt pin for the onboard vge(4) on the RB600.Mark Kettenis
I'll fix this properly when we use the device tree to configure the pci bus.
2009-08-26more bloody const crap mk brokeTheo de Raadt
2009-08-26Speedup on raid6 writes, precalculate xor lookupJordan Hargrave
ok marco@
2009-08-26Remove obsolete comment.Marcus Glocker
2009-08-26Build fake bootinfo structure based on the device tree.Mark Kettenis
Inspired by a diff from dms@.
2009-08-26Replace some stupidly used bcopy()s by direct assignment.Marcus Glocker
2009-08-26Use comconsfreq instead of hardcoded frequency. Still a bit of a hack, butMark Kettenis
this lets me run the RB600 at 400MHz.
2009-08-26Override comconsfreq and comconsaddr with values from the FTD if provided.Mark Kettenis
2009-08-26Change fdt_find_node() such that it takes a full path as argument.Mark Kettenis
ok dms@
2009-08-26Name fields in the udl_huffman struct same as on the driver side toMarcus Glocker
simplify reading.
2009-08-26Also avoid __packed struct to Huffman table in the driver side in favourMarcus Glocker
of performance. Instead generate the Huffman table with two ints. Suggested, help and OK deraadt@
2009-08-26make sure that an aiod has been removed from the nfs_aiods_idle listThordur I. Bjornsson
before inserting it back into the list. crashes debugged with help from deraadt@ who also tested this fix.
2009-08-26add commented out options for PAGEFASTRECYCLE, KVA_GUARDPAGES, shuffle VFSDEBUGThordur I. Bjornsson
around and add POOL_DEBUG as an enabled option, removing the define from subr_pool.c. comments & ok deraadt@.
2009-08-25Clearly copy the whole, and nothing but the whole, old buffer intoKenneth R Westerback
the resized buffer. From Pawel Jakob Dawidek via Max Laier via Marc Balmer via tech@. As was the previous commit where I didn't mention Pawel. 'should be olright' henning@
2009-08-25add error checkingTheo de Raadt
2009-08-25if we do not use __packed, we must write the values more carefullyTheo de Raadt
ok mglocker
2009-08-25no need for __packed; ok mglockerTheo de Raadt
2009-08-25Add missing $OpenBSD$ tag.Mark Kettenis
2009-08-25Initialize flattened device tree support if a tree was passed by the firmware.Mark Kettenis
2009-08-25Save the (potential) address of the flattened device tree. Make sure we don'tMark Kettenis
clobber %r3 before we do so. Based on a diff from dms@
2009-08-25We can treat BARs initialized to 0 as invalid now on socppc.Mark Kettenis
2009-08-25Set up bus tag for mmio. Create extents corresponding to the bus tags andMark Kettenis
pass them along when attaching the pci bus.
2009-08-25In bmac_init(), invoke bmac_transmit_packet() with the correct packet sizeMiod Vallat
(sizeof(ptr) vs sizeof(*ptr) bug). ok krw@
2009-08-25Add USB_PRODUCT_NOVATEL_EU870D that can be found in some dell d430Robert Nagy
2009-08-25regenRobert Nagy
2009-08-25add Novatel EU870DRobert Nagy