summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2009-05-21The only value that d_npartitions should have is MAXPARTITIONS.Kenneth R Westerback
2009-05-19Seperate out BSDI and SYSV syscall gate setup, so if we don'tTobias Weingartner
have one or the other option, we won't get said kernel entry point. Ok oga@
2009-05-18Add missing breaks so we don't fallthrough intoJonathan Gray
unwanted matching logic. ok oga@ deraadt@ miod@
2009-05-16Enable udl(4) by default for amd64, i386, and macppc.Marcus Glocker
OK deraadt@, kettenis@
2009-05-15Always subregion the main PCI I/O extents. This will handle things properlyMark Kettenis
when we pass the main PCI I/O extents to the secondary bus of subtractive decode brigdes.
2009-05-12uld(4) works on i386, too. Disabled in GENERIC by default.Marcus Glocker
2009-05-07Move amas device from arch/amd64 to dev/pci and enable it in i386 as well.Ariane van der Steldt
amas defaults to disabled on both amd64 and i386. "Go for it!" kettenis@
2009-04-30add support for passing db_console from the bootloader to the kernel.David Gwynne
based on the same change in amd64.
2009-04-29Extend pciio extents to cover the while 32-bit address space. The processorMark Kettenis
can only address the first 64K but BARs can contain garbage and addresses beyond the end of the extent would cause a panic.
2009-04-28Simplify rbus_machdep.c, and make it work more reliable behind PCI-PCI bridgesMark Kettenis
by using the pci resource accounting extents.
2009-04-28put vlan support onto these mediaTheo de Raadt
2009-04-27Revert mtx_enter_try. It didn't compile on hppa, it doesn't compile onMark Kettenis
landisk, and the sparc implementation is obviously wrong. That's where I stopped looking, so who knows what else was broken. A simple comparison of the existing mtx_enter with the new mtx_enter_try would have told anybody.
2009-04-25Enter mtx_enter_try. In part for completeness, things may startTobias Weingartner
using this soon(ish). Ok oga@, sorta yes kettenis@.
2009-04-24Enable berkwdt(4) now. It'll make it easier for people to test it.Michael Knudsen
2009-04-24Add berkwdt(4), a driver for Berkshire Products PCI PC Watchdog writtenMichael Knudsen
by Wim Van Sebroeck. Commented out in GENERIC but Heriberto Molina is getting devices for developers so we can maintain this more easily. Many thanks to both! Man page will follow later. ``don't hold back for man page'' deraadt
2009-04-23-v was printing some information which is irrelevant or duplicate. ThisTheo de Raadt
shrinks the output of installboot by a few lines.
2009-04-20Add 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-19Enable schsio(4) everywhere to get it tested.Michael Knudsen
``please commit'' deraadt
2009-04-19For consistency, make sure that all archs that use the same patternOwain 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-19Count number of cpus found (potentially not attached) and store thatTheo de Raadt
in sysctl hw.ncpufound; ok miod kettenis
2009-04-19Switch the softinterrupt code on x86 over to mutexes instead ofOwain Ainsworth
simplelocks + splhigh(). First part of making it possible to make mpsafe softinterrupts. "oh yes, definitely" miod@
2009-04-15fix properly; size gets decremented while we check the segments, so save it soOwain Ainsworth
when we setmapsize it's not zero. *sigh*
2009-04-15make load_raw do the same as the others and set mapsize and nsegs toOwain Ainsworth
zero so that we return an empty map on error.
2009-04-15bus_dmamap_load_raw didn't set map->dm_mapsize on successful load.Owain Ainsworth
I just spent five hours looking in the wrong place because of this.
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-14enable ix(4).Jonathan Gray
ok reyk@
2009-04-13Ignore zero-sized regions from the BIOS memory map when reserving root PCIMark Kettenis
bus address space. Fixes a problem reported by david@.
2009-04-11Create extents for resource accounting on the root PCI bus and populate themMark Kettenis
based on the BIOS memory map.
2009-04-11There is no support for building multi-socket machines in AMD Family 11hMark Kettenis
processors, so the registers to configure addition HyperTransport links are absent. Don't try attaching addition pci busses on these processors to avoid probing non-existant registers.
2009-04-09in bus_dmamap_load_raw, only map the requested number of bytes into theDavid Gwynne
dmamap rather than all the bytes that are described by the sg list we're mapping. tested on iwn by me and beck@
2009-04-09unrevert marco's revert of my bus_dmamap_load_raw change now that i foundDavid Gwynne
the bug in it. bugfix will be committed next. make bus_dmamap_load_raw respect the constraints of the dmamap we're loading the raw memory into, particularly the segment size constraint.
2009-04-08Rever _raw change from dlg because it breaks iwn.Marco Peereboom
ok oga
2009-04-04make bus_dmamap_load_raw respect the constraints of the dmamap we'reDavid Gwynne
loading the raw memory into. similair to the change made to src/sys/arch/amd64/amd6/bus_dma.c 1.18
2009-03-31bzero pci attach argsMark Kettenis
2009-03-30make the code look the same; ok kettenisTheo de Raadt
2009-03-30don't use pmapflags unitialized. Fixes envy(4) consuming 80% CPUAlexandre Ratchov
when recording ok oga, deraadt
2009-03-29make various strings ("can't map mem space" and similar) more consistentStuart Henderson
between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod.
2009-03-26Remove cpu_wait(). It's original use was to be called from the reaper soOwain Ainsworth
MD code would free resources that couldn't be freed until we were no longer running in that processor. However, it's is unused on all architectures since mikeb@'s tss changes on x86 earlier in the year. ok miod@
2009-03-24link otus(4) to the build on i386 and amd64.Damien Bergamini
2009-03-15Introduce splsoftassert(), similar to splassert() but for soft interruptMiod Vallat
levels. This will allow for platforms where soft interrupt levels do not map to real hardware interrupt levels to have soft ipl values overlapping hard ipl values without breaking spl asserts.
2009-03-10remove the _BUS_DMA_PRIVATE define from amd64 and i386.Owain Ainsworth
a define needed to get to ``private'' functions that needs to be defined 5 or more times isn't much use and may cause namespace issues anyway. Other archs will probably follow. Discussed in portugal. "Hell yes" weingart@, ok kettenis@, no objections miod@
2009-03-10enable urtw(4)Kevin Lo
ok jsg@
2009-03-07When allocating memory in bus_dmamem_alloc() with uvm_pglistalloc(), do notMiod Vallat
try to be smart for the address range, uvm_pglistalloc() is smart enough nowadays.
2009-02-26Add a two new ioctls to the apm(4) interface.Owain Ainsworth
APM_IOC_{SUSPEND,STANDBY}_REQ: This is to fix an issue with apm suspend where a call to zzz suspended the machine immediately, not giving anyone listening for apm events (other than apmd) a chance to deal with the upcoming change. This hit X hard since the introduction of drm, since it needs to have time to idle the 3d engine and otherwise get the device into a recoverable state. Such things are needed until we support modesetting in the kernel. Now, instead of forcing a suspend, using ioctl sends out an event similar to if you had put the lid down, giving all userland applications a chance to reply. tested by sthen@ and beck@, especial thanks to sthen for sitting there while I tried to debug this remotely, I owe him beer. Prompted by and ok deraadt@
2009-02-25enable ale(4) on both i386 and amd64Kevin Lo
ok deraadt@
2009-02-19suspend/resume bits so that we can develop this in tree. This is disabled.Marco Peereboom
code from mlarkin and me help from art,toby,jordan and several others ok jordan, go for it deraadt
2009-02-17something has to go... because the piggy developers bloated the kernel againTheo de Raadt
2009-02-16Cancel the automatic boot when you hold ctrl to skip boot.conf.Stuart Henderson
"I like it" deraadt "sweet" tedu "love it" marco
2009-02-16Core i7 chips don't have MSR_TEMPERATURE_TARGET register, and blow upKenneth R Westerback
if attempts are made to read it. So read MSR_TEMPERATURE_TARGET only when ci_model == 0xe. Found when my Core i7 box blew up. FreeBSD allows a few more chips but this allows my box to boot. ok jsg@
2009-02-16Store conditionally extended cpuid family/model valuesJonathan Gray
in seperate variables in struct cpu_info instead of duplicating the process of extracting it from the signature. Use this value when determining the bus clock on P6/family 0x6 chips, which fixes speedstep on bernd@'s ThinkPad x200s. Discussed with several, 'just do it' weingart@, ok mikeb@