summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-02-13missing braces; ok marcoStuart Henderson
2009-02-13syncTheo de Raadt
2009-02-13some devices; Mikko TolmunenTheo de Raadt
2009-02-13When faking scsi commands never copy more than xs->datalen bytes.Alexander Yurchenko
2009-02-12Change microcode loaded messages to debug, this was printedJonathan Gray
after every suspend/resume cycle filling up the dmesg buffer with the same message over and over again. ok oga@
2009-02-12Fix typo; wClockFrequency -> dwClockFrequency.Marcus Glocker
From Kenji Aoyama
2009-02-12don't access undocumented register 0x82 for <= MAC06, since newerMartynas Venckus
realteks start to behave badly if we do. this should fix the widely reported re(4) issue. makes my RTL8101E usable, fixes Thomas' RTL8168C, and PR6023. tested by many this is a more conservative version of my diff from kettenis@ (does not clear PHY register 0x0b) ok kettenis@
2009-02-11Prettier fake scsi inquiry ascii strings.Alexander Yurchenko
2009-02-11- add a missing breakKevin Lo
- stop the device before the initialization - reduce delays >From FreeBSD ok jsg@, martynas@
2009-02-11Add a few missing byteorder conversion calls, tho I don't reallyAlexander Yurchenko
hope ips is usable on anything beside amd64 or i386 because of its x86 BIOS.
2009-02-10Use proper BAR on newer mfi raid cards.Marco Peereboom
From Jim Giannoules
2009-02-10do not compile with RUN_DEBUG by defaultDamien Bergamini
2009-02-10Add missing copperhead chipset support bits.Alexander Yurchenko
2009-02-10Update copyright year.Alexander Yurchenko
2009-02-10Fix null pointer for shutdown if acpi not enabledJordan Hargrave
ok marco@
2009-02-09Improve adapter type displaying.Alexander Yurchenko
2009-02-09Start on bioctl support for ips. Only adapter and volume info for now.Alexander Yurchenko
2009-02-09Protect ips_poll call with splbio.Alexander Yurchenko
2009-02-09fix uninitialized argument.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@ tedu@
2009-02-09Remove an unused define.Owain Ainsworth
2009-02-09Only print information on the writeback test if it fails. Otherwise onlyOwain Ainsworth
print if we're debugging. Nagged often enough my marco@
2009-02-09Remove the inteldrm pageflipping code.Owain Ainsworth
Deprecated and broken. Sanity checked by a few people, no problems caused.
2009-02-09Don't enable vblank if the pipe is disabled.Owain Ainsworth
Based on a patch from the intel driver maintainers (Jesse Barnes, specifically) Tested by several people on various hardware.
2009-02-08fix potential null dereferences.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok oga@
2009-02-08Fix uninitialized arguments.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok oga@
2009-02-08fix uninitialized argument, and remove newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@ canacar@
2009-02-08remove dead assignment and newly created unused variable.Charles Longeau
found by LLVM/Clang Static Analyzer. ok oga@
2009-02-08Lower debug level back, looks like i've found that data corruption bug.Alexander Yurchenko
2009-02-08Put back bzero'ing cmd structure before filling it in which was lostAlexander Yurchenko
during driver rewritting at h2k7.
2009-02-08Temporary enable full debug to make it easier to commit diffs.Alexander Yurchenko
2009-02-08ips is not a real scsi controller and not supposed to talk directly toAlexander Yurchenko
various flacky scsi hardware (at least until passthrough implemented). So reduce huge default scsibus timeout values to somewhat reasonable.
2009-02-08Use sc_print_addr() to report drive errors.Alexander Yurchenko
2009-02-08Add drive state definitions.Alexander Yurchenko
2009-02-07Unifdef __OpenBSD__, these defines don't help us to sync with NetBSDAlexander Yurchenko
anymore but make reading the code harder. ok sthen@ miod@ krw@
2009-02-07Match on native/legacy MCP79 SATA ids.Jonathan Gray
From/Tested by Laurence Tratt on an asus p5n7a board.
2009-02-07regenJonathan Gray
2009-02-07Change MC79 SATA ids to reflect which mode they are currently operatingJonathan Gray
in "legacy" SATA/AHCI/RAID instead of flagging them all as AHCI. From Laurence Tratt
2009-02-06Split sti structures into rom-related information and screen-relatedMiod Vallat
information. This is preliminary work to help eventually supporting the dual-head ELK model. Also split the initialization code in several routines, this makes the code easier to read, and makes it easier to release resources upon failure. Finally, don't forget to clear the text planes on non-console displays when initializing.
2009-02-06The new font selection logic would loop and consume all kmem on promsMiod Vallat
with only one font (such as many 712 onboard graphics). Oops again (poukram).
2009-02-06Fix crash on zaurus when sd memory card plugged by providing an attachmentAlexander Yurchenko
structure that slave devices like sbt expect.
2009-02-06- fix run_mcu_cmd(). it has the side-effect of fixing LEDs.Damien Bergamini
- fix run_rt3070_rf_write() for RT3070 - fix HW WEP for those who still care - add quirks required for RT3070+RT3020 committed over an EDIMAX EW-7711UAn (RT3070+RT3020)
2009-02-06Replace comparision between boolean expression result and an integerAlexander Yurchenko
that may confuse gcc with a simple boolean expression. ok reyk@
2009-02-06Fix kernel crash (page fault) for devices with unsorted frame index.Marcus Glocker
Problem reported by Kenji Aoyama
2009-02-05fix uninitialized var (in a code path that is not used yet).Damien Bergamini
found by chl@ using llvm/clang
2009-02-05Remove the BUS_DMA_NOCACHE flag from all azalia dma mappings.Owain Ainsworth
The fact that this has only just been implemented, and that this hardware is only found on x86 shows that this flag should not be needed for operation of this hardware. It's been here since the initial netbsd commit the code came from. "sounds good to me" jakemsr@, ok kettenis@.
2009-02-05Fix slight logic error in a previous commit.Owain Ainsworth
2009-02-05KNF, and remove a debug printf I missed.Owain Ainsworth
2009-02-05KNF, no change to behaviour.Owain Ainsworth
2009-02-05Merge the static block allocation code from {i915,radeon}_mem.c intoOwain Ainsworth
non-static code that's shared between both. While i'm here convert them to TAILQ. Eventually, both of these will die, but until then I'd rather shave the space in the kernel. Tested on radeon and intel.
2009-02-04Some systems that claim to be ACPI 2.0 apparently don't provide an XSDTMark Kettenis
address. Make the code fall back on the RSDT on those systems. From Joerg Niendorf <p3y80@internode.on.net>. Fixes PR 5986.