summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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
2008-06-09according to miod pmap_update() is not need after pmap_extract() at all,Robert Nagy
so remove it.
2008-06-09* fix the order of precedence in the divisor bits calculationConstantine A. Murenin
* correct the constant in the fanrpm formula ok deraadt
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
ok deraadt@
2008-06-09Allocate the video buffer based on the maximum frame size that's reportedRobert Nagy
by the device instead of using the statically set VIDEO_BUF_SIZE. ok mglocker@
2008-06-08more cleanup, removed unused code. we don't do LRO/RSS yet, code canReyk Floeter
be added later if we ever support it.
2008-06-08Now that all ports behave, remove the safety code doing cnpollc behindMiod Vallat
the scene around cngetc calls and whining loudly about it. This will save room on floppies (-:
2008-06-08dma sync the tx ring and post new packets to the chip once per call toReyk Floeter
the start routine instead of once per packet. From ixgb(4), also works with ix(4)
2008-06-08regenYojiro Uo
2008-06-08add following devicesYojiro Uo
- IODATA WN-G54/US (11bg) - MELCO WLI-U2-KAMG54 (11abg)
2008-06-08we don't support msi/msi-x, remove the codeReyk Floeter
2008-06-08replace strange Linux-style u8/u16/u32/u64/s32 integer types with theReyk Floeter
standard C99 uint*_t/int*_t types (i don't get why these drivers always use their own types when there is a well-defined standard).
2008-06-08If we have reached the end of the mmap frame buffer, start over againMarcus Glocker
(ring buffer). Add some more DPRINTFs to follow the queueing. OK robert@
2008-06-08Import ix, a driver for the Intel 82598 PCI-Express 10 Gig Ethernet Adapter,Reyk Floeter
based on Intel's ixgbe driver. Done on borrowed hardware since Intel was too poor to give us a card. ok deraadt@
2008-06-08Set up shutdown and powerhooks with code adapted from rt2661.Jonathan Gray
Fixes resume from suspend/hibernate problems mentioned in PR 5845.
2008-06-08syncReyk Floeter
2008-06-08add more 82598 10GbE device IDs, add "10GbE" in the existing entries.Reyk Floeter
2008-06-08Add a malloc type for ACPI and use it for _acpi_os_malloc and free.Artur Grabowski
kettenis@ ok
2008-06-08Correct the watchdog timer by moving it out from under the condition checkBrad Smith
for the IFF_OACTIVE flag. ok reyk@
2008-06-08dma sync the tx ring and post new packets to the chip once per call toBrad Smith
the start routine instead of once per packet. ok reyk@
2008-06-08don't declare foo_driver_version[] strings and turn them into defines,Reyk Floeter
nothing uses them and it saves a few bytes in the kernel. ok claudio@
2008-06-08Implement aml_str2val() ok marco@Can Erkin Acar
2008-06-08Make serial console on non-primary ports work to on i386.Mark Kettenis
tested by jbg@, "it is right" deraadt@
2008-06-08Unmapping memory from pci_mapreg_map() on detach lets usJonathan Gray
do multiple inserts/detaches as well. ok jsing@