Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-01-05 | Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - most | Miod 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-25 | Use list and queue macros where applicable to make the code easier to read; | Miod Vallat | |
no functional change. | |||
2004-12-18 | Print error codes in panic message. | Brad Smith | |
From NetBSD ok miod@ | |||
2004-12-02 | Add pci_decompose_tag() for sparc64. | Brad Smith | |
From NetBSD ok deraadt@ | |||
2004-11-30 | Move the struct wsscreen_descr from a per-driver global to a per-instance | Miod 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-29 | Move the struct wsscreen_descr from a per-driver global to a per-instance | Miod 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-09 | Always free memory on failure in c{e,s}4231_alloc(); from Patrick Lafiti. | Miod Vallat | |
2004-11-02 | Use 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-01 | add a blink_led API (shaves ~1k from GENERIC) rather than have the same | Jason 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-01 | more register defns | Jason Wright | |
2004-09-29 | Ratibibugle now useless evcnt structures. | Miod Vallat | |
2004-09-29 | map correct register set for the blinky lights and the slot description | Jason Wright | |
2004-09-28 | use prom mappings when availavk | Jason Wright | |
2004-09-28 | debugging stuff nuke I will | Jason Wright | |
2004-09-28 | get the offsets of imap/iclr correct (zs now interrupts more than once) | Jason Wright | |
2004-09-28 | Like Yoda Jason trying to speak is. | Miod Vallat | |
2004-09-28 | driver for "clock-board" (mainly blinky lights, but also has information ↵ | Jason Wright | |
about the chassis) | |||
2004-09-28 | missing \n | Jason Wright | |
2004-09-27 | Important stuff: blinky lights for fhc | Jason Wright | |
2004-09-27 | setup ign based on board number | Jason Wright | |
2004-09-27 | shift value for the ign | Jason Wright | |
2004-09-27 | compute the board number of each fhc | Jason Wright | |
2004-09-27 | setup control register correctly and clear interrupts before attaching children | Jason Wright | |
2004-09-27 | map registers for fhc@mainbus | Jason Wright | |
2004-09-27 | check malloc return correctly; from Patrick Latifi | Jason Wright | |
2004-09-24 | Whoops, need to include the IGN... zs@fhc now sorta works (kinda...) | Jason Wright | |
2004-09-24 | fix up attachment of zs@fhc | Jason Wright | |
2004-09-24 | setup interrupt handling for fhc attached devices | Jason Wright | |
2004-09-24 | clean | Jason Wright | |
2004-09-24 | need linear mappings for the intrmap/clr register sets | Jason Wright | |
2004-09-24 | fhc registers (enough for now anyway) | Jason Wright | |
2004-09-23 | Correctly test for prom memory mapping failure. Fortunately no system we | Miod Vallat | |
know of provides prom memory mappings for com(4)... | |||
2004-09-23 | prepare 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-22 | firehose controller driver (not quite working) for the e4500 (and others) | Jason Wright | |
2004-09-22 | driver for the "central" controller on the E4500 (and others) [fhc and ↵ | Jason Wright | |
others to follow] | |||
2004-09-13 | for pcons tty and kernel console (ie. boot -a) input, replace prom ^H | Theo 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-10 | Print the newline after vgafb_mapregs(), not before since vgafb_mapregs() | Todd C. Miller | |
may print diagostic messgaes on error. OK henning@. | |||
2004-07-17 | Wait 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-19 | Off-by-ones, requests for (x * PAGE_SIZE) + 1 bytes would not allocate the | Miod Vallat | |
last page. Found the hard way by chris@ and claudio@. ok jason@ deraadt@ | |||
2004-03-02 | Rework 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-29 | More colormap games for 8-bit framebuffers to enjoy the inverted cursor too. | Miod Vallat | |
2003-12-20 | Pass -Wformat | Miod Vallat | |
2003-12-16 | Don't need linear mappings here either | Jason Wright | |
2003-12-16 | don't do a linear mapping (prevents warnings on the leopard) | Jason Wright | |
2003-12-04 | Typos | Miod Vallat | |
2003-10-05 | If attaching a wsdisplay console causes a font switch, do not update the PROM | Miod Vallat | |
view of the cursor position, so that it comes back to a correct location when the system is shut down. | |||
2003-10-03 | Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need for | Miod 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-15 | change arguments to suser. suser now takes the process, and a flags | Ted 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-28 | Add RI_FULLCLEAR to the rasops flags. Accelerated drivers (cgsix, creator, | Miod Vallat | |
pnozz) benefit from this, and this does not hurt the other drivers. |