summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2006-12-12Fix typo in comment.Mark Kettenis
2006-12-12Use appropriate macros to decode IGN.Mark Kettenis
2006-12-11Ensure kvm86_call actually saves the curpcb instead of junk. ErrorGordon Willem Klok
introduced by myself at h2k6, thanks mickey@ and toby@ for turning me in the direction of a corrupt PCB.
2006-12-11do not bus_space_map devices which are at address 0; ok kettenisTheo de Raadt
2006-12-11change sig_atomic_t to int (was long). spotted by Alexander_Bluhm@genua.deTheo de Raadt
this is a tiny ABI change, but it is better for a handfull of reasons
2006-12-11On i386, swizzle interrupts for devices for which we don't have explicitMark Kettenis
inetrrupt routing information. ok deraadt@
2006-12-10Delay two seconds after board reset before trying to probe scsi devices.Miod Vallat
2006-12-10Allow ``flags 0'' to work to disable DMA for si(4) and sw(4) - it would getMiod Vallat
ignored previously.
2006-12-10Fix typo in intersil clock programming.Miod Vallat
2006-12-09Do not make sun terminal emulation selected by the wsemul_sun frame bufferMiod Vallat
attribute anymore; remove it and use option WSEMUL_SUN instead, which gets added to all sparc* kernels. While there, do not compile vt100 emulation on sparc* kernels, this saves 16+ KB of text. ok deraadt@
2006-12-09Enable udcf(4).Marc Balmer
ok deraadt
2006-12-09Like the earlier change to powernow-k7.c check for both the regular cpuidGordon Willem Klok
signature AND the AMD extended cpuid 0x800000001 (%eax). Tested by, krw@, Joerg Niendorf <joerg.bsd AT internode.net.au> and steven mestdagh <steven.mestdagh AT esat.kuleuven.be> ok dim@
2006-12-08Fix kernel link warning on i386 about boothowto being overridden, byDimitry Andric
removing the second definition from locore. To prevent locore from subsequently clobbering boothowto, remove clearing bss from it. The bootloader has already taken care of this. ok miod weingart deraadt
2006-12-08scsibus_attach_args not scsi_attach_args for saa inThordur I. Bjornsson
mesh_attach(). ok dlg@
2006-12-06Enable mc and mesh in RAMDISK as well, as pointed out by brad@ its prettyGordon Willem Klok
useless to not do so.
2006-12-06starfire ethernet works here nowMartin Reindl
2006-12-06Enable mesh and mc device drivers in GENERIC, booting on old world macs isGordon Willem Klok
pointless without these two. ok martin@, deraadt@ durring h2k6
2006-12-06fix some multi-line comments and printfsMartin Reindl
2006-12-05regenOtto Moerbeek
2006-12-05Implement an alternative workaround for the extent lies out of region panicGordon Willem Klok
on old world macppc machines, if the compat property of the device is bandit skip the pci_addr_fixup() call. This acomplishes what the changes in rev 1.33 that were reverted attempted to do without breaking currently supported machines. A positive side effect to this change is also working PCI cards as well as onboard devices. ok drahn@
2006-12-05Import fixcoff from NetBSD and make some changes to boot.mac Makefile andGordon Willem Klok
ofwboot including loosing some meanigless defines and repurposing XCOFF_GLUE to my own ends. These changes make it possible to boot the OpenBSD kernel on at least the Power Macintosh 9500 and 9600. No binary change in stripped ofwboot. ok drahn@, martin@
2006-12-05Allow kmem to work, might not quite be right yet, but allows basicDale Rahn
functionality. sort of ok miod@
2006-12-03Change cgeight to run the console in the monochrome overlay plane (as cgtwelveMiod Vallat
does), and only use the 24 bit color planes when running X. Not tested, but can't be worse than before - the code it replaces was busted anyway.
2006-12-03In fb_setsize(), remove dead code in the SUN4 case.Miod Vallat
2006-12-03Instead of invoking rasops_init with a wrong depth value to have someMiod Vallat
values computed better, prefer invoking it with the real thing and recomputing what needs to be afterwards. No functional change, but this allows fb.c to assume a few things about its callers.
2006-12-03Do the ri_devcmap reprogramming dance in fbwscons_init(), so that it appliesMiod Vallat
to non-console frame buffers as well.
2006-12-03Initialize more fields of the proto disklabel before invoking readdisklabel(),Miod Vallat
to pass its recent sanity checks.
2006-12-03Enable all color planes on attach and wait for retrace to program theMiod Vallat
colormap, this finally makes color work.
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