Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2003-06-25 | Let 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. | |||
2003-06-24 | Add a "where" argument to the sparc64 interrupt code. This lets us | Henric Jungheim | |
associate a name with each interrupt handler. This is not visible outside the kernel (yet). ok jason@ | |||
2003-06-24 | Revert the addition of the blanking code - it will corrupt displays after long | Miod Vallat | |
blanking periods... | |||
2003-06-23 | no need to check nintr late in the code... it's verified pretty early | Jason Wright | |
2003-06-23 | Remove some debugging cruft. | Jason Wright | |
2003-06-23 | Split the stp driver into its core, and md attachment routines, and provide | Miod Vallat | |
attachment routines for sparc and sparc64. | |||
2003-06-20 | Screen blanker routine for Creator, adapted from the X11 sunffb driver code. | Miod Vallat | |
Tested by jason@ and I. | |||
2003-06-18 | When reporting unknown sbus hardware, also report the hardware class (audio, | Miod Vallat | |
block device...) if it advertizes one. ok deraadt@ | |||
2003-06-17 | Extend the sunfb structure to take care of the PROM cursor position | Miod Vallat | |
pointers, and adapt creator to the fb api. ok jason@ | |||
2003-06-16 | Nuke a few more data and code superseded by the fb api. | Miod Vallat | |
2003-06-16 | Adapt to the fbxxx() API. | Miod Vallat | |
tested by matthieu@, krw@ and I on various hardware. | |||
2003-06-16 | Provide the same fbxxx() api as on sparc, in order to factorize more code | Miod Vallat | |
and eventually share some drivers. This also brings us screen unblanking upon entering ddb, which can be really useful at times... | |||
2003-06-12 | There is no sense in calling one function when you really want | Henric Jungheim | |
another. The bus_space code is perfectly capable of finding the parent handler itself. "heck" deraadt@ | |||
2003-06-11 | It is important not to forget "membar(MemIssue)". Got missed | Henric Jungheim | |
when extracting the minimal diff for the previous iommu change. ok jason@ | |||
2003-06-11 | Much of the sbus, psycho, and schizo bus_dma code is the same, so let's | Henric Jungheim | |
call the real implementation functions directly instead of duplicating lots of code that only calls the real stuff anyway. tested by miod@ henning@ ok jason@ | |||
2003-06-11 | The "min" and "max" functions cast to "u_int", which can lead to surprising | Henric Jungheim | |
results. Use the MIN/MAX macros instead. tested by miod@ ok jason@ millert@ | |||
2003-06-04 | The IIi/e chips have a DMA sync register that we have been ignoring. This | Henric Jungheim | |
could lead to nasty races between PIO and DMA. tested by krw@ ok jason@ | |||
2003-06-03 | nuke clause 3 & 4 (with henric's permission) | Jason Wright | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-06-02 | remove clause 3 & 4 (with fgsch permission as well) | Jason Wright | |
2003-06-02 | nuke terms 3 & 4 | Jason Wright | |
2003-06-02 | Do not map psycho-only interrupts on sabres. Reading from undefined | Henric Jungheim | |
registers and mapping strange INRs is not a good idea. ok jason@ | |||
2003-05-30 | Fix interrupt mapping for psycho's PBM B. This should make interrupts | Henric Jungheim | |
happy for all psycho based boxes. tested by beck@ ok jason@ | |||
2003-05-26 | Make sure to do the keyboard layout selection dance before wskbd_cnattach() | Miod Vallat | |
is invoked. | |||
2003-05-22 | Fix comment: IOTTE_PAMASK is 42..13 not 42..12 | Jason Wright | |
2003-05-22 | There's an off-by-one in the diagnostic code that can cause grief, | Henric Jungheim | |
especially for NIC drivers that aren't careful about handling load failures. Bug reported and diff tested by Holger Burde. ok jason@. | |||
2003-05-16 | move the interrupt idle stuff to the generic intr_establish function | Jason Wright | |
2003-05-16 | The sparc64 proms do not map all interrupt vectors. Instead of | Henric Jungheim | |
trying to use the interrupt pin (or is it that the PCI function?) as the interrupt vector, this computes the vector from the PCI bus, slot, and pin. This will only change mappings on psycho-based machines (*not* sabre, i.e., IIi/e) and only for those vectors reported as nonsense INRs (INO 0-3). This should fix the mapping of non-bridge expansion cards on U60 and E450, and other psycho boxen. U30 seems to do its own thing. | |||
2003-05-13 | The sab driver sometimes gets out of sync with the hardware. This can | Henric Jungheim | |
cause the serial console to hang. ok jason@ | |||
2003-05-12 | use new display types | Jason Wright | |
2003-05-11 | string cleaning; krw ok | Theo de Raadt | |
2003-05-11 | nuke debugging stuff | Jason Wright | |
2003-05-11 | get the offset of the config space correct, now to figure out why the rtc is ↵ | Jason Wright | |
unhappy. | |||
2003-05-10 | string cleaning; ok beck dhartmei | Theo de Raadt | |
2003-03-27 | - Add support for the *CURS* ioctls (requires mapping the DAC registers | Jason Wright | |
and tweaking appropriately) - add support for VADDR->PADDR mappings expected by the X server - fix attachment error handling (it depended on bus_space_vaddr() working for non-linear mappings). | |||
2003-03-27 | no sbus in here | Jason Wright | |
2003-03-25 | Clear interrupts (set to IDLE) as they are established. | Jason Wright | |
ok deraadt | |||
2003-03-09 | When a sparc machine is running with serial console, the zskbd probe would | Miod Vallat | |
try to use short cuts, and would not correctly initialize its channel if a keyboard is connected to it, which might have been done on purpose. It would then become impossible to run X11 on this machine afterwards. Fix this by being more cautious during the probe, at the extent of a couple of seconds if no keyboard is present. Tested by various, ok deraadt@ | |||
2003-03-06 | The existing IOMMU code had a rounding problem that was most noticeable | Henric Jungheim | |
on faster systems under heavy network load. This replaces some of the unreadable iommu functions with something a little less dense and a lot less crash prone. The bus_dma function pointer/cookie handling was broken. Change them to work like the stacked bus_space drivers (where "work" is the key word). Tested my many (thanks). ok jason@ deraadt@ | |||
2003-03-05 | Some typos prevented STCs from being detected and the size of the | Henric Jungheim | |
PCI configuration space is actually one "0" larger. Noticed on an E450 with all 10 PCI slots populated. ok jason@ | |||
2003-02-22 | don't use home grown timeval comparison when timercmp() is available; ↵ | Jason Wright | |
pointed out by henric | |||
2003-02-22 | rearrange allocations and such so that this actually attaches (still panics | Jason Wright | |
when attaching the pcibus... Still working on it =) |