summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
AgeCommit message (Collapse)Author
2005-09-08make comments match the fact that we are on sun4u, plus minor cleanupMartin Reindl
ok mickey@
2005-09-04remove unused NetBSD pci_intr_evcnt() function.Brad Smith
2005-08-01I'm Positive these are Type-O.Miod Vallat
2005-07-30Don't do nothing -> Don't do anythingBrad Smith
2005-07-27Back out 1.16. There are cases where we can recover from OF_mapintrArtur Grabowski
failure. ok henning@
2005-07-17Make sure we don't reprogram the colormap upon leaving mapped mode,Miod Vallat
if we are not the console display; prevents a stupid panic.
2005-07-09Do not #include "foo.h" and keep the whole file between #if NFOO >0 ... #endif,Miod Vallat
config(8) will not bring us into play unless NFOO > 0 anyway.
2005-07-07change panic into printf for pci_intr_disestablish()Brad Smith
2005-06-30found this when working on something else...Marco Peereboom
ok fgsch@
2005-06-07revert previous commit and unbreak sparc64.Kurt Miller
okay deraadt
2005-06-06-no need to hang onto virtual-dma parameter from prom, free itJason Wright
-formatting nits
2005-06-06Homogeneize dmesg output.Miod Vallat
2005-06-02allow for dma maps larger than 64 pages; jason@ okMichael Shalayeff
2005-05-19 __unused is used nowMichael Shalayeff
2005-05-14Factorize most of the high-level logic for Sun serial keyboards inMiod Vallat
sys/dev/sun/sunkbd.c, and move the layout tables to sys/dev/sun/sunkbdmap.c. No functional changes, small sparc64 kernel shrinkage.
2005-04-26Remove unused hooks for periodic pcons polling.Miod Vallat
2005-04-26Use cons_decl() rather than rolling our own prototypes, and some KNF.Miod Vallat
2005-04-26the theMiod Vallat
2005-04-16do not provide round_buffer if not needed unless explained why in commentsMichael Shalayeff
2005-04-15make sure aligment does not return zero block sizeMichael Shalayeff
2005-04-05Off-by-ones in register comparisons.Miod Vallat
2005-04-05No extra newline if keyboard plugged but not console.Miod Vallat
2005-03-17Increase timeout in fdcresult(), this allows fdformat(8) to work now.Miod Vallat
ok deraadt@
2005-03-15Only warn if pci_{io,mem}_find fails if the returned value is not ENOENT - emptyMiod Vallat
ranges are skipped and considered harmless.
2005-03-15Take care of updating the PROMs view of the cursor position in the common fbMiod Vallat
code, rather than doing this in only a subset of the fb drivers.
2005-03-12Do not drop the user in ddb in DIAGNOSTIC checks unless option FD_DEBUG.Miod Vallat
2005-03-09Preliminary support for the floppy drive on Ultrasparcs. Only tested onMiod Vallat
SBus machines so far, although EBus attachment glue is provided but not enabled by default. Also, fdformat(8) does not work correctly yet, although reading and writing is safe; this will hopefully be fixed in the near future. ok deraadt@
2005-03-07Do not bother passing the blanking routine to fbwscons_console_init(),Miod Vallat
as fbwscons_attach() can find it on its own.
2005-03-06Shorten dmesg if no keyboard is plugged.Miod Vallat
2005-03-05Preliminary xbox support: attaches, memory mapping and interrupts work, butMiod Vallat
DMA transfers are not implemented yet, and are disabled (which causes drivers to SBus cards on the xbox to fail to attach). In practice, this allows frame buffers to work, maybe more devices; DMA support will be worked on in the near future.
2005-01-27Fill all fields of intrhand structures not created by bus_intr_allocate().Miod Vallat
2005-01-05Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - mostMiod Vallat
of the work is done in the upper layer, but they get to see the ioctl, so don't always return an error.
2004-12-25Use list and queue macros where applicable to make the code easier to read;Miod Vallat
no functional change.
2004-12-18Print error codes in panic message.Brad Smith
From NetBSD ok miod@
2004-12-02Add pci_decompose_tag() for sparc64.Brad Smith
From NetBSD ok deraadt@
2004-11-30Move the struct wsscreen_descr from a per-driver global to a per-instanceMiod Vallat
field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information. Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC). [file excluded in previous commit by mistake. spotted by claudio@]
2004-11-29Move the struct wsscreen_descr from a per-driver global to a per-instanceMiod Vallat
field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information. Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC).
2004-11-09Always free memory on failure in c{e,s}4231_alloc(); from Patrick Lafiti.Miod Vallat
2004-11-02Use PROM mappings, if available, whenever we are the console device or not;Miod Vallat
should help on SPARCenginc Ultra AXe, does not change anything on other machines.
2004-10-01add a blink_led API (shaves ~1k from GENERIC) rather than have the sameJason Wright
logic in 3 files. Devices register a function to be called to turn the led on and off based on load average. (Note: rerun config and make depend)
2004-10-01more register defnsJason Wright
2004-09-29Ratibibugle now useless evcnt structures.Miod Vallat
2004-09-29map correct register set for the blinky lights and the slot descriptionJason Wright
2004-09-28use prom mappings when availavkJason Wright
2004-09-28debugging stuff nuke I willJason Wright
2004-09-28get the offsets of imap/iclr correct (zs now interrupts more than once)Jason Wright
2004-09-28Like Yoda Jason trying to speak is.Miod Vallat
2004-09-28driver for "clock-board" (mainly blinky lights, but also has information ↵Jason Wright
about the chassis)
2004-09-28missing \nJason Wright
2004-09-27Important stuff: blinky lights for fhcJason Wright