summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2006-12-03Clean frame buffer attachment code:Miod Vallat
- There is no need to check for buses config(8) will not let us attach to - Better P4 bus logic, which does not need to abuse device flags - Do not bother trying to print a meaningful device description when it is not connected to sbus.
2006-12-03Revert r1.35 (ether_input to ether_input_mbuf conversion), this causesMiod Vallat
unaligned accesses on some packets.
2006-12-02On frame buffers which endianness differs from the host CPU, we can not affordMiod Vallat
using ovbcopy() in the erasecols emulop, as the ovbcopy implementation might do larger-than-byte loads and store, which will not have the expected result if the source and destination addresses are not similarly aligned. Instead, roll our own byte-only ovbcopy() in this case. This is made dependent on a config(8) attribute to avoid bloating platforms which do not need this, thus frame buffers which may set RI_BSWAP in ri_flg need to depend on this attribute. Problem spotted by matthieu@ using tcsh on sparc64 console.
2006-12-02Fix ri_devcmap[] to allow WSCOL_BLACK and WSCOL_WHITE to not have to beMiod Vallat
different for sparc{,64} systems.
2006-12-02Use ri_devcmap to get corrected color values, instead of directly usingMiod Vallat
WSCOL_xxxx values.
2006-12-02Use the unpack_attr emulops instead of doing an inline rasops_unpack_attr.Miod Vallat
2006-12-02zx needs rasops8 code for emulation modes, not rasops32.Miod Vallat
2006-12-01Unbreak.Miod Vallat
2006-11-30Oops, didn't mean to increase the default msgbufsize for i386. Noticed by ↵Dimitry Andric
brad, thanks.
2006-11-30s/completly/completely/Michael Knudsen
ok brad
2006-11-30replace a bunch of ifs w/ an array scan and add a few moreMichael Shalayeff
2006-11-30Remove the macros SET_CURPCB, GET_CURPCB and GET_CPUINFO, they are only usedGordon Willem Klok
in a few places, and the MP version of GET_CPUINFO is broken. No regression in GENERIC, however GENERIC.MP still has issues.
2006-11-29Nuke all commons but one, and enable --warn-common in LINKFLAGS.Miod Vallat
2006-11-29Remove all the extern cpu_{id,model,whatever} declarations from mostDimitry Andric
stuff in arch/i386/i386. This should prevent more screwups like the one I did before in ichpcib.c... ok dlg@ kettenis@
2006-11-29Fix the major bug in ips which prevents GENERIC to attach it.Alexander Yurchenko
2006-11-29Don't print masks if we're in apic mode.Mark Kettenis
2006-11-29Add an unpack_attr function to struct wsdisplay_emulops, to match theMiod Vallat
existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers.
2006-11-29Fix cpu_model string screwup.Dimitry Andric
2006-11-29disable a gpio that is not neededTheo de Raadt
2006-11-29Use unsigned numbers for comparisons in mmmmap().Miod Vallat
2006-11-29Remove MAPPEDCOPY. It does not work and I am not convinced it is worthMiod Vallat
fixing.
2006-11-29Add commented out ips here as well.Alexander Yurchenko
2006-11-29cpu_swapin is nomoreMichael Shalayeff
2006-11-29cpu_swapin is nomoreMichael Shalayeff
2006-11-29Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (exceptMiod Vallat
for cpu_swapin() on hppa* which is kept).
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackMiod Vallat
should never be referenced outside the context of the process to which this stack belongs unless we do the PHOLD/PRELE dance. Loads of code doesn't follow the rules here. Instead of trying to track down all offenders and fix this hairy situation, it makes much more sense to not swap kernel stacks. From art@, tested by many some time ago.
2006-11-29Add a new member to struct wsemuldisplaydev_attach_args, for a frame bufferMiod Vallat
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
2006-11-29Only establish acpi interrupt if ACPI_ENABLE.Mark Kettenis
2006-11-29Only establish acpi interrupt if ACPI_ENABLE.Mark Kettenis
2006-11-29unused file and functionsMichael Shalayeff
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
ok miod@ marco@ deraadt@
2006-11-28Let est not complain about certain strange msr values on Pentium 4's. We can'tDimitry Andric
use the feature on them anyway, since we don't have enough info from Intel.
2006-11-28Support "trace /p <pid>" to show the stack trace of any process.Uwe Stuehler
(Keep in mind that $radix is 0x10 by default.); ok by many
2006-11-28fwscsi doesnt exist, so dont have a commented entry for it left around toDavid Gwynne
confuse people.
2006-11-28Implement PT_STEP.Mark Kettenis
2006-11-28Always call cyrix3_get_bus_clock in cyrix3_cpu_setup, since we mightDimitry Andric
need the bus clock later. Add bus clock case for Core cpu's. Rewrite p[34]_update_cpuspeed to make of already detected bus clocks.
2006-11-28rename scsibus_attach_args to scsi_attach_args. this can help avoidDavid Gwynne
confusing when trying to attach scsibus to a hba, since it is really meant for attaching scsi devices to scsibus. ok deraadt@ marco@
2006-11-28Don't display cpu brand string, features, etc. a second time, when booting an MPDimitry Andric
kernel on a single cpu machine. discussed with kettenis@
2006-11-28add needs-flag to allow pxaudc to compile without usbf (to get theUwe Stuehler
previous behaviour of just disabling the USB device controller)
2006-11-28enable usbf/cdcef, can be used during install (somehow)Theo de Raadt
2006-11-28Only use est and other non-acpi setperf mechanisms, if acpi is notDimitry Andric
attached. Also moves their initialization and printing of information until after the primary cpu has attached to mainbus. prodded by deraadt
2006-11-28acpi may steal the timer and speedstep functionality, in which case weTheo de Raadt
cannot io map the device. rest of the attach() functionality is still safely intact. we simply do not have to warn about mapping failing. ok kettenis
2006-11-27Added support to GENERIC for disabled acpiJordan Hargrave
2006-11-27Add disabled acpi to GENERIC and GENERIC.MP. This is required by the newMarco Peereboom
and shiny ioapic code ketennis wrote. ok ketennis, jordan, deraadt
2006-11-27For the G5 processor setperf function, don't force perflevel to 50 or 100Gordon Willem Klok
perserve the illusion of a much finer granularity of performance control. ok kettenis@
2006-11-27commit vesabios for matthieu@Gordon Willem Klok
ok deraadt, "slap it in" miod@
2006-11-27Enable kvm86.Gordon Willem Klok
ok deraadt
2006-11-27IBM ServeRAID controllers driver.Alexander Yurchenko
Way far from complete but enough to fdisk and disklabel logical drives.
2006-11-27Only use the ichpcib speedstep feature if we're running on a (Mobile) Pentium 4,Dimitry Andric
since Celerons don't support it. prodded by gwk@
2006-11-27Portuguese LK-201 layout.Miod Vallat