summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
AgeCommit message (Collapse)Author
2002-06-15add my name here as suggested by jason@Federico G. Schwindt
2002-06-12add mmap implementation and skeleton interrupt mappingJason Wright
2002-06-11Fix (include sys/pciio.h)Jason Wright
2002-06-11s/pcitag/sc_pcitag so it compiles (sorry matthieu)Jason Wright
2002-06-11add a new ioctl to wscons (currently implemented only on sparc64)Matthieu Herrb
`that returns the bus:dev:func PCI id of the device. ok jason@.
2002-06-11More registersJason Wright
2002-06-11remove call to debuggerJason Wright
2002-06-11UPA driver for the Blade1000Jason Wright
2002-06-11UPA attachment for creatorJason Wright
2002-06-11split creator driver into bus specific and common code.Federico G. Schwindt
requested and ok by jason@
2002-06-11Remove upa_softc from here (it will return, but it's in the way for now)Jason Wright
2002-06-09more of those crazy registersJason Wright
2002-06-08Move stuff around like a crazy man... (split into var/reg)Jason Wright
2002-06-08Initial (not quite fully working) driver for the schizo on the blade1000Jason Wright
2002-06-08make pci_conf_{read|write} indirect functions so we can overload themJason Wright
2002-06-07remove staticJason Wright
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