summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2005-08-18Skip (trap) instruction in cpu_fork() instead of proc_trampoline().Mark Kettenis
Add special handling for init(8) in setregs(). Fixes returning from fork(2) in the child with a pending signal. ok deraadt@, art@ (screaming in agony)
2005-08-14Add more flexibility to the fast trap handlers mechanism:Miod Vallat
- add the ability to deregister a fast trap handler. - when registering a fast trap, provide an optional callback which will be invoked if we try to register a regular trap handler later; the callback will be responsible to replace the fast trap handler with a regular trap handler (and is allowed to fail). Alter audioamd(4) to take advantage of this, so that it can share its interrupt with stp(4) on SPARCclassic machines. Problem found the hard way and fix tested by Jason George; discussed and ok deraadt@
2005-08-06We do not need a char machine_arch[] constant.Miod Vallat
ok deraadt@
2005-08-03enable safte and ses on all archs that appear to have real scsi bussesDavid Gwynne
ok deraadt@ beck@ marco@
2005-07-31Get rid of unused SINCR and SSIZE constants.Miod Vallat
2005-07-31remove the config glue between the /dev entry for ses and its driverDavid Gwynne
sure deraadt@
2005-07-31Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chainChristopher Pascoe
to bpf with either an address family or other header added. These helpers only allocate a much smaller struct m_hdr on the stack when needed, rather than leaving 256 byte struct mbufs on the stack in deep call paths. Also removes a fair bit of duplicated code. commit now, tune after deraadt@
2005-07-19On the SPARCbooks, allow tctrl(4) to control the external video output,Miod Vallat
acting when the external display status changes, with the help of the pnozz(4) driver.
2005-07-17Oops, forgot to commit this file (Tadpole SPARCbook modem attachment code).Miod Vallat
2005-07-17Attach com(4) to the built-in modem found on Tadpole SPARCbooks.Miod Vallat
2005-07-17If the internal battery is missing, report it as absent rather than in anMiod Vallat
unknown state.
2005-07-17Always turn off video when the lid is closed; this behaviour was lost in r1.8.Miod Vallat
2005-07-17Do not claim this driver uses a soft interrupt in dmesg since it is not true.Miod Vallat
2005-07-14More netccitt and netns removals; OK henning, brad, mickeyUwe Stuehler
2005-07-09Do not #include "foo.h" and keep the whole file between #if NFOO >0 ... #endif,Miod Vallat
config(8) will not bring us into play unless NFOO > 0 anyway.
2005-07-09In the interrupt handlers, clear the interrupt condition explicitely;Miod Vallat
saves us a few unnecessary colormap updates.
2005-07-08The Tadpole SPARCbook S3000XT apparently needs auxio bit frobbing, in additionMiod Vallat
to a tctrl command, to turn the screen off (or back on), so deal with it. (untested)
2005-07-08Do not report the battery status as critical but absent, when the batteryMiod Vallat
is missing.
2005-07-08Declare mainbus_model as extern here so that code outside of autoconf.c canMiod Vallat
look at it (forgotten as part of the auxio commit)
2005-07-08Add power hooks to the zs devices on sun4m if they have a pwr-on-auxio2Miod Vallat
property (as found on sparcbooks). If so, frob the appropriate auxio2 bit to enable and disable the port as necessary.
2005-07-08Allow more than one auxio device to attach, and attach both SPARCbook auxioMiod Vallat
registers. However, those are handled specifically since they do not have the same meaning as the regular sun4c/sun4m auxio register. A specific auxregbisc() function is provided for explicit sparcbook operation.
2005-07-08Fix external video synchro constants.Miod Vallat
2005-07-08Partially revert r1.8 - we do not want to match on the SPARCbook auxio2Miod Vallat
registers, after all.
2005-07-02Typos in comments.Miod Vallat
2005-06-08remove netns crud.Henning Brauer
some drivers actually had hooks for SIOCSIFADDR, most just useless includes "looks good" deraadt miod brad
2005-06-01Typo in cut'n'paste abuse.Miod Vallat
2005-05-14Factorize most of the high-level logic for Sun serial keyboards inMiod Vallat
sys/dev/sun/sunkbd.c, and move the layout tables to sys/dev/sun/sunkbdmap.c. No functional changes, small sparc64 kernel shrinkage.
2005-05-06generate vim-compatible tag files, from netbsdPedro Martelletto
2005-05-03- Fix bogus asm statements; tmp1 and tmp2 need to be outputs rather than inputs.Brad Smith
- Merge in4_cksum(). From NetBSD ok miod@
2005-05-01To allow for MD override of in4_cksum()...Brad Smith
ok deraadt@
2005-05-01When parsing the bootpath, correctly handle ":foo" modifiers if they areMiod Vallat
more than one-letter wrong; fixes boot device determination with /.../ledma:tpe/le... strings (PR #4192)
2005-05-01spacing; ok miod@ deraadt@David Krause
2005-04-30start the job of making things look more alikeTheo de Raadt
2005-04-30nice docs at top of GENERICTheo de Raadt
2005-04-25csum -> csum_flagsBrad Smith
ok krw@ canacar@
2005-04-21count fpu lazy context switches; deraadt@ okMichael Shalayeff
2005-04-21correct idiom for snprintf failure handling; ok beckTheo de Raadt
2005-04-19Same vm_machdep.c on solbourne.Miod Vallat
2005-04-19As a late birthday present, a preliminary port to the Solbourne IDT systemsMiod Vallat
(S3000, S4000 and S4000DX). Currently limited to diskless and serial console, and userland has issues. Things will get better in the near future.
2005-04-19nothing uses spllowersoftclock() anymoreMichael Shalayeff
2005-04-19No more a.out symbols support in ddb.Miod Vallat
2005-04-17Do not use KERNBASE when VM_MIN_KERNEL_ADDRESS or VM_MAXUSER_ADDRESS areMiod Vallat
implied; this currently does not change anything (yet). Also, define the I/O space range in <machine/vmparam.h> rather than in <sparc/sparc/vaddrs.h>. ok deraadt@ mickey@
2005-04-17- Speedup CMP_PTE_USER_*4M by commenting out its first instruction, whichMiod Vallat
turns to be a no-op. - Check for nwindows < 8 for SUN4C kernels as well. From NetBSD.
2005-04-16do not provide round_buffer if not needed unless explained why in commentsMichael Shalayeff
2005-04-16Duplicate include file.Miod Vallat
2005-04-15make sure aligment does not return zero block sizeMichael Shalayeff
2005-04-14internal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types.Marc Espie
2005-04-14+luphyBrad Smith
2005-04-11use MD #define to choose stackgap size per-architecture. on sparc, specialTheo de Raadt
case sun4c/sun4 -- because address space is more constrained
2005-04-11Kill unused hexatoi()Miod Vallat