summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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@
2008-06-08Make et(4) detachable, help tracking down a problem thatJonathan Gray
turned out to be not calling pci_intr_disestablish() from jsing@ ok jsing@
2008-06-08aaa_dev was being set from an uninitialized variable; ok tobyTheo de Raadt
2008-06-08unused globals and defines; ok tobyTheo de Raadt
2008-06-08simplify match function; ok tobyTheo de Raadt
2008-06-08unused definesTheo de Raadt
2008-06-08decrease the buffer count after dequeueing a bufferRobert Nagy
to prevent the mmap buffer filling up, and disable the debug code that dumps the stream to a file
2008-06-07Start to queue mmap frames. Add VIDIOC_QBUF, VIDIOC_DQBUF,Marcus Glocker
VIDIOC_STREAMON for that purpose, too. OK robert@
2008-06-07Since wsmux is currently designed to act as a N inputs : 1 output device,Miod Vallat
be more coherent when handling the attachment of output devices (displays): - on attach, only claim the mux output if it has none already; - on detach, only force detachment from the input devices from this display if we are the mux output.
2008-06-07Do not stupidly dereference NULL in wsmux_set_display() is invoked with NULLMiod Vallat
as the second parameter.
2008-06-07Currently unused at the moment but at least allow it to compile.Brad Smith
2008-06-07double the static video buffer size, becauseRobert Nagy
the current one is not going to be enough for some cams
2008-06-07Add baudrate handling for fiber boards using the TBI interface.Brad Smith
ok deraadt@
2008-06-07Add link state/baudrate handling.Brad Smith
ok deraadt@
2008-06-07regenRobert Nagy
2008-06-07add nVidia GeForce 8400M GRobert Nagy
2008-06-07Move #if 0 up to include currently unused fixup tables.Marco Peereboom
2008-06-07Kill ACPIVERBOSE. It was never used and is worthless to boot.Marco Peereboom
comments jmc ok toby
2008-06-06lots of KNFMarco Peereboom
Change many return x into goto fail idiom.
2008-06-06KNFMarco Peereboom
2008-06-06Arrange our mmap buffer struct better.Marcus Glocker
2008-06-06make this more like other code (done while digging into a problem...)Theo de Raadt
2008-06-06Shrink acpi some more for floppies and while here re-enable acpi on theMarco Peereboom
floppies. Fixes crazy sony vaio kettenis has. tested by deraadt ok deraadt jordan kettenis