summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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@.
2008-06-12Fixed memory leaks for AML parserJordan Hargrave
added new stack handling interface removed delay during parsing ok @marco
2008-06-12syncTheo de Raadt
2008-06-12dreamcheeky missile launcher (duck!)Theo de Raadt
2008-06-12Pass error code via the crypto descriptor (ie. crp_etype) from cryptoHans-Joerg Hoexer
callback. ok marco@
2008-06-12wrap definitions for softraid crypto "ifdef CRYPTO". Suggested by djmHans-Joerg Hoexer
2008-06-12Get mask keying for on-disk keys from user space and keep a "hint" for keyHans-Joerg Hoexer
generation used by user space in the meta data. Actually use the masking key for encryption and decryption of on-disk key at run time. ok djm marco
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
ok thib beck art
2008-06-12Be more paranoid before disestablishing hookMarco Peereboom
ok hshoexer
2008-06-12Skip 64-bit BARs correctly when initing.Owain Ainsworth
ok marco@.
2008-06-12Bump max BARs up to 6. Needed for nouveau.Owain Ainsworth
ok marco@.
2008-06-12Add delete volume functionality.Marco Peereboom
discussed with krw, kettenis & drahn ok hshoexer
2008-06-11Add a few comments.Brad Smith
2008-06-11replace the last missing xname header before an error message in get_sdr(); ↵Constantine A. Murenin
ok deraadt
2008-06-11Zero mbreg_t (mailbox) structures allocated on the stack before fillingKenneth R Westerback
them in and sending to the adapter. Reduces probe of empty controller from 15 minutes or so to 30 seconds or so. And probably fixes other things too. Also add a few more debug statements and tweak some comments. From mjacob via FreeBSD. ok deraadt@
2008-06-11some more BCM5708S registers.Brad Smith
2008-06-11Update firmware for QLogic 2200 cards from v2.02.03 to v2.02.06 which hasKenneth R Westerback
been used in NetBSD and FreeBSD for years. Blade2002 with a 2200 still boots. From mjacob via FreeBSD. ok deraadt@
2008-06-11Add a bunch of new ciss devices from Scott Benesh at HP via FreeBSD.Jonathan Gray
ok dlg@
2008-06-11regenJonathan Gray
2008-06-11Add a bunch of new ciss devices from Scott Benesh at HP via FreeBSD.Jonathan Gray
ok dlg@
2008-06-11regenJonathan Gray
2008-06-11Some additional devices from submitted dmesgs.Jonathan Gray
2008-06-11correct long since bitrotted commentsDamien Miller
POOL_TAP5 is always 1 so unifdef it no binary change
2008-06-11Move a debug printf into #ifdef DEBUG. ok todd@, millert@.Matthieu Herrb
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
2008-06-11Update to DRM git as of a few days ago. This mostly affects theOwain Ainsworth
card-specific files with a few minor changes elsewhere. The main change to the OpenBSD specific stuff is the change to the irq api due to the vblank rework. 4 more large bugs known, I have a fix for one. Tested by many. prompted by deraadt@.
2008-06-11Remove the IDE_PCI_CLASS_OVERRIDE quirk flag for Intel (except AHCI),Brad Smith
CMD Technology, Silicon Image, VIA, SiS, Broadcom, and ATI IDE/SATA chipsets. ok jsg@
2008-06-11regenMark Kettenis
2008-06-11Add Altera vendor id, and EBus device id. This is questionable since theMark Kettenis
device id is probably a softcore on an FPGA, but this is how it shows up on a Tadpole SPARCLE.
2008-06-11Fix $OpenBSD$ for once and for allMarco Peereboom
2008-06-11implement the VIDIOC_STREAMOFF ioctl and remove some unused codeRobert Nagy
2008-06-11Move first pieces of crypto softraid into the tree. Still totallyHans-Joerg Hoexer
disabled, of course, and still work in progress. help by djm@, ok marco@
2008-06-11regenBrad Smith
2008-06-11BCM5780 also has a fiber model.Brad Smith
2008-06-11Don't get the address of the txstats pointers when doing bzero,Jonathan Gray
just use the actual pointers. Debugged into the early hours of the morning with todd, without being able to use a keyboard with ddb. Fixes a panic seen on his powerbook.
2008-06-11If bDefaultFrameIndex is 0 we should use the first bFrameIndex.Robert Nagy
In any other case use the one reported by bDefaultFrameIndex. Fix indentation while here
2008-06-10Add opaque structure to create raid.Marco Peereboom
2008-06-10add VIDIOC_QUERYCTRL to the supported ioctlsRobert Nagy
2008-06-10g/c unused defines.Brad Smith
2008-06-10formatting knits.Brad Smith
2008-06-10Some header cleanup. Remove some unused headers and shuffle some aroundBrad Smith
for consistency between drivers. "looks good" reyk@
2008-06-10Fix buffer cache pending read statistics by ensuring we can identifyBob Beck
biowait() reads that do *not* come from the buffer cache - we use the B_RAW flag to identify these at art's suggestion - since it makes sense and the flag was not being used. this just flags all these buffers with B_RAW - biodone already ignores returned buffers marked B_RAW. ok art@
2008-06-10Fix a memory leak in usbf_realloc(), and make the speed configuration arrayMiod Vallat
dynamically allocated. "commit please" deraadt@
2008-06-10Sort functions.Marcus Glocker
2008-06-10Rename access macros so that they match the driver name.Joel Sing
ok dlg@
2008-06-10reorder functions and variables in rnd.c so they are more logicallyDamien Miller
arranged. They are now layed out in four sections: 1. Master entropy pool maintenance (add_entropy_words & extract entropy) 2. Entropy crediting (add_*_randomness backend) 3. Exported kernel API: arc4random() and friends 4. /dev/*random char devices
2008-06-09Don't play games with the PCD interrupt. It delays the detection ofMark Kettenis
connect/disconnect events. From NetBSD. ok deraadt@
2008-06-09simplify math for arc4random_uniform() suggested byDamien Miller
Jinmei_Tatuya AT isc.org via jakob@ empirically verified for entire domain of upper_bound
2008-06-09Let the driver switch between read() and mmap() depending on whatMarcus Glocker
the userland application wants. OK robert@
2008-06-09oops. this change was missing from the previous commitRobert Nagy