summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-06-13Simplify ioctl handling. From Brad.Mark Kettenis
2009-06-13Fixed writes for RAID4/5, was not properly freeing Xor bufferJordan Hargrave
Cleaned up LBA calculation code ok marco@
2009-06-12Add flag for freeing ccb buffer on I/O completionJordan Hargrave
Needed for RAID4/RAID5 xor buffers ok marco@
2009-06-12Remove #if 0 code that is of no use at all. Ring overflows will actuallyClaudio Jeker
happen with MCLGETI and nothing serious at all.
2009-06-12KNF and wrap at 80 columns.Joel Sing
ok marco@
2009-06-12Allow chunks marked as offline to be used for rebuild (ie. once disk hasJoel Sing
been replaced). ok marco@
2009-06-12Added working support for raid4/raid5 softraidJordan Hargrave
Newfs is working but still debugging code exists softraid_raidp is still disabled ok marco@
2009-06-11Limit the BCM5701 B5 chipset to 32-bit mode as a workaround for aStuart Henderson
bug which causes data corruption in combination with certain bridges. Tested on BCM5701 B5 (0x105). From FreeBSD via Brad. http://www.freebsd.org/cgi/query-pr.cgi?pr=128833
2009-06-11Set the DMA read watermark to 4 on the BCM5703 chipset in PCI-X mode.Stuart Henderson
This is needed to prevent some TX timeouts. From Brad. Tested by myself on BCM5703 B0 on PCI-X 64/66
2009-06-11Simplify the ioctl handling code. From Brad.Stuart Henderson
Tested by myself and Simon Kuhnle.
2009-06-11Create a hotplug callback mechanism.Marco Peereboom
2009-06-11fix potential use of uninitialized value.Charles Longeau
found by LLVM/Clang Static Analyzer. ok marco@
2009-06-11remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok marco@
2009-06-11KNFMarco Peereboom
2009-06-11add the VIA CX800 south bridge.Kevin Lo
tested on the eNOTE VED8900. ok deraadt@
2009-06-10TypoMarco Peereboom
2009-06-10Remove (unused) CASSERT macro. Whatever it was intended to be used for, itMiod Vallat
caused severe blood damage to laboratory animals. Not to mention swine flu.
2009-06-10Re introduce the _PDC code backed out before 4.5, in addition to evaluating theGordon Willem Klok
PDC (which tells the ACPI code what we as OSPM are capable of) we also evaluate the OSC method on the acpicpu device. Original cause of problems that resulted in this getting backed out appear to be fixed by the mp_setperf change, so hopefully the third time is the charm. Tested by many. ok marco@
2009-06-10Add framework for raid 4 & 5 so that we can work in tree.Marco Peereboom
2009-06-09fix potential null dereference.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok marco@
2009-06-09AD1981HD output amps are weird. they report 63 volume steps but theJacob Meuser
first 30 do nothing. perhaps there are other codecs with such amps? (ab)use some reserved bits in the amplifier capabilities parameter to store the first volume step that actually changes the volume. problem reported and patch tested by LEVAI Daniel.
2009-06-09quirks for MacBookPro3,1 inspired by FreeBSD's snd_hda. problemJacob Meuser
reported and patch tested by Bryan Chapman. according to FreeBSD, this might be needed for other MacBookPro models but no one else has told me their MacBookPro doesn't work.
2009-06-07don't prefix the usage of a define that has a - with a -Jonathan Gray
no binary change and consistent with other usage of the macro.
2009-06-07Shave surplus space from format string.Michael Knudsen
2009-06-07fix uninitialized or undefined value returned to callerCharles Longeau
found by LLVM/Clang Static Analyzer. with a remind from oga@ about 80 cols wrap ok oga@
2009-06-06- don't mess with assert()/__assert(), use KASSERT() insteadJasper Lievisse Adriaanse
ok jsg@ thib@
2009-06-06regenYojiro Uo
2009-06-06add another UDL deviceYojiro Uo
- LCD-4300U (century corp.) ok mglocker@
2009-06-06remove unused variable prevlen and a second initialization of ifp.Stuart Henderson
adjusted from a diff from chl@; ok naddy, Brad agrees.
2009-06-06- implement support for rtl8187bMartynas Venckus
- change state properly in urtw_stop. disable interrupts, rx, and tx. fixes scanning, ifconfig down, and some other issues - fix rxgain; for ver. 2 - remove delays; that have been removed 8185 -> 8187 new one tested by jsg@, a bunch of people on tech@, and myself old one tested by nick@
2009-06-06unfuck the rest of the way. when we bind the scribble pages to theOwain Ainsworth
aperture, skip over dcache on i810 chipsets and stolen memory on later chips. I didn't notice this before because I mostly used this code with GEM code, which doesn't use the stolen memory.
2009-06-06unfuck slightly, offset was wrong.Owain Ainsworth
2009-06-06mechanical rename of ``priv'' to ``file_priv'' in the one function whereOwain Ainsworth
it had to be fucking different. This has been irritating me.
2009-06-06use BUS_DMA_ZERO instead of alloc + bzero.Owain Ainsworth
2009-06-06bring back the indians for pirofti -- handle unaligned access and put aTheo de Raadt
good estimate at the required byte swapping, bit of help from drahn ok pirofti mlarkin
2009-06-06add an interface to agp to create a bus_dma_tag over a range of theOwain Ainsworth
aperture, which will take your memory, bind it to agp, and return you the aperture address. It's essentially the same as iommu on amd64 in the way it works. This will be used by the upcoming (works but is slow and will not be enabled at first) drm memory management code for intel igp chipsets. Right now the sync function for intagp is really slow (doing a wbinvd() on every sync), this is in the process of getting fixed, but the size of the diffs in my trees was getting silly.
2009-06-06Remove the last VGA_POST defines with X86EMU. Okay deraadt@.Paul Irofti
2009-06-06Fix RCSIdsMatthieu Herrb
2009-06-06option X86EMU is how this subsystem is brought into a kernelTheo de Raadt
2009-06-06Rewrite the SIOCSIFFLAGS ioctl handling code to clean it up a bit andChristian Weisgerber
make it consistent with other drivers. No functional change. From Brad.
2009-06-06fix include pathsTheo de Raadt
2009-06-06Add vga bios repost support. Fetched from the NetBSD tree mostly.Paul Irofti
Tested on multiple i386 and it works, amd64 works also with a few exceptions that will get fixed. The initial effort of importing was done by oga@, thanks! Lots of testing and debugging by mlarkin@ and me. Okay deraadt@, oga@, mlarkin@.
2009-06-05TTheo de Raadt
ariane's new allocator gave iwi dirty memory, and made a real bug fall out. The kva was being stored in a structure hidden by a cast, but passing the "structure" corrupts subsequent arguments to bus_dmamap_load(). group effort with ariane, kettenis, and oga.
2009-06-05catch up NetBSD kern/41048.Yojiro Uo
check for a non-NULL configuration descriptor before dereferencing. ok deraadt@
2009-06-05Add support to fxp(4) for the 82552 MAC found in some variation ofChristian Weisgerber
the ICH7 chipset. Untested, but can't break anything that already works. From Brad; ok sthen@
2009-06-05tidy up promiscuous mode and multicast handling; from Brad; ok sthen@Christian Weisgerber
2009-06-05enable IPv6 receive TCP/UDP checksum offload; from BradChristian Weisgerber
2009-06-05Sanity check: we overrun the rnd_ed[] array if nbits is 32, but thatPhilip Guenthe
should be impossible given the multi-order delta logic ok deraadt@
2009-06-05%zu is not meant for size_t in the kernel. Change to %lu.Ray Lai
OK miod
2009-06-05this one tooMartynas Venckus