summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-09-01Make rtinit() cope when there is a more specific route available thenClaudio Jeker
the one planned to remove. Do this by going through the dupedkey list looking for the right ifa. Problem found by and OK dlg, OK henning
2009-08-30Add support for ISP2200 SBus FC cards.Mark Kettenis
2009-08-30When the `machine' commands part of the hppa bootloader were written, weMiod Vallat
were only running on the non-PCI models. Many years have passed since then... Update the bus walking code to support dino and elroy PCI bridges, in order to identify PCI graphics devices and USB controllers (in order to support USB keyboards). Also recognize com@ssio, so that high-class four digit B and C machines (and probably four digit J as well) can configure console from the boot blocks correctly. Of course, this is of questionable usefulness, since these console related routines were written with the 712 in mind, which has a castrated ROM preventing the user from configuring a serial console. Yet providing a consistent feature set never hurts. (three digit J series still need some love, due to the different way of walking the buses; to be addressed in a later commit, soon)
2009-08-30Reinstate SPLUSBCHECK checks (DIAGNOSTIC-only), but implemented as splassert(),Miod Vallat
which is exactly what it was trying to do. Tested on all *hci controllers with a bunch of usb devices by at least ckuethe@ and I.
2009-08-30lock the vnode before calling VOP_CLOSE() in msdofs_unmount().Thordur I. Bjornsson
ok krw@
2009-08-30if nfs_namei() fails, there's no ni_startdir and the pathname buffer hasThordur I. Bjornsson
already been freed, thus make the callers of nfs_namei() bail out early, instead of jumping to nfsmout as there they will try to vrele() vnodes that don't exists (NULL pointers) and free the pathname buffer. this is way nicer then adding checks after the nfsmout label. OK blambert@
2009-08-30Link in the flattened device tree for the Thecus N1200 and register it withMark Kettenis
the ftd code upon boot if the firmware didn't provide a device tree.
2009-08-30Flattened device tree blob for the Thecus N1200. The source from which theMark Kettenis
blob is created is included but you'll need the Linux device tree compiler to create it. The following command line was use for the conversion: $ dtc -V 16 -O asm -o n1200_dts.S n1200.dts
2009-08-30Use UVM_FLAG_FIXED for fixed allocations make with uvm_map() during earlyMiod Vallat
bootstrap.
2009-08-30Add some new devices. -mojMats O Jansson
2009-08-30Sync. -mojMats O Jansson
2009-08-30Change name on udl device since it matches more models. -mojMats O Jansson
2009-08-29Add forward declaration for struct to_softc such that the firmware builderMark Kettenis
compiles without warnings again.
2009-08-29Unbreak the tree.Mark Kettenis
2009-08-29Build Tigon firmware on sparc as well.Mark Kettenis
2009-08-29Glue for the SBus version of the Sun Vector Gigabit Ethernet card.Mark Kettenis
2009-08-29Split the ti(4) driver into mostly bus-agnostic code and PCI-specificMark Kettenis
attachment. Add SBus support to the bus-agnostic code.
2009-08-29The intention is to map the dvma map at a fixed address, so specifyMark Kettenis
UVM_FLAG_FIXED. Makes sparc boot with option KVA_GUARDPAGES. ok miod@, tested by deraadt@
2009-08-29remove more unneeded Debugger() calls from dev/Jasper Lievisse Adriaanse
agreed by deraadt@ ok jsing@
2009-08-29sync. -mojMats O Jansson
2009-08-29Remove unused getdevunit(), only sparc and sparc64 have a need for it.Miod Vallat
2009-08-29Some more udl devices. -mojMats O Jansson
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