summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-04-20fix dma map unmapping and unloading in the tx cleanup path.Reyk Floeter
ok dlg@
2009-04-20Don't map all agp memory we allocate.Owain Ainsworth
If we're just going to be making it available to userland (the X server), just use load_raw and make sure it's zeroed with BUS_DMA_ZERO. Should save $AMOUNT_BOUND_TO_GART kva. Most kernel users also write through the gart, so no mapping there either. tested by sthen and todd a while back.
2009-04-19zero temperature in acpi refers to -273,2degC -- convert to uK ↵Constantine A. Murenin
appropriately; ok deraadt marco
2009-04-19Call acpi_sleep_walk() when powering down just like when enteringKenneth R Westerback
any other sleep state. This tells acpi wake devices to not wake up the box until manual powering up resets their status. Makes my Dell GX520 stay powered off in response to 'halt -p'. In snaps for a while. ok marco@ (several times) deraadt@
2009-04-19calculate size correctly if PAGE_SIZE != ATI_PCIGART_PAGE_SIZE.Owain Ainsworth
from upstream a while back.
2009-04-19The G4X and GM45 just /had/ to have a different counter register.Owain Ainsworth
Been meaning to pull this in from upstream for ages.
2009-04-19Count number of cpus found (potentially not attached) and store thatTheo de Raadt
in sysctl hw.ncpufound; ok miod kettenis
2009-04-18Fix tyop.Michael Knudsen
ok mglocker
2009-04-17schsio_probe() reads the chip id to find out if we should attach or not.Michael Knudsen
schsio_attach() then later reads the chip id to print which device we found. I noticed that isa_attach_args has a field called ia_aux which can be used for driver specific stuff, so stuff the device id in there so we don't need to get the value from the chip again during attach.
2009-04-17Switch hme(4) over to using MCLGETI when allocating mbufs for the RX ring.Mark Kettenis
tested by okan@, sthen@
2009-04-17Add device ranking support for future sleep/wake developments.Paul Irofti
okay marco@
2009-04-16Change some parameter types from int to u_int8_t since theMichael Knudsen
bus_space_.. API uses that.
2009-04-15Remove some unused symbolic constants.Michael Knudsen
2009-04-15Remove en(4) (no manpage present, no none removed), and the midway.c glue codeOwain Ainsworth
for it. It is very unlikely this still compiles, the hardware is dead. It isn't in any arch's config file. the sparc sbus code is even commented out in files.sparc. Not to mention that the code is fucking appauling, doesn't even know that sparc got bus.h ages ago, still uses vtophys(), defines all types of functions to arch-specific hacks. I will miss the bitchy comments, though... As a note to other drivers: this is the fate that awaits you if you screw up my ctags on commonly used functions. "you have my ok" claudio@, "zap zap zap" deraadt@ If i've missed any bits, please remove them.
2009-04-15clean up the sub-driver callback mess a little.Owain Ainsworth
2009-04-15Add a bit of sanity-checking paranoiaOwain Ainsworth
2009-04-14Fixed a few the-the misspellings in comments. Skipped a bunch in ↵Janne Johansson
binutils,gcc and so on. ok jmc@
2009-04-14Convert sis(4) to MCLGETI() and make soekris suck much less. With this theClaudio Jeker
little green slug does not block userland even when hammered with twice as much traffic it can handle. Almost the same code I came up during h2k8 but now with two other bugs fixed that where exposed by MCLGETI(). Tested and OK dlg@ sthen@ and a lot of pushing by Theo.
2009-04-14Convert the waitok field of uvm_pglistalloc to "flags", more will be added soon.Owain Ainsworth
For the possibility of sleeping, the first two flags are UVM_PLA_WAITOK and UVM_PLA_NOWAIT. It is an error not to show intention, so assert that one of the two is provided. Switch over every caller in the tree to using the appropriate flag. ok art@, ariane@
2009-04-14Don't free an mbuf that's still on the TX queue. While there sanitize theMark Kettenis
function signature of bnx_tx_encap() such that people don't get weird ideas like this again. ok dlg@
2009-04-12Remove erroneous spaces.Joel Sing
From brad
2009-04-12regenMark Kettenis
2009-04-12The Intel 21154 was incorrectly named S21154.Mark Kettenis
2009-04-11Add PnP ID for PCIe host bridge.Mark Kettenis
2009-04-10Use soft interrupts to dispatch pcmcia device interrupts; this ensures theMiod Vallat
driver handlers get invoked at the right level. Parts from NetBSD.
2009-04-10Fix for PR6099, read/write of non-byte aligned IndexFieldJordan Hargrave
ok marco@
2009-04-10gasio was killed so kill protoMarco Peereboom
2009-04-09Fixed argtype for Increment/Decrement. Field args were being evaluated asJordan Hargrave
integers instead remaining a reference. ok marco@
2009-04-09white space fixesDavid Gwynne
2009-04-09Remove obsolete braces around case switch.Marcus Glocker
2009-04-09regenMarcus Glocker
2009-04-09Add DisplayLink DL-120 USB graphic chip found in theMarcus Glocker
``Century Corp. Japan Plus One LCD-8000U'' device.
2009-04-07Remove recursion from the sdmmc locking regime.Bret Lambert
In snaps for a while. Originally hacked on phessler@'s couch. Testing by many, input from jsg@ "I'm tired of seeing the Ms" deraadt@
2009-04-07dont enable checksumming. it appears to be broken on fragmented packets.David Gwynne
discovered by deraadt@, fix tested by deraadt@
2009-04-07Remove some dead and if 0ed out code in the ragedrm freelist, while i'm hereOwain Ainsworth
detypedef the buf_priv structure and do a little cleanup.
2009-04-06Convert the savage freelist over to TAILQ.Owain Ainsworth
2009-04-06Convert the mgadrm freelist code from handrolled lists to TAILQs,Owain Ainsworth
simplifying while I do it.
2009-04-06factor a bit more functionality into common code instead of repeating itOwain Ainsworth
in both drivers.
2009-04-06Actually remove the file this time...Owain Ainsworth
2009-04-06Turns out that the intel version of the heap interface isn't usedOwain Ainsworth
anywhere. And hasn't been for a long time. The ddx sets up the heap (so just always pass that call and do nothing), but nothing that touches inteldrm actually uses the other ioctls. So just kill them and have one lese thing to worry about. Still got sis and radeon using the common code though.
2009-04-06Set a first step on the road towards proper accounting of PCI resources byMark Kettenis
keeping a per-bus extent containing the address space available to the bus. Address space assigned to devices will be removed from these extents when we attach a bus. And when we try to map a PCI BAR that hasn't had address space assigned to it, we will allocate free space from this extent. This won't do anything until the parent devices actually allocate and initialize the extents. ok oga@
2009-04-06do not panic when the device is unplugged.Damien Bergamini
fix 802.11a rate set for dual-band devices (spotted by Fukaumi Naoki). + usual cleanup
2009-04-06Adjust for renaming the DEC 21554 in pcidevs.Mark Kettenis
2009-04-06regenMark Kettenis
2009-04-06Fix entry for DEC 21554 non-transparent PCI bridge (which may be used in someMark Kettenis
Compaq RAID controllers, but there are other applications too).
2009-04-06Don't bother to keep a count of irqs recieved, the os does that for us.Owain Ainsworth
2009-04-06Don't forget to TAILQ_INIT() the heap...Owain Ainsworth
2009-04-06sisdrm depends on the heap interface too, now.Owain Ainsworth
2009-04-06extra or missing blank lines.Owain Ainsworth
2009-04-06Remove the context constructor and destructor driver hooks. sisdrm's oldOwain Ainsworth
code was the only that that needed them.