summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2004-09-22Bring some enhancements and fixes to fdc(4) from NetBSD:Miod Vallat
- better state machine, will prevent "eject fd0" with an empty drive to spin. - will not attach fd children to fdc if no floppy drive is present (though the PROM usually finds this for us). - use biowait() in fdformat() instead of rolling our own. - drop 5"1/4 formats table. - cope with non 512 bytes per sector formats.
2004-09-16spacingTheo de Raadt
2004-09-16cleanup deafult locators (blah ?); please check that your most hated ↵Michael Shalayeff
architecture is still fluffy (;
2004-08-08do not reset the chip (and subsequently the phy) when unnecessary; that is,Brad Smith
for address changes, multicast filter changes, or adjusting promiscuous mode. Fixes resetting the phy for things like start/stopping tcpdump. From NetBSD tested by me, miod@, otto@ and a few others. ok deraadt@
2004-08-06rename sparc kill_user_windows() to pmap_unuse_final(). provide empty stubsTheo de Raadt
on all other architectures. remove last architecture dependent #ifdef from uvm code.
2004-08-06provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ okMichael Shalayeff
2004-07-26Remove orphaned prototypes.Miod Vallat
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2004-07-06only pull in a.out stuff if COMPAT_SUNOSTheo de Raadt
2004-06-20zx(4) support for sparc64, tested on an Ultra 2.Miod Vallat
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-08No need to update runtime in cpu_switch. It's updated in mi_switch justArtur Grabowski
after the return from cpu_switch. ok deraadt@ miod@
2004-05-30knfTheo de Raadt
2004-05-23Three years ago, Mike Frantzen invented StackGhost -- a simple tweakTheo de Raadt
to the register window spill/fill routines which made buffer overflows much more difficult to exploit. This code was integrated (and optimized) into OpenBSD/sparc, but could not be enabled because the interface changes affected gdb deeply. Mike and I (independently) failed to write gdb support, so StackGhost was left disabled. Until today, two years later.. because Mark Kettenis has written the neccessary code! Here comes the 1 line diff that enables StackGhost! Thanks Mark!
2004-05-20Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpcMark Kettenis
and m68k. ok drahn@, millert@
2004-05-12if tctrl not there, still let this compile; miod okTheo de Raadt
2004-05-10When external power is not available, the tadpole video hardware getsMiod Vallat
stuck in a weird mode, where not all acceleration functions are available, and I could not figure out how to reset the chip strongly enough to leave this mode. Try to compensate by checking whether the external power has been removed, when we set up the accelerated rasops (this will not cope with power being removed after bootup, yet).
2004-05-09Add option ISP_COMPILE_1000_FW, as done in GENERIC; recommended by mjacob@.Miod Vallat
2004-05-09Replace the event queue with a bit mask of slots needing attention, asMiod Vallat
done in stp(4).
2004-05-08In pmap_enu*(), be sure to splx() on low memory conditions.Miod Vallat
2004-05-04Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro.Alexander Yurchenko
This matches our SLIST behaviour and NetBSD's SIMPLEQ as well. ok millert krw deraadt
2004-04-19remove the GATEWAY junk thingy; at the same time, select a new fatTheo de Raadt
cluster value that noone will really need to crank.
2004-04-12removeable -> removable;Jason McIntyre
ok deraadt@ beck@
2004-04-08on RAMDISK kernels, do not compare / time against the system timeTheo de Raadt
2004-04-02remove pk from copyright, seen in netbsdTheo de Raadt
2004-03-17Make sure disklabels use at least DEV_BSIZE as their sector size.Miod Vallat
This allows the kernel to survive reading the disklabel off a 256-bytes/sector scsi device... ok deraadt@
2004-03-12commented pcmcia stuffTheo de Raadt
2004-03-10Ensure that we obey a user's ddb> boot reboot command even if the systemTom Cosgrove
is cold (during startup). This adds RB_USERREQ to sys/reboot.h, uses it in the ddb commands, and ensures that */*/machdep.c:boot() won't set RB_HALT when cold if this flag is set. ok deraadt@
2004-03-09Real, inverted, cursor.Miod Vallat
2004-03-09TyposMiod Vallat
2004-03-02In process_set_pc() and process_set_regs(), disallow unaligned pc and npcMiod Vallat
values. Workaround against PR #3663. ok deraadt@
2004-03-02Rework the card insertion/removal detection logic:Miod Vallat
- instead of queueing events each time the sense information changes, only remember that the slot needs attention - when processing a slot needing attention, decide what to do depending upon its current sense information, rather than what it was when the change was detected - handle the ``only one sensor asserted'' state happening during slow insertion or removal. This makes the driver much more reactive to insertions and removals, and also removes unnecessary attach/detach calls. ok deraadt@
2004-03-01Initialize the frame buffer when the PROM did not do this on our behalf.Miod Vallat
2004-03-01More readable DAC programming.Miod Vallat
2004-03-01rfx fits on the installation media.Miod Vallat
2004-03-01Define a wsdisplay type for rfx; ok deraadt@Miod Vallat
2004-02-29Enter rfx, driver for the SBus RasterFlex frame buffer family.Miod Vallat
Currently 8-bit only for now. This apparently completes the SBus frame buffer support list - yet if you stumble upon an unsupported SBus frame buffer, I'd love to hear about it...
2004-02-29More colormap games for 8-bit framebuffers to enjoy the inverted cursor too.Miod Vallat
2004-02-27TyposMiod Vallat
2004-02-20crank maxusers from 18 to 20Theo de Raadt
2004-02-19Kill <sys/clist.h> - nothing uses it since years.Miod Vallat
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.Ted Unangst
looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br>
2004-02-10Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGETTodd C. Miller
ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work". Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many.
2004-02-08restored & repaired wcookie support; kettenis@chello.nlTheo de Raadt
2004-02-01Trivial touches to compile with gcc 3.Miod Vallat
2004-01-27enable bpp for sun4m too; jason@ okMichael Shalayeff
2004-01-20do not put INET6 here, we want bsd.rd that fitsTheo de Raadt
2004-01-15instuction -> instructionMiod Vallat
2004-01-12typos from Jared Yanovich;Jason McIntyre
2004-01-04put INET6, rtsol, and ping6 onto media where it fits. install.sub changesTheo de Raadt
which begin to enable use of this will follow at a later time.