summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2005-01-10ledma*, and le* at ledma? will help with anteres units; miod okTheo de Raadt
2005-01-05Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - mostMiod Vallat
of the work is done in the upper layer, but they get to see the ioctl, so don't always return an error.
2005-01-04SET_PC_REGS, arches tested between me and miod.Marc Espie
2004-12-26_C_LABEL(foo) -> foo when in comments.Miod Vallat
2004-12-25Use list and queue macros where applicable to make the code easier to read;Miod Vallat
no functional change.
2004-12-24{e,}intr{cnt,names} bye-bye.Miod Vallat
2004-12-06Use uvm_grow() to account for stack growth, rather than home-grown codeMiod Vallat
or nothing. Inspired by a similar recent change in NetBSD.
2004-11-29Move the struct wsscreen_descr from a per-driver global to a per-instanceMiod Vallat
field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information. Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC).
2004-11-29Spell precede correctly.Jonathan Gray
'looks fine' millert@, krw@. ok jmc@
2004-11-28MAXSLP is not really an MD-configurable define so move it to param.h; miod@ ↵Michael Shalayeff
testing
2004-11-26Kill __HAVE_EVCOUNT, now that all architectures provide them.Miod Vallat
2004-11-19More aggressive strip flags for non debug kernels; this is a noop on someMiod Vallat
architectures, but saves a few dozen KB on alpha and ppc. ok deraadt@
2004-11-02KNF, constify structures, do not wrap the contents under #if NMAGMA > 0 asMiod Vallat
if we were still running in pre-4.4BSD config(9) times.
2004-10-08Move dev/cons.c to MI conf/files.Alexander Yurchenko
ok miod@
2004-09-29Switch sparc to evcount; ok deraadt@Miod Vallat
2004-09-28- Use ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN instead of HME_MTUBrad Smith
- Use ETHER_CRC_POLY_LE instead of MC_POLY_LE from hmereg.h
2004-09-27Do not mention a commented out strip(4), it is already in sys/conf/GENERIC.Miod Vallat
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