summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2006-08-11An old dvorak typo was lurking here.Miod Vallat
2006-08-01make this more like a real cylon mode (no pauses at the end!)Theo de Raadt
2006-07-27Compile all kernels with -Wstack-usage-larger-than-2047, now that allMiod Vallat
offending code has been taken out and shot. ok deraadt@
2006-07-25Do not bother reading the existing colormap on attach, since we willMiod Vallat
override it with the rasops one.
2006-07-24move large local array out of a "called once, only at boot" functionTheo de Raadt
into being a global, to reduce stack size; ok miod
2006-07-20fix various ways of spelling 'access' wrong in commentsMartin Reindl
2006-07-01Provide our own alloc_attr() routine for sun frame buffer, since the computationMiod Vallat
of highlighted color indexes is slightly different due to different black and white color code (and the fact that the default white is the highlighted white).
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-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-26atop(PAGE_SIZE) -> 1, 'tis true but it gets computed faster when PAGE_SIZEMiod Vallat
is not a constant.
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-25fix a typo in a comment and add the comment to the sparc hme driver.Brad Smith
2006-06-23Use MI clock conversion code for "new" clock.Mark Kettenis
ok deraadt@, miod@
2006-06-19move clock_subr.c to a better place, and now it is always in the kernelTheo de Raadt
so that things can use it; tested on all architectures; ok kettenis
2006-06-09{x,}ldcontrolb() codepath is SUN4-only, so don't bother checking for LfsbailMiod Vallat
in mem_access_fault4m.
2006-06-02sbus_establish() and the associated linked list in the sbus softc is now onlyMiod Vallat
used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.
2006-06-02When trying to find leaf lebuffer devices, to work around broken old PROMs,Miod Vallat
walk the lebuffer_cd device list, instead of the sbus children list.
2006-06-01Right at the end of a debug kernel build, the current Makefile copies bsdChristopher Pascoe
(with symbols) to bsd.gdb, then strips bsd. This diff makes it rename the file with symbols, and then asks strip to output the stripped version as bsd. Avoids a potentially lengthy wait when we would otherwise copy the large (50MB+) kernel with debug symbols. ok reyk@ ketennis@
2006-05-29Convert NetBSD new-style %b strings to old-style.Miod Vallat
2006-05-27unknown ioctl is ENOTTY not EINVALJason Wright
2006-05-14Make the array of fpu exception types/codes big enough.Mark Kettenis
Fix a typo too, such that we actually read beyond element 0 in all cases. ok miod@
2006-05-07Long due update from a.out to ELF (slightly different) relocation defines,Miod Vallat
from sparc64 with love. Spotted by drahn@
2006-04-29fix build after timestamping addition; sparc pointed out by pvalchev@Christian Weisgerber
2006-04-272 lines of code in most drivers, to do the timestamping; ok miod kettenisTheo de Raadt
2006-04-16Remove can't happen DIAGNOSTIC check.Miod Vallat
2006-04-16Convert the last remaining net-driver users of ether_input to ether_input_mbuf.Christopher Pascoe
sgec ok martin@ if_ie ok miod@ if_de, if_hp not in GENERIC ok brad@
2006-04-09#ifdef lint wraps for va_startTheo de Raadt
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
2006-03-23Extra parentheses in comments.Ray Lai
From Alexey Dobriyan. OK miod@ and otto@
2006-03-19remove unused bdbtofsb(bn) macroMartin Reindl
found by drahn@
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-15Switch sparc to device_register() to find out its boot device (when it's aMiod Vallat
disk).
2006-03-15Entries in cd_devs[] may be NULL, so be sure to check for them in yourMiod Vallat
device open() function.
2006-03-12Previous fix was half-done, move the wsscreen_list array into the softcMiod Vallat
as well.
2006-03-12When attaching a wsdisplay, the wsscreen_list structure can not be on theMiod Vallat
stack; found the hard way by Stefano <stefano@merlinobbs.net>.
2006-03-12remove splimp.Brad Smith
2006-03-04These devices are DV_DULL, not DV_IFNET... not that it really matters.Miod Vallat
2006-03-04Properly display underlined space characters.Miod Vallat
2006-02-28Shrink NKMEMPAGES_MAX back to 4MB for 3.9, as this still has issues on >= 512MBMiod Vallat
machines; this will be fixed post release. Reported by Serge Basterot. ok deraadt@
2006-02-25Put quotation marks around names of unconfigured devices.Mark Kettenis
ok deraadt@
2006-02-22Constify arrays and strings; plus KNF.Miod Vallat
2006-02-22Attach as scf0 as per the config(8) stanza, instead of sysconfig0.Miod Vallat
2006-02-22Remove unused probeset() function.Miod Vallat
2006-02-22Remove unused _{ins,rem}que functions - they were not even implemented onMiod Vallat
all architectures.
2006-02-12Disable sync when blanking if display.vblank is set to off.Miod Vallat
2006-02-12Run the tvtwo emulation mode in the 8 bit plane, and keep mapped mode 32 bit.Miod Vallat
2006-02-12Don't cause the screen border to be black; but we have to clear the wholeMiod Vallat
screen until console uses a low-depth plane; and if I could remember who to thank for the Xvideo board I got via Wim, things would be even better.