summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-01-06Use VM_MAX_KERNEL_ADDRESS instead of KERNEND in pmap_growkernel().Mark Kettenis
2007-01-06Add commented out ISA entries.Miod Vallat
2007-01-06Preliminary support for the hp300 single ISA slot found in 4xx `t' models.Miod Vallat
Everything works well but interrupts, where no two devices causes the frodo chip to behave in the same way... (polling will work nicely)
2007-01-06Turn bus_space_tag_t into real structures containing a bunch of functionMiod Vallat
pointers, to be used for the various bus_space operations. intio devices no longer need to pass an intiobase-relative address to bus_space_map.
2007-01-06Propagate bus_space_tag_t through device attachment args structures, ratherMiod Vallat
than having them build their own. No functional change.
2007-01-04Remove some unreachable code.Mark Kettenis
ok jason@
2007-01-03shorten dmesg a bitMartin Reindl
2007-01-03Fix mbg comment: time base -> radio clocks.Marc Balmer
2007-01-03Change IF_DEQUEUE to IFQ_DEQUEUE for ALTQ, and some purely cosmeticGordon Willem Klok
0 -> NULL fixes. From brad@ Tested on PM 9600MP.
2007-01-02Use bus_space_write_region_4() instead of doing the same thing bit byTom Cosgrove
bit (well, uint32 by uint32). Inspired by a claudio commit to malo.c. Still disabled (awaiting a code review), but works for me here. ok claudio@
2007-01-02Issue the BIOS "check for keystroke" call before "get keystroke", asTom Cosgrove
now required on i386 for Intel Macs. Bump versions of boot, cdboot and pxeboot accordingly. Reminded by deraadt@.
2007-01-02Fix the keyboard problem seen on Intel Macs, where only the firstTom Cosgrove
keypress is seen by boot. It appears that on the Intel Mac, we have to issue the "check for keystroke" BIOS call before the "get keystroke" call will get it (unlike any other BIOS I have seen in over 20 years). It would not have been possible to fix this problem without the donation from Steven N. Fettig (steve (at) anywheretechnology.com); many thanks. Bump versions of boot, cdboot and pxeboot accordingly. Testing kettenis@, otto@, and others; ok weingart@.
2006-12-31Cover the other case we need to unload the dmamap, in espdmaintr(),Gordon Willem Klok
While here fix some spacing too. Bus probing and some commands such as eject tested on a Power Macintosh 9600, still unable to mount a cdrom on a SONY CD-ROM model CDU-8003A.
2006-12-31Some spaces to tabs and cosmetic tweaking of the code,Gordon Willem Klok
From brad@. Lots more spacing cleanup by myself. Tested on Power Macintosh 9600
2006-12-30Remove __BUS_SPACE_HAS_STREAM_METHODS, the stream methods are a netbsd-ism.Claudio Jeker
discussed with miod@ who has the same changes hiding in one of his trees.
2006-12-30Save pcb in dumppcb when dumping core.Mark Kettenis
ok miod@
2006-12-29Change the comment for mbg(4) to "radio clocks" here, too.Marc Balmer
2006-12-29Avoid void * arithmetic, okay deraadt@, suggestions from millert@Pedro Martelletto
2006-12-29Fix another 'tripple' (not surprising, since this was copied from theTom Cosgrove
i386 code that I fixed earlier). Noticed by Gregory Steuck (greg (at) nest (dot) cx); thanks.
2006-12-29Change the comment for mbg(4): Use "radio clocks" instead of "time base".Marc Balmer
ok fkr
2006-12-29Give the UltraSPARC-III its own version of dcache_flush_page(). Fixes problemsMark Kettenis
with svnd(4). Now you can do a full mkr on a v210 (and a blade1k if you're lucky).
2006-12-28Support for ST16C654 chips, however these aren't detected as such, so theMiod Vallat
attachment code has to know better for now; from Alexei G. Malinin (alexei.malinin@inetcomm.ru)
2006-12-27Patch a few more D-cache flush instructions on UltraSPARC-III.Mark Kettenis
ok miod@
2006-12-27pnozz is initialized by the prom in 8bpp mode, so don't bring high-depthMiod Vallat
rasops code; 3.5KB off RAMDISK kernels.
2006-12-27Add code to change video mode (resolution and color depth) on the fly forMiod Vallat
pnozz(4), when switching between emulation (i.e. text console) and mapped (i.e. X11) modes. Geometries different than 800x600 are only available on the external video port, with the internal panel blanked. Currently this mode is compiled in, until an interface allows the X server and the kernel to settle on which one to use. Due to the internal panel blanking requirements, all of this is only available if tctrl(4) is configured in, which is the case for GENERIC but not for installation media kernels (who runs X11 with installation media anyway?) Most of this has been written 18 months ago, it was just lacking a final touch...
2006-12-27Switch new new syscall ABI, now passes the syscall number in r12 instead ofDale Rahn
in the swi instruction. elminates an illegal userland reference from the kernel also elminates a bunch of code. This is a flag day for binaries from before the middle of November.
2006-12-26There is a single 'p', not a double, in 'triple'.Tom Cosgrove
2006-12-24Define PROC_PC. Then, since profiling information is being reported inMiod Vallat
statclock(), do not bother doing this in userret() anymore. As a result, userret() does not need its pc and ticks arguments, simplify.
2006-12-24Check for want_resched when processing AST and nowhere else. But then, whenMiod Vallat
doing so, do not check for signals - userret() will do this.
2006-12-24change schizo/psycho interrupts to be xname:what instead of ugly namesTheo de Raadt
seen previously; discussed with kettenis
2006-12-23do not mix & and || badlyTheo de Raadt
2006-12-23adapt to new two-level sensor api; Constantine A. MureninTheo de Raadt
2006-12-23On UltraSPARC-III, patch some crucial D-cache flush instructions, andMark Kettenis
enable the cache. ok jason@, miod@
2006-12-23Provide sparc64-specific DT_XXX constant.Mark Kettenis
ok miod@
2006-12-22A more complete fix for perf status MSR's (on e.g. Core 2 Duo X6800),Dimitry Andric
that specify equal highest and lowest clock ratios. EST is now silently disabled on these, as was already done for lowest clock ratios that are zero (on e.g. a bunch of Pentium 4's). Other weird MSR's are still reported, because we first want to know about them, before we decide how to handle them.
2006-12-21Quick fix for Core 2 Duo X6800, which reports an invalid setperf MSR,Dimitry Andric
with the same high and low speed, leading to a divide by zero error. A more complete fix will be committed later. Do it now, deraadt@
2006-12-21'tranfer' -> 'transfer' in comments.Kenneth R Westerback
2006-12-20Decalre extern int cpuspeed in sys/arch/amd64/include/cpu.h like cpuspeedGordon Willem Klok
is declared in the equivalent file on i386 and delete the repeticious declarations already scattered in a few places. Thanks to Will Backman for letting me test this on his machine, ok mk@
2006-12-20Don't bail out on a bad interrupt line if we have a valid apic interrupt pinMark Kettenis
for a pci device.
2006-12-20"#ifdef is a tool of the weak!"Gordon Willem Klok
Rename pentium_mhz to cpuspeed which is consistant with amd64 making shared ACPI code less nasty. ok marco, deraadt
2006-12-20Enable recursive interrupts on armish. nudge by deraadt@Dale Rahn
2006-12-20acpi fits when we decide that it is more important than ahc(4) adaptecTheo de Raadt
scsi support (note that ahd was never even there...).
2006-12-20acpi fits, when we trade it primarily for the very large rtw(4) driver.Theo de Raadt
this product is relatively rare, and way more laptops will need acpi than need the rtw driver
2006-12-20acpi (disabled) fits... when we trade it for the rarely used i2o controllers,Theo de Raadt
wi(4) [this is a server-style install media], and eisa bus support.
2006-12-20acpi (disabled) just happens to fitTheo de Raadt
2006-12-20rum fitsTheo de Raadt
2006-12-18fix device names and typos in commentsMartin Reindl
2006-12-18sti@pci there too, why not.Miod Vallat
2006-12-18Add support for pci-based sti devices. ok mickey@Miod Vallat
2006-12-18Change sti attachment to pass an array of base addresses for the sti regions,Miod Vallat
instead of using the rom mapping for region #0 and the device mapping for region #1. This will allow sti devices on which regions may be relative to different origins to attach (to be used very soon). ok mickey@