summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-06-13fix compilation with BNX_DEBUG.Brad Smith
2008-06-13Implement pbkdf2 in in bioctl to derive master key from a passphrase.Hans-Joerg Hoexer
ok marco djm
2008-06-13we used to use the lowest (so it is deterministic) mac address in theHenning Brauer
system for the bridge ID for stp. That worksfine unless you have two bridges in the system that talkto the same neighboring systems (switches), because the two bridges on the openbsd system would have the same ID. fix by only looking at interfaces part of the bridge and using the lowest mac address of these. works fine because stpcan only be enabled on IFT_ETHER interfaces so there is always at least one and we re-evaluate every time an interface is added or deleted from the bridge. diff was rotting in my tree for at least a year, I have no idea what triggered it really. ok reyk mk djm
2008-06-13rearrange on-disk structures to the top of the file, wrap kernel-onlyDamien Miller
parts in #ifdef _KERNEL; makes softraidvar.h usable from userland ok hshoexer@
2008-06-13When assembling an already initialized crytpo softraid, correctly copy inHans-Joerg Hoexer
mask key from userland. Thus, modify sr_crypto_get_kdf() do correclty handle copying kdf hint and/or mask key. While there, remove superflous sr_read_meta(). ok marco djm
2008-06-13Remove DEBUG #undef's we can turn it on/off in GENERIC like for allMarcus Glocker
other drivers.
2008-06-13remove rpc_auth_kerb variable, its now unused...Thordur I. Bjornsson
2008-06-13nuke a bunch of bogus ARGSUSED;Thordur I. Bjornsson
ok blambert@
2008-06-13Restore IDE_PCI_CLASS_OVERRIDE on SiI3512 SATA.Mats O Jansson
On socppc it has the subclass PCI_SUBCLASS_MASS_STORAGE_MISC so without the quirk socppc will not find its disk. -moj
2008-06-13Fixed acpiec driver, _REG method required sc_ec member set before being calledJordan Hargrave
ok @marco
2008-06-13properly indent something horridly misleadingTheo de Raadt
2008-06-13Initialize the return value in pci_probe_device() function, so that we doTheo de Raadt
not randomly skip probing for devices after a missing device. ok kettenis
2008-06-13Remove slack space for RX/TX chains since it only covers sloppy coding.Brad Smith
From davidch @ FreeBSD
2008-06-13If you have #if FOO > 0 parts of your softc beJonathan Gray
sure to #include "foo.h" in all code that uses the softc, otherwise some object files will have a different idea of how big the softc struct is. This will result in things like part of the softc, say the interrupt handler being overridden by other data. Putting printfs in the main object file will look fine as it has the right idea as to what the size is. It is only after several hours debugging that you start to figure out what the hell is going on. jsing started trying to figure out the problem and got hints from kettenis that it likely wasn't an interrupt problem, after quite a bit of head scratching with joel I eventually spotted the problem. ok reyk@ jsing@
2008-06-13Treat LINK_STATE_UNKNOWN as LINK_STATE_UP.Marco Pfatschbacher
This restores the old behaviour where we were checking for != LINK_STATE_DOWN. Fixes the ethernet to wireless failover feature and also allows trunk(4) to be used within qemu. Tested by sturm@. OK reyk@. "grumble, we should fix more drivers' link state handling" brad@
2008-06-13Cleanup a bit. Instead of doing dst = 0 in every error handling block initClaudio Jeker
it once at start instead.
2008-06-13Remove duplicate function for string to integer conversion. ok jordan@Can Erkin Acar
2008-06-13Properly handle battery insertion/removalJordan Hargrave
ok @marco
2008-06-13D-Link DWA-111, from kevlo via FreeBSD.Jonathan Gray
2008-06-13Add myself to the copyright since i fumbled around in those files, too.Marcus Glocker
OK robert@
2008-06-13regenJonathan Gray
2008-06-13D-Link DWA-111 from kevlo via FreeBSD.Jonathan Gray
2008-06-13Merge show_scsi_xs() and show_scsi_cmd() and move invocation so theKenneth R Westerback
debug output shows the xs/command before it's issued rather than displaying it on command completion. Some commands don't come back and it would be nice to see their details. While here nuke invocations of scsi_show* in umass. If you want SCSI debug output use SCSI debug options. Only affects SCSI debug output. ok marco@
2008-06-13Remove dead-end and never-used kerberos code in nfs. Future workBret Lambert
to support authentication other than AUTH_UNIX will replace this with a (hopefully) much better system. ok thib@
2008-06-13Replace one-line macro which only obfuscated the fact thatBret Lambert
the function it was named after took 4 arguments instead of 2. "get it in; get it in; get it in" thib@
2008-06-13back out stupid vnode change that was unintentionally includedBob Beck
with biomem and art has no idea how it got there. ok art@ thib@
2008-06-13Make kbd -l work for adb. -mojMats O Jansson
2008-06-13Delete vfs_bufstats() leftovers and unbreak compile with -DDEBUGRainer Giedat
Ok reyk@, "kill kill kill" thib@
2008-06-13Cleanup for aml_xcreatefield, added flags argumentJordan Hargrave
ok @canacar
2008-06-13Add some missing $OpenBSD$ tags.Kenneth R Westerback
ok drahn@ gwk@
2008-06-13Cleanup, remove old/unused functionsJordan Hargrave
ok @canacaR
2008-06-13Detect if Intel's Safer Mode Extensions (SMX) are present,Jonathan Gray
See http://download.intel.com/technology/security/downloads/31516804.pdf for more information. ok deraadt@ 'looks ok to me' djm@
2008-06-12make sure to check that a crypto volume is not yet assembled whenHans-Joerg Hoexer
retrieving the kdf blobb. Pointed out by marco. while there, use %lld instead of %d when printing b_blkno, which daddr64_t. ok marco
2008-06-12Add ral(4) at cardbus(4).Mark Kettenis
2008-06-12Poll AC because there are some crappy machines out there that need it.Marco Peereboom
2008-06-12disable debug printfs and descriptor dumpsRobert Nagy
2008-06-12Be more permissive and try to run non-branded non-static binaries if we canMiod Vallat
find their interpreter, as the linux ld.so name is unique and not likely to be found in another /emul/foo hierarchy; allows Opera to run again. Noticed by sturm@
2008-06-12Add ep(4) at pcmcia(4).Mark Kettenis
2008-06-12Add xl(4) add cardbus(4).Mark Kettenis
2008-06-12Add re(4) add cardbus(4).Mark Kettenis
2008-06-12Clead discipline pointer after delete. Found by hshoexerMarco Peereboom
2008-06-12Wrap DPRINTF around #ifdef VIDEO_DEBUG, but leave debugging on byMarcus Glocker
default for now.
2008-06-12Add malo(4) at pcmcia(4).Mark Kettenis
2008-06-12enable uvideo(4) video(4)Robert Nagy
2008-06-12Removed old AML disassembler codeJordan Hargrave
ok @marco
2008-06-12Fixed AMLOP_LOAD for _PSS on ThinkpadJordan Hargrave
ok @gwk
2008-06-12Remove now-vestigial bpos pointer from NFS. For building outgoingBret Lambert
NFS mbufs, mbufs now contain all their internal buffer state internally, the way god intended. ok thib@ testing johan@ (and possibly merdely@; this diff's been around for a bit...)
2008-06-12Enable /dev/video* for all USB capable archs. MAKEDEV bits will followMarcus Glocker
shortly. OK todd@
2008-06-12theo says: enable, enable, enable uvideo(4)Robert Nagy
Some of the cams are fairly working now and we want to see more of them in dmesgs.
2008-06-12The mmap offsets for memory buffers currently are the kernel virtualOwain Ainsworth
address. This is just plain wrong. scatter/gather on amd64 didn't work here, since char device mmap doesn't take negative offsets so higher kvas fail. Instead, prematurely import drm_memrange which is needed for the memory managers (GEM or TTM), and is used to manage GART space. Then, horribly abuse it to allocate mmap offsets, fixes up the issues. "just commit it" art@.