summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-02-16Be a litte bit more paranoid and validate the APIC table before committingMark Kettenis
to APIC mode. tested by many ok marco@
2009-02-16Kill ring.high_mark. it's unused.Owain Ainsworth
2009-02-15The core drm code calls drm_irq_uninstall() when needed at lastclose.Owain Ainsworth
Due to the fact that most of the drivers didn't keep their mmio regions mapped from attach, all irq-using drm drivers have a hook in lastclose() to remove the irq before it unmaps its registers. Since now they all keep them mapped, this isn't an issue. Remove the redundant calls.
2009-02-15dev_priv->irq_enabled is only set to zero and then ignored. kill it.Owain Ainsworth
2009-02-15radeon_do_cp_resume was only called in one place (and that function justOwain Ainsworth
did that one function call), so instead inline it in place.
2009-02-15the body of radeon_do_cp_flush() has been if 0ed out forever. so removeOwain Ainsworth
it and just remove it from the only place it was called.
2009-02-15Some knf nits.Owain Ainsworth
2009-02-15destatic and deinline. return type on line before rest of functionOwain Ainsworth
declaration. no binary size change.
2009-02-15on IGPGART chipsets, map the pcigart table uncached. This fixes some bugs forOwain Ainsworth
freebsd and linux, and i'm assured by an amd employee that it is needed. With this diff the RS690 at phesslers@'s work work the first time you boot it, you can even restart X to your heart's content. However, after a reboot it goes back to not working. I've not managed to rule out buggered hardware yet, so anyone with a RS690 chipset would make my very grateful by checking if the same thing happens there. RS480 also needs this, but seems to still be broken.
2009-02-15for the sake of correctness bus_dmamap_sync when necessary for theOwain Ainsworth
hardware-status-page.
2009-02-15Remove some ifdeffed out debugging code that I'm not so fond of.Owain Ainsworth
2009-02-15Remove some dead and unneeded defines, types and prototypes.Owain Ainsworth
2009-02-15Make the pcigart functions return 0 on success and an errno on failure,Owain Ainsworth
instead of 1 on success and zero on failure. I hated that twisty logic.
2009-02-15Split out the switch statement that writes the pcigart table entry intoOwain Ainsworth
a separate function. Makes this code a lot easier to read.
2009-02-15Remove drm_pci_alloc and associated definitions.Owain Ainsworth
2009-02-15Convert intel hardware-status-page allocation over to new dmamem api.Owain Ainsworth
2009-02-15convert drm_scatter code over to using the new dmamem api.Owain Ainsworth
removes the custom code in there, so shrinks the kernel by a few bytes. Convert other code to deal with data structure changes.
2009-02-15convert the pcigart case where the gart table is in system memory overOwain Ainsworth
to use the new api. More cleanup to this file coming soon.
2009-02-15Convert CONSISTENT maps over to dmamem api.Owain Ainsworth
2009-02-15convert drm_addbufs_pci over to new dmamem api.Owain Ainsworth
2009-02-15Convert machdrm over to new dmamem api.Owain Ainsworth
2009-02-15introduce drm_dmamem_alloc() to allocate dma memory with bus_dma.Owain Ainsworth
The next few commits will convert calls to drm_pci_alloc (which I hate) over to this new api, and convert other handrolled stuff over too. First part of my cleaning up bus_dma useage in drm.
2009-02-15do not check malloc return value against NULL, as M_WAITOK is usedCharles Longeau
ok krw@ miod@ (some months ago)
2009-02-15change M_WAITOK --> M_WAITOK | M_CANFAILCharles Longeau
with help from miod@ ok miod@ oga@
2009-02-15attach the Intel WiFi Link 100 and 6000 Series (though no firmwareDamien Bergamini
is available yet.) branch the ampdu_{tx,rx}_{start,stop} callbacks too. remove code that is only needed for evaluation/test boards.
2009-02-15regenJonathan Gray
2009-02-15Radeon HD 3100/3300 and Intel X58 ids.Jonathan Gray
2009-02-15avoid possibly using an uninitialized variable.Jacob Meuser
problem found by chl@, fix tested by jasper@.
2009-02-14this was not even test compiled without VLAN supportTheo de Raadt
2009-02-14remove dead assignments and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok fgsch@ krw@
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