summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2006-06-30For 32bit sun frame buffers, tweak ri_devcmap to get the BoW palette insteadMiod Vallat
of needing different WSCOL_{BLACK,WHITE} values than 8bit frame buffers. This allows us to not special case the alloc_attr() invocations depending on the color depth, and to make WSCOL_{BLACK,WHITE} constants again in the wsemul_sun land.
2006-06-30Make routines which may set PSL_IOPL consistent wrt the securelevel forMiod Vallat
which this is allowed; ok deraadt@
2006-06-30Old typos bite the dust.Miod Vallat
2006-06-30When allocating the default rasops attribute, it is not necessary to useMiod Vallat
non-zero parameters on a color display as long as we want white on black; this was inherited from sparc but this is not necessary on these platforms.
2006-06-30Shrink internal iomap to 256KB, it's enough for all the mappings we'll needMiod Vallat
in it.
2006-06-30On OSS systems (IIfx), compute addresses relative to VIA2 rather than VIA1,Miod Vallat
it's simpler.
2006-06-30Some machines lack the virtual-dma property. In that case, go backTheo de Raadt
to the 128KB assumption, until we find out another way to determine the space. Damn.
2006-06-29Fix PMAP_PREFER and make it use VA_ALIAS_MASK to prevent me from breakingMark Kettenis
it again. ok miod@, jason@
2006-06-29No need to keep specific variables for the kernel messages colors on sunMiod Vallat
emulation, we can reuse the existing WSCOL_xxx codes, and WSCOL_BLACK and WSCOL_WHITE will point to variables anyway.
2006-06-29If invoking mapdev() with a non-aligned pa, make sure we allocate enough pagesMiod Vallat
if we cross a page boundary; really only necessary for some sun4 tricky attachments, no functional change.
2006-06-29Map the correct size for the colormap registers (not that it really mattersMiod Vallat
since this is rounded up one page).
2006-06-29make compile w/ debug; from danielcavanagh@aanet.com.auMichael Shalayeff
2006-06-29try prom mapping first, then memory mapping, then io mapping.. this worksTheo de Raadt
on v210 and on netra t1 105, good sign it will work on others. mechanism pointed out by miod, tested by dlg and djm and I
2006-06-28cleanup dmesg logging for iommu goo, make it follow the standard formTheo de Raadt
2006-06-28look at "virtual-dma" property to decide where the iommu address spaceTheo de Raadt
is, instead of having iommu_init() decide
2006-06-28keep track of what is a schizo and what is tomatilloTheo de Raadt
2006-06-27Fix interrupt mapping. This now seems to work on all machines, even withMark Kettenis
pci cards that have a pci-pci bridge and lack fcode. tested by many, ok jason@, dlg@
2006-06-27pull in files.gpio in case we want itTheo de Raadt
2006-06-27don't bother printing "{se}bus: %s incomplete" for devices missing a regJason Wright
property. They're not interesting.
2006-06-27Rewritten clock driver for 80219/80321, actually manages seperate statDale Rahn
clock and tick timer and detects missing ticks.
2006-06-26Clean up some inconsistancies in definitions around DOS MBR code. NoKenneth R Westerback
functional change. ok deraadt@
2006-06-26enable mpiDavid Gwynne
ok deraadt@
2006-06-26atop(PAGE_SIZE) -> 1, 'tis true but it gets computed faster when PAGE_SIZEMiod Vallat
is not a constant.
2006-06-26Always skip the offending instruction for fpu faults, even if it isMiod Vallat
theoretically recoverable, as there is no way we can rely on the signal handler to do this properly; consistent with other platforms, and lets a few autoconf tests in ports pass again. spotted by sturm@; reluctantly ok kettenis@
2006-06-26Enable wide targets on FAS366 esp; note that this changes the way espMiod Vallat
user-controllable device flags are parsed, be sure to rerun config(8) on your next kernel compile.
2006-06-26Use MI clock conversion code for "old" clock.Mark Kettenis
ok miod@
2006-06-26add commented out entries for bnx.Brad Smith
2006-06-26Kludge around the fact that redboot uses ELF's vaddr, however mapsDale Rahn
memory at 0, not where memory is or where we want the kernel loaded.
2006-06-26enable ne*; ok mpf who tested it, we all feel bad for youTheo de Raadt
2006-06-25fix a typo in a comment and add the comment to the sparc hme driver.Brad Smith
2006-06-25reorganize the code to be more sane.Brad Smith
ok toby@
2006-06-24Configure network devices at ipl 3, not ipl 1.Miod Vallat
2006-06-24Replace physaccess() usage with pmap_kenter_cache().Miod Vallat
2006-06-24Use pmap_enter_cache() instead of physacc() in bus_mem_add_mapping(), and letMiod Vallat
physacc() die. As a bonus, kvtop() dies too.
2006-06-24Allocate ethernet buffers as uvm pages, and map them with pmap_enter_cache(),Miod Vallat
instead of crossing fingers and expecting malloc() to return aligned and contiguous memory.
2006-06-24Add pmap_enter_cache(), similar to pmap_kenter_cache() but for managedMiod Vallat
pages, and implement pmap_enter() as a particular case of it.
2006-06-24Use pmap_kenter_cache() for device memory mapping, instead of physacc(0Miod Vallat
which bites the dust.
2006-06-23Use MI clock conversion code for "new" clock.Mark Kettenis
ok deraadt@, miod@
2006-06-23we choose more drivers/firmwares over ext2fsTheo de Raadt
2006-06-23match tomatillo varient (not yet fully working)Theo de Raadt
2006-06-23consistantly count context switches on exit; miod@ okMichael Shalayeff
2006-06-23In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesMiod Vallat
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@
2006-06-22Enable sk(4).Brad Smith
ok reyk@
2006-06-22BBC-based machines swap the two registers (good going Sun -- that is why weTheo de Raadt
don't get documentation, right?), and the clock fed into the chip can vary from model to model; help & testing from dlg
2006-06-22mpi works here too.David Gwynne
ok deraadt@
2006-06-22do not enable the gpio parent eitherTheo de Raadt
2006-06-21if machdep.kbdreset==1 and the front panel button interrupt fires, tell initJason Wright
that it's time to go sleepy-bye.
2006-06-21Only attach timer to the first counter-timer found.Miod Vallat
2006-06-21this gpio should not be enabledTheo de Raadt
2006-06-21add the machdep.kbdreset logic to sparc64 (stuff to use it is coming)Jason Wright