Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-04-22 | When starting up idle, explicitly set p_cpu and the peg flag for the | Artur Grabowski | |
idle proc. p_cpu might be necessary in the future and pegging is just to be extra safe (although we'll be horribly broken if the idle proc ever ends up where that flag is checked). | |||
2009-04-22 | Only report the IP number in sysctl hw.model; vendor and machine name are | Miod Vallat | |
now reported in hw.vendor and hw.product. | |||
2009-04-22 | dont need to zero the tx pkt pool structure before initting it now that | David Gwynne | |
pool_init does its job properly. | |||
2009-04-22 | initialise the constructor and destructor function pointers to NULL | David Gwynne | |
in pool_init so you the pool struct doesn't have to be zeroed before you init it. | |||
2009-04-22 | remove a meaningless sensor.desc; ok deraadt | Constantine A. Murenin | |
2009-04-22 | replace arrays of dmamaps and mbuf pointers used to manage packets | David Gwynne | |
on the tx rings (one mbuf ptr/dmamap array entry was created for every tx descriptor slot at attach time) with a dynamically grown list of mbuf pointers and dmamaps. bnx used to have 512 dmamaps/mbuf pointers for the tx ring, now my system is running with 8 under moderate load. the big bonus from this is that the dmamap handling is greatly simplified. reyk@ likes this a lot | |||
2009-04-21 | Switch aps(4) to use timeout_add_msec() instead of timeout_add() with a | Michael Knudsen | |
calculation of ticks. Saves 26 bytes. ok oga `fine' deraadt | |||
2009-04-21 | Simplify PCI config space access code. There is no way we're ever going to | Mark Kettenis | |
see the ancient mode 2 on machines capable of running OpenBSD/amd64. ok deraadt@, toby@, oga@ | |||
2009-04-21 | add a sg_dma backend for amd64 bus_dma. This is a lot more clever about | Owain Ainsworth | |
mapping to the gart than the old code, and shouldn't conflict with bouncebuffers when they're added. This is essentially the sparc64 iommu code that's been modularised a bit so I can eventually use the same code for agp-based dma for memory managed drm drivers. Now, this would overflow ramdiskA, so iommu and sg_dma are now #ifndef SMALL_KERNEL. ok kettenis@, marco@. SMALL_KERNEL discussions with deraadt. | |||
2009-04-21 | tweak the whitespace in the softc a bit to make it easier to read. | David Gwynne | |
2009-04-21 | sync | Theo de Raadt | |
2009-04-21 | new ftdi; 8U232AM4; Takanori Watanabe spotted it | Theo de Raadt | |
2009-04-20 | Some recent IOC3 do not have Dallas timekeepers, so perform a few more tests | Miod Vallat | |
before deciding to attach dsrtc. | |||
2009-04-20 | fixed style, no binary change | Ariane van der Steldt | |
2009-04-20 | bigmem is not tweakable by config(8), it never was. | Reyk Floeter | |
ok oga@ | |||
2009-04-20 | unbreak EHCI_DEBUG - usbd_dump_pipe() is only defined if USB_DEBUG is | Reyk Floeter | |
also true. no binary change without EHCI_DEBUG. ok jsg@ | |||
2009-04-20 | amas device for amd64, describes the physical memory layout on AMD64 CPU. | Ariane van der Steldt | |
Replaces pchb with amas for the AMD64 address map. amas0 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 Currently disabled (causing pchb to attach instead). ok art@ | |||
2009-04-20 | when transmitting packets, put the dmamap we used for the packet into the | David Gwynne | |
last descriptor slot in the ring. the tx completion code expects the dmamap to be there so it can unload it. ok reyk@ | |||
2009-04-20 | fix dma map unmapping and unloading in the tx cleanup path. | Reyk Floeter | |
ok dlg@ | |||
2009-04-20 | Make pegging a proc work when there are idle cpus that are looking for | Artur Grabowski | |
something to do. Walk the highest priority queue looking for a proc to steal and skip those that are pegged. We could consider walking the other queues in the future too, but this should do for now. kettenis@ guenther@ ok | |||
2009-04-20 | Don'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-20 | Add a BUS_DMA_ZERO flag for bus_dmamem_alloc() to return zeroed memory. | Owain Ainsworth | |
Saves every damned driver calling bzero(), and continues the M_ZERO, PR_ZERO symmetry. | |||
2009-04-20 | add the UVM_PLA_ZERO flag for uvm_pglistalloc to make it return zeroed | Owain Ainsworth | |
pages. "go for it" miod@ | |||
2009-04-19 | zero temperature in acpi refers to -273,2degC -- convert to uK ↵ | Constantine A. Murenin | |
appropriately; ok deraadt marco | |||
2009-04-19 | Enable schsio(4) everywhere to get it tested. | Michael Knudsen | |
``please commit'' deraadt | |||
2009-04-19 | Call acpi_sleep_walk() when powering down just like when entering | Kenneth 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-19 | calculate size correctly if PAGE_SIZE != ATI_PCIGART_PAGE_SIZE. | Owain Ainsworth | |
from upstream a while back. | |||
2009-04-19 | The 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-19 | For consistency, make sure that all archs that use the same pattern | Owain Ainsworth | |
always increment uvmexp.softs while inside the lock. While i'm here, make alpha's dispatch loop look like the rest. "sure" miod@ | |||
2009-04-19 | Mutexes for arm and sh softinterrupts. | Owain Ainsworth | |
ok miod@ | |||
2009-04-19 | On Octane, force a nonzero _dma_mask value so that we do not risk trying to | Miod Vallat | |
handle a mapping partly in, and partly out the direct DMA window, on systems with > 2GB physical memory. | |||
2009-04-19 | Attach the 1-Wire devices early, and pick our partnumber; based on this | Miod Vallat | |
partnumber, decide what components of the IOC3 really are available, and how many interrupts to register. Based on knowledge found in Linux source code, only tested on full-blown IOC3 devices so far. | |||
2009-04-19 | Correctly handle bus_dma_tag with _dma_mask == 0. | Miod Vallat | |
2009-04-19 | Parse and display the part number and the serial number, instead of falsely | Miod Vallat | |
printing the part number as the serial number. | |||
2009-04-19 | Count number of cpus found (potentially not attached) and store that | Theo de Raadt | |
in sysctl hw.ncpufound; ok miod kettenis | |||
2009-04-19 | Rename max_cpus to ncpusfound and compute it regardless of option | Miod Vallat | |
MULTIPROCESSOR. | |||
2009-04-19 | Count number of cpus found (potentially not attached) and store that | Theo de Raadt | |
in sysctl hw.ncpufound; ok miod kettenis | |||
2009-04-19 | Switch the softinterrupt code on x86 over to mutexes instead of | Owain Ainsworth | |
simplelocks + splhigh(). First part of making it possible to make mpsafe softinterrupts. "oh yes, definitely" miod@ | |||
2009-04-19 | Use correct device index for Ethernet interrupt handler. | Joel Sing | |
2009-04-19 | Add a new EX_FILLED flag to make extent_create() create an extent map that | Mark Kettenis | |
has all space allocated such that we can make holes in it using extent_free(). ok miod@ | |||
2009-04-19 | Fix interrupt mapping for devices behind PCI-PCI bridges. | Mark Kettenis | |
ok miod@ | |||
2009-04-19 | Add heuristics to tell IP27 and IP35 apart, as they will need to be handled | Miod Vallat | |
differently at times. | |||
2009-04-19 | A much more reliable logic to find out the second interrupt of the ioc boards. | Miod Vallat | |
2009-04-19 | Fix typo pointed out by a couple of people. | Mark Kettenis | |
2009-04-18 | Attach to IP35 Xbridge too. | Miod Vallat | |
2009-04-18 | Attach pci busses with pba_bus being zero, and not our bridge unit number, | Miod Vallat | |
these are completely unrelated as long as there is only one pci bus per bridge. | |||
2009-04-18 | Fewer hardcoded values and simpler code in ip30 interrupt handling. | Miod Vallat | |
2009-04-18 | Simplify ethernet interrupt dispatching, since it is not shared with anything | Miod Vallat | |
else. | |||
2009-04-18 | Make "route(8) change" aware of MPLS. | Michele Marchetto | |
It is now possible to change routes' MPLS parameters via route change. ok laurent@, ok and input claudio@ | |||
2009-04-18 | Fix tyop. | Michael Knudsen | |
ok mglocker |