summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
AgeCommit message (Collapse)Author
2003-02-03pad tx buffer out to minimum framelength; based on NetBSDJason Wright
2003-01-22Revert previous - it would prevent the second zs chip from being probedMiod Vallat
on the Voyager, thus preventing keyboard support from working at all.
2003-01-20Put back the Voyager zs probe workaround that got lost in rev 1.36;Miod Vallat
spotted by Takeshi Morimoto.
2002-12-12Dvorak typo.Miod Vallat
2002-12-12Remove dead prototypesMiod Vallat
2002-12-10The introduction of fbwscons_setcolormap() left out 24 bit frame buffersMiod Vallat
operating in 8 bit mode, such as on the installation media... Installing with a pale grey on white is not what I would call a friendly display, ouch.
2002-11-29Upon detection of an international Sun keyboard with a recognized layout,Miod Vallat
attach it with the appropriate keymap table, rather than the default KB_US table. If this is not the expected behaviour, users can still revert to US layout via "kbd us" or "wsconsctl -w keyboard.encoding=us". As the installation media uses the prom console, which will honor the international keyboard layout, this will definitely help users with international keyboards and fancy characters in their passwords... Note that there is still some Sun keyboard tables missing at the moment.
2002-11-24Be sun4m-friendly in FDC_C_HANDLER case.Miod Vallat
2002-11-24Fix a kernel fault in FDC_C_HANDLER code.Miod Vallat
2002-11-24Make this compile again if FDC_C_HANDLER is defined.Miod Vallat
2002-11-24When initializing the colormap on low depth frame buffers, pick valuesMiod Vallat
from rasops_cmap table, rather than providing our own, especially when they are wrong.
2002-11-10Use appropriate VM_MAP constants rather than hardcoded values inMiod Vallat
uvm_map_create() and uvm_km_suballoc().
2002-11-09- make IFF_SIMPLEX only set if the media is IFM_FDX (prevents ip6 fromFederico G. Schwindt
seeing it's packets and thinking another machine with the same mac is on the wire when running half-duplex); from NetBSD. tested by matthieu, jason and him ok.
2002-11-06- always initialize colormaps, even if the frame buffer is non console; thisMiod Vallat
helps if the ramdac does not get initialized (idea from jason@) - only register a shutdown hook for the frame buffers which need it, if this is the console frame buffer. Otherwise this is just a waste of time.
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-10-05spelling.Federico G. Schwindt
2002-10-01Do not enable the code that makes use of the vertical retrace interruptMiod Vallat
to update the colormap, as it causes _some_ machines to freeze solid; could not be reproduced here, thanks to Thomas Koellmann (koellmann at gmx dot net) for reporting this problem and testing this change. ok deraadt@
2002-10-01If the framebuffer is being run in 32bit mode, register a shutdown_hookMiod Vallat
to bring it in a prom-friendly mode upon halting the system, like the other > 8 bit framebuffers do.
2002-09-30Evil, evil, evil typo broke innocent ramdisks. Die!Miod Vallat
2002-09-23Get the wsdisplay capabilities from rasops, rather than attempting toMiod Vallat
guess them at compile-time. Plus this makes cgtwelve a bit more clean. ok fgs@ deraadt@
2002-09-20Support to run the 24 bit fb in 8 bit mode or cg12 in 1 bit modeFederico G. Schwindt
via flags, using 0x0001. miod@ ok.
2002-09-15Begone.Miod Vallat
2002-09-11update from sparc64 version:Jason Wright
-fix several stupid bugs -get encoding setup correct -add support for capture
2002-09-09Register more screen capabilities to work with the recent wsemul_sun changes.Miod Vallat
2002-09-05Allow kernels with no display device configured to link. Found by marc@Miod Vallat
2002-09-03Old (rev 1) OpenPROM will always report as the "fb" node, the firstMiod Vallat
framebuffer found, even if the PROM environment is set to serial console. Hence, make sure we won't consider this "fb" node as valid until we are really using a graphics console. Will makes drahn@'s IPC happy, and ok jason@
2002-09-02Make the cgfourteen work in 32bit when possible, also display the size ofMiod Vallat
the VSIMM in the dmesg.
2002-08-31Driver for the Vigra VS10 and VS12 SBus framebuffers, and possibly more fromMiod Vallat
this series. Thanks to Andrey Smagin (andrey at smagin dot com) for providing a VS10 card.
2002-08-21Correctly map the video memory, for proper operation.Miod Vallat
2002-08-16remove debugging codeJason Wright
2002-08-16Scale back rows and columns if the font would not otherwise fit on theTodd C. Miller
display. Otherwise, we would panic in wsdisplay_cnattach(). miod@ OK
2002-08-12Convert sparc console code from rcons and pseudo-devices to rasops and wscons.Miod Vallat
For most framebuffers it is faster. Other changes include: o 24 bit support in tcx(4) for the S24 framebuffer o accelerated cgsix(4) text console o new cgtwelve(4) driver for the GS framebuffer o improved serial driver code o better keyboard support The following framebuffers have not been tested but should work: cgfour, cgeight and cgfourteen These changes will require XF4 changes, to use Xwsfb instead of Xsun*, to be commited later today. Most of the work by me during the LSM and the week after, with code borrowed from jason@, NetBSD (new serial code), and feedback from mickey@. Work on pnozz(4) done by millert@
2002-08-08Completely rework transmit interrupt handling:Jason Wright
- try to handle tx ring reclaim in bestart() - if we pass over the high water mark, enable TX interrupts - disable them again when the low water mark is passed Thanks to mickey@ for enduring 4 versions of this =)
2002-08-07KNF (parenthesized returns)Jason Wright
2002-08-02Do correct bounds checking in get/set/put cmap routines. A few ofTodd C. Miller
these check were already OK but have been modified for consistency. Problem found by Silvio Cesare.
2002-07-17DTIMEXP is not a fatal error, deal with it.Jason Wright
2002-07-12Use interrupts for fetching ADC conversions instead of polling.Jason Wright
2002-07-09try to disable vsync timing if sparc_vsyncblank is setJason Wright
2002-07-09allow getting and setting of the ADC, DAC, and PIO ports on the daadio (this ↵Jason Wright
has been sitting in my tree for awhile)
2002-07-08bzero the correct size (I swear this worked at one time...)Jason Wright
2002-07-08Correctly convert to new timeouts (this hasn't compiled for awhile)Jason Wright
2002-07-08in addition to check cd_ndevs, also check that cd_devs[N] != NULLJason Wright
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-08Use tsleep.Artur Grabowski
2002-06-07knfJason Wright
2002-06-03spell transceiver correctlyTheo de Raadt
2002-05-29splbio around biodone.Artur Grabowski
2002-05-17Handle the removal of 'const' from structure definition.mjacob
2002-04-30Fix an ancient problem in how sparc interrupts are handled.Artur Grabowski
There are many interrupt handlers that assume that they don't need to do any spl protection in their code because the interrupt of some level can't be interrupted by an interrupt of the same level. The problem is that some interrupt handlers have hardware levels that are lower then their "software" levels. Fix this by adding an additional field to struct intrhand that specifies which "software" level an interrupt handler has and blocks that level while handling the interrupt. This new field is initialized in intr_establish which gets an additional argument (which can be -1 meaning that the interrupt handler doesn't need to block any additional level). ok deraadt@
2002-04-28Rename all PIL_* constants to IPL_* to match other archs and make themArtur Grabowski
usable in MD code in the future. deraadt@ ok