summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
AgeCommit message (Collapse)Author
2002-12-25Initialize color palette from rasops settings (from sparc) rather thanMiod Vallat
from incorrect values, and restore it after X11 use (from macppc).
2002-12-22Do not attempt to select keyboard layout until it has been determined fromMiod Vallat
the keyboard (oops). This also fixes a bad interaction with wskbd_cnattach that would hose the underlying sabtty device.
2002-12-10Register as the "std" wscons device, not "sun". This is consistent with otherMiod Vallat
frame buffers, and produces less confusing dmesg output.
2002-12-10Fix spurious \n in dmesg outputMiod Vallat
2002-12-03Use bus_space_vaddr() instead of checking the mapping directly (this willJason Wright
be necessary soon); from henric@
2002-12-02Skip the ffb0, ffb1, pcia/slot2 (for psycho), and pcia/slot3 (for psycho)Jason Wright
interrupt map matches; from FreeBSD.
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-09Instead of relying on uvm_useracc(), get a false sense of security, andMiod Vallat
do not check copyin() result, take care and properly handle copyin() failure. This was not harmful, but a bit more correctness never harms.
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-10-07this removes the functionality of adding allocatedMichael Shalayeff
pages into the queue already containing allocated pages. breaks i386:setup_buffers() because of this.
2002-10-06No more need to initialize the result list before uvm_pglistalloc.Artur Grabowski
2002-10-04Aasking to load an already loaded map is not a "warn and pray" kinda thing.Jason Wright
2002-09-23Fix console determination; based on discussion in port-sparc64@netbsdJason Wright
2002-09-17I sense too much cut 'n paste.Artur Grabowski
Allow this to build with DEBUG.
2002-09-15Fix color choices to match wsemul_sun requirements.Miod Vallat
Tested by and ok matthieu@
2002-09-10Remove some debugging code, KNF, and fix encoding selection.Jason Wright
2002-09-10Register more wsscreen properties to take advantage of wsemul_sun changes.Jason Wright
2002-08-19KNF (4 char continuations)Jason Wright
2002-08-19Take advantage of rasops.updatecursor to keep the prom cursor up to dateJason Wright
2002-08-19From NetBSD:Jason Wright
-Fix some corner cases in bus_dmamap_load_mbuf(). From Takeshi Nakayama <tn@catvmics.ne.jp> -Fix off-by-one error in iommu_dvmamap_load_raw() where if a DMA segment has just one byte on a page the page is never mapped into the IOMMU.
2002-08-16remove debugging codeJason Wright
2002-08-06catch 'break' and handle appropriately, I thought I had committed this long ago.Jason Wright
2002-08-02registers should be volatile, also add yet more register defnsJason 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-08-01add support for mapping interrupts.Jason Wright
2002-07-30allow cf_flags to determine whether console acceleration should be used ↵Jason Wright
(defaults to yes)
2002-07-30simplify vgafb_mmap()Jason Wright
2002-07-29use ROP_OLD for VSCROLL, with this, vertical scroll (copyrows) works (and ↵Jason Wright
it's -fast-)
2002-07-29- cache the last value written to FBC_FG and avoid unnecessary fifo writesJason Wright
- add a copyrows implementation based on the VSCROLL drawing operation. It draws a correctly sized rectangle, but I have no idea where the source data came from... so it's currently disabled =)
2002-07-28documentationJason Wright
2002-07-28more registers; jason@ ok.Federico G. Schwindt
2002-07-26fifo needs 6 entries before we feed it rectangle commandJason Wright
2002-07-26- add hardware support for eraserows and erasecolsJason Wright
- also fix some register names and add yet more of them [one thing this chip isn't lacking is registers...]
2002-07-26- remove duplicate defnsJason Wright
- start at some utility functions for the FBC handling
2002-07-26- Move register defns to their own header file and add a whole bunch of themJason Wright
- map the fbc register set
2002-07-25use bus_space_map, not bus_space_map2, and fix failure printf'sJason Wright
2002-07-25There's no need to override the default mapping to big endian now that ↵Jason Wright
rasops8 handles byte swapping itself.
2002-07-25Adapt the framebuffer code to the WSDISPLAY_TYPE constant changes, andMiod Vallat
add the necessary magic for wsemul_sun color handling. Initially based on a patch from jason@, then some tinkering by me.
2002-07-24nuke debugging cruftJason Wright
2002-07-24add support for schizo streaming buffers (per PBM), but leave the buffers ↵Jason Wright
disabled for now
2002-07-24No need to cast &thing to paddr_t* when thing IS a paddr_tJason Wright
2002-07-24more use of volatile on registers, cleaningJason Wright
2002-07-24- don't need mmio or io registers mapped for console useJason Wright
- can't map expansion rom this way, remove it until we find a safe way - use less magic constants
2002-07-18- Add support for both of the schizo iommu's(There is an iommu per pbm)Jason Wright
- const the cfattach - clean - deal with the fact that the register property doesn't reflect the true length of the register set (grr!) - move away from home grown read/write_8 and use bus_space where possible
2002-07-18s/0/NULL in pointer comparisonJason Wright
2002-07-18Match compatible sab82532Jason Wright
2002-07-18another name, 'parallel'Jason Wright
2002-07-18another prom name, 'audio'Jason Wright
2002-06-15add my name here as suggested by jason@Federico G. Schwindt
2002-06-12add mmap implementation and skeleton interrupt mappingJason Wright