summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
AgeCommit message (Collapse)Author
2002-06-04Convert vgafb from rcons to rasopsJason Wright
If depth is 24, select rasops32 (and make sure the stride is right)
2002-06-04identify keyboard/mouse portsJason Wright
2002-06-04Identify keyboard/mouse ports if not claimed by other drivers.Jason Wright
2002-06-03- use the 24 bits dumb frame buffer reg. instead of the 32 one, but returnFederico G. Schwindt
32 bpp to wsfb. - print the model; the board type is not useful. this enables video output in the U1/E and probably some other creator models. tested by jason@ and Daniel Zieber <dlz@astro.caltech.edu>; jason@ ok.
2002-05-29Add a new wskbd type for Sun type 5 keyboards (WSKBD_TYPE_SUN5).Mats O Jansson
This is needed since eg Swedish type 4 and 5 keyboard has keycodes with different keycodes. eg AltGr and Compose are switched in type 5 compared with type 4. This change will need a new Xserver to allow sun type 5 keyboards. -moj ok miod@
2002-05-27left over __P removalsTheo de Raadt
2002-05-22Match on "SUNW,afb" as well, a guess to make Elite3D cards work and printFederico G. Schwindt
the board type for now as well; jason@ ok.
2002-05-22- Allow matching of devices with fewer than 24 register setsJason Wright
- set display type to be SUNFFB
2002-05-22Copy only the register paddrs/lens that we have room forJason Wright
2002-05-22Only map in DFB32 during attach, other stuff will be mapped by _mmap asJason Wright
necessary.
2002-05-22return mappings from DFB24 for DUMBFB mode mmap requests (this makes ↵Jason Wright
unaccelerated X on the creator work)
2002-05-21Remove some debugging code and generally clean things up.Jason Wright
2002-05-21Get the initial cursor position correct so we don't start back at 0,0 whenJason Wright
wsdisplay attaches.
2002-05-21Remove last vestiges of rcons and now it appears to work.Jason Wright
2002-05-21Use rasops alloc_attr in alloc_screen so it doesn't crash when a screen isJason Wright
added.
2002-05-21Skeleton driver for the Creator/Creator3D framebuffer (doesn't do muchJason Wright
except provide an entry point for mmap'n from userland so I can figure out how it works). Many thanks to Matt Potter <matt@vertrauen.org> for providing a card.
2002-05-13Deal with 24bit dvma requestsJason Wright
2002-04-16use polled access for now (prevents a hang on the Momenco Leopard-V)Jason Wright
2002-04-16- Don't bother checking to see if the prom has already mapped thisJason Wright
- a bunch of KNF
2002-04-15Since XFree doesn't try to remap things behind our backs anymore, simplifyJason Wright
the driver a bit (mainly don't reprobe the pci address for every call to vgafb_mmap()).
2002-04-08Credit DARPA/USAF appropriately.Jason Wright
2002-04-04Some PCI machines do not implement the uperf registers. Those that doJason Wright
provide an 'sc at ebus'. Use that instead of a direct attachment of uperf to psycho.
2002-04-04s/0/NULL for pointersJason Wright
2002-04-01Remove all traces of VGAFB_ALLOW_NATIVE.Jason Wright
2002-03-31add a new mode to wsdisplay, WSDISPLAYIO_MODE_DUMBFB. This mode isJason Wright
functionally equivalent what used to be WSDISPLAYIO_MODE_MAPPED, which now means a "native" mapping. vgafb_mmap() returns pci relative mappings in WSDISPLAYIO_MODE_MAPPED and linear framebuffer mappings in WSDISPLAYIO_MODE_DUMBFB
2002-03-30Don't honor native accesses unless VGAFB_ALLOW_NATIVE is defined (this isJason Wright
a temporary workaround that will be backed out when more work is done elsewhere)
2002-03-28- recheck the PCI BAR's during mmap: XFree86 doesn't like the prom mappingsJason Wright
so rather than deal with it, it remaps things. - turn off access to the rom... this may need rethinking (both accelerated X and dumb framebuffer X work because the offsets will not overlap).
2002-03-27Avoid using bus_space_map2() on the rom (was too lazy to deal with endian =),Jason Wright
instead use bus_space_map() and bus_space_read_1() to gaurantee correct endian; speed isn't an issue here (well, as long as some joker doesn't ship a 16MB vga rom...)
2002-03-27Make a shadow copy of the bios rom (if available) and make it available via mmapJason Wright
Also, don't hardcode the length of the pixel memory in vgafb_mmap(), use the size provided by pci_mem_find.
2002-03-27bus_space_mmap wants the paddr not the handleJason Wright
2002-03-26Permit compiling with DEBUG; Joey Coleman <joeycoleman@acm.org>Jason Wright
2002-03-26Map all of the io/mem spaces providedJason Wright
2002-03-21pretty dmesgJason Wright
2002-03-20lpt_attach_common() prints the newline for usJason Wright
2002-03-14Make the sbus ipl handling more like psycho. Some devices (Aurora 210sj, eg)Jason Wright
use Sbus level 5 for interrupts which means spltty() is not blocked correctly because the sbus interrupt handling uses the implied spl of the interrupt instead of the level passed to it.
2002-03-14From NetBSD: driver for lpt at ebusJason Wright
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-12sparc64's aren't likely to be CPU_ISSUN4CJason Wright
2002-03-12Look up the TTE and only do the streaming cache dance if the mapping is ↵Jason Wright
marked as streaming.
2002-03-07Remove some debugging code accidentally committed in previousJason Wright
2002-03-07From NetBSD:Jason Wright
Fix calculation of dma segment length when the DVMA range is crossing the boundary.
2002-03-05Insert missing newline for autoconf prettiness.Jason Wright
2002-03-04Typos; Matt <matt@vertrauen.org>Jason Wright
2002-02-23make this compile w/out pckbd (thanks marco for pointing this out)Jason Wright
2002-02-22Be sure to wait the whole 0.5 seconds (half a second!) for the streamingJason Wright
cache to flush, not some fraction of it, before giving up.
2002-02-22Debugger() is #ifdef DDBTheo de Raadt
2002-02-22- don't call strbuf_flush_done for each segment, call it once per map (andJason Wright
then only if necessary) - When flushing a partial segment make sure we flush all of the necessary pages (the case where len < NBPG would not correctly flush both pages if va + off <-> va + off + len crossed a page boundary)
2002-02-22From NetBSD:Jason Wright
- Fix pr sparc64/15633: datafault at tlp_start causes panic - Also clean up some additional 32-bit kernel printf issues. - Handle the case where a DMA operation wraps from the end of a page to the beginning of the same page properly by double-mapping that page. - Move a brace so this will compile w/o DEBUG. - Overhaul iommu_dvmamap_load_raw(). From Me: - Verify the streaming cache exists before waiting on it to clear during flush. - Force sync of flush status (hardware sets it to 1 when its done) - Force sync flush of registers (bus_space_barrier) - Flush ALL segments on BUS_DMA_POSTREAD operations (not just the first!)
2002-02-19If there are pckbd's, register ourselves to handle beeps... AXi's can nowJason Wright
squawk with the best of 'em.