summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
AgeCommit message (Collapse)Author
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
2004-09-27setup ign based on board numberJason Wright
2004-09-27shift value for the ignJason Wright
2004-09-27compute the board number of each fhcJason Wright
2004-09-27setup control register correctly and clear interrupts before attaching childrenJason Wright
2004-09-27map registers for fhc@mainbusJason Wright
2004-09-27check malloc return correctly; from Patrick LatifiJason Wright
2004-09-24Whoops, need to include the IGN... zs@fhc now sorta works (kinda...)Jason Wright
2004-09-24fix up attachment of zs@fhcJason Wright
2004-09-24setup interrupt handling for fhc attached devicesJason Wright
2004-09-24cleanJason Wright
2004-09-24need linear mappings for the intrmap/clr register setsJason Wright
2004-09-24fhc registers (enough for now anyway)Jason Wright
2004-09-23Correctly test for prom memory mapping failure. Fortunately no system weMiod Vallat
know of provides prom memory mappings for com(4)...
2004-09-23prepare the way for multi-bus attachment of zs (specifically zs@fhc).Jason Wright
Remove the zs@mainbus stuff from files.sparc64 (nothing uses it) don't forget to rerun config...
2004-09-23- fix the bus_map functions (get the parent node right)Jason Wright
- remove a bunch of debugging goop
2004-09-22firehose controller driver (not quite working) for the e4500 (and others)Jason Wright
2004-09-22driver for the "central" controller on the E4500 (and others) [fhc and ↵Jason Wright
others to follow]
2004-09-13for pcons tty and kernel console (ie. boot -a) input, replace prom ^HTheo de Raadt
with ^? as that is what we have standardized on for all delete keys. this got missed, meaning boot -a and RAMDISK console tty were gross. ok miod
2004-08-10Print the newline after vgafb_mapregs(), not before since vgafb_mapregs()Todd C. Miller
may print diagostic messgaes on error. OK henning@.
2004-07-17Wait for output to be drained when sabtty is the console output port;Miod Vallat
produces nicer (correct) kernel output upon bootup. Reported in NetBSD PR #26226; tested by dlg@ and I.
2004-03-19Off-by-ones, requests for (x * PAGE_SIZE) + 1 bytes would not allocate theMiod Vallat
last page. Found the hard way by chris@ and claudio@. ok jason@ deraadt@
2004-03-02Rework the card insertion/removal detection logic:Miod Vallat
- instead of queueing events each time the sense information changes, only remember that the slot needs attention - when processing a slot needing attention, decide what to do depending upon its current sense information, rather than what it was when the change was detected - handle the ``only one sensor asserted'' state happening during slow insertion or removal. This makes the driver much more reactive to insertions and removals, and also removes unnecessary attach/detach calls. ok deraadt@
2004-02-29More colormap games for 8-bit framebuffers to enjoy the inverted cursor too.Miod Vallat
2003-12-20Pass -WformatMiod Vallat
2003-12-16Don't need linear mappings here eitherJason Wright
2003-12-16don't do a linear mapping (prevents warnings on the leopard)Jason Wright
2003-12-04TyposMiod Vallat
2003-10-05If attaching a wsdisplay console causes a font switch, do not update the PROMMiod Vallat
view of the cursor position, so that it comes back to a correct location when the system is shut down.
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-06-28Add RI_FULLCLEAR to the rasops flags. Accelerated drivers (cgsix, creator,Miod Vallat
pnozz) benefit from this, and this does not hurt the other drivers.
2003-06-25Let the stp driver use different bus_space_tag_t for its own device access,Miod Vallat
and for access to the pcmcia windows from the pcmcia drivers.