Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-12-27 | Add code to change video mode (resolution and color depth) on the fly for | Miod Vallat | |
pnozz(4), when switching between emulation (i.e. text console) and mapped (i.e. X11) modes. Geometries different than 800x600 are only available on the external video port, with the internal panel blanked. Currently this mode is compiled in, until an interface allows the X server and the kernel to settle on which one to use. Due to the internal panel blanking requirements, all of this is only available if tctrl(4) is configured in, which is the case for GENERIC but not for installation media kernels (who runs X11 with installation media anyway?) Most of this has been written 18 months ago, it was just lacking a final touch... | |||
2006-12-13 | Remove the dma_eop callback in the ncr5380 driver md attachment, it was always | Miod Vallat | |
doing nothing and the mi code does not use it anymore anyway. No functional change. | |||
2006-12-10 | Delay two seconds after board reset before trying to probe scsi devices. | Miod Vallat | |
2006-12-10 | Allow ``flags 0'' to work to disable DMA for si(4) and sw(4) - it would get | Miod Vallat | |
ignored previously. | |||
2006-12-03 | Change cgeight to run the console in the monochrome overlay plane (as cgtwelve | Miod Vallat | |
does), and only use the 24 bit color planes when running X. Not tested, but can't be worse than before - the code it replaces was busted anyway. | |||
2006-12-03 | In fb_setsize(), remove dead code in the SUN4 case. | Miod Vallat | |
2006-12-03 | Instead of invoking rasops_init with a wrong depth value to have some | Miod Vallat | |
values computed better, prefer invoking it with the real thing and recomputing what needs to be afterwards. No functional change, but this allows fb.c to assume a few things about its callers. | |||
2006-12-03 | Do the ri_devcmap reprogramming dance in fbwscons_init(), so that it applies | Miod Vallat | |
to non-console frame buffers as well. | |||
2006-12-03 | Initialize more fields of the proto disklabel before invoking readdisklabel(), | Miod Vallat | |
to pass its recent sanity checks. | |||
2006-12-03 | Enable all color planes on attach and wait for retrace to program the | Miod Vallat | |
colormap, this finally makes color work. | |||
2006-12-03 | Clean frame buffer attachment code: | Miod Vallat | |
- There is no need to check for buses config(8) will not let us attach to - Better P4 bus logic, which does not need to abuse device flags - Do not bother trying to print a meaningful device description when it is not connected to sbus. | |||
2006-12-03 | Revert r1.35 (ether_input to ether_input_mbuf conversion), this causes | Miod Vallat | |
unaligned accesses on some packets. | |||
2006-12-02 | Fix ri_devcmap[] to allow WSCOL_BLACK and WSCOL_WHITE to not have to be | Miod Vallat | |
different for sparc{,64} systems. | |||
2006-12-02 | Use ri_devcmap to get corrected color values, instead of directly using | Miod Vallat | |
WSCOL_xxxx values. | |||
2006-12-02 | Use the unpack_attr emulops instead of doing an inline rasops_unpack_attr. | Miod Vallat | |
2006-11-29 | Add an unpack_attr function to struct wsdisplay_emulops, to match the | Miod Vallat | |
existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers. | |||
2006-11-29 | Kernel stack can be swapped. This means that stuff that's on the stack | Miod Vallat | |
should never be referenced outside the context of the process to which this stack belongs unless we do the PHOLD/PRELE dance. Loads of code doesn't follow the rules here. Instead of trying to track down all offenders and fix this hairy situation, it makes much more sense to not swap kernel stacks. From art@, tested by many some time ago. | |||
2006-11-29 | Add a new member to struct wsemuldisplaydev_attach_args, for a frame buffer | Miod Vallat | |
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting. | |||
2006-11-28 | give scsi controllers a real attach args to fill in when attaching scsibus. | David Gwynne | |
ok miod@ marco@ deraadt@ | |||
2006-10-27 | If the lid is closed during boot, blank screen immediately. | Miod Vallat | |
2006-09-26 | Zap D_REMOVABLE flag from disklabel. If you didn't already know that | Kenneth R Westerback | |
floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@ | |||
2006-09-24 | Eliminate D_CHAIN, D_ECC and D_RAMDISK flags from disklabel. They were | Kenneth R Westerback | |
not being used in the tree for anything obviously useful. Get it done early so we can find if there are non-obvious uses out there. ok deraadt@ beck@ | |||
2006-09-17 | No need to check for both cd_devs != NULL && cd_ndevs != 0, since the latter | Miod Vallat | |
implies the former; no functional change. | |||
2006-08-17 | (128 << fd->sc_type->secsize) instead of (128 * (1 << fd->sc_type->secsize)). | Kenneth R Westerback | |
Makes all FD_BSIZE() defines the same. No object code change. | |||
2006-08-14 | Fix 640x480 mode operation (needs a font change, and stride is larger than | Miod Vallat | |
width in this mode). | |||
2006-08-14 | Now that DEV_BSIZE is universally defined as 1 << DEV_BSHIFT, use it to | Kenneth R Westerback | |
set d_secsize instead of 1 << DEV_BSHIFT. Just for textual consistency in setting d_secsize. No functional change. | |||
2006-08-12 | Setting d_secsize to DEV_BSIZE (or 1 << DEV_BSHIFT, or 512) and then | Kenneth R Westerback | |
setting RAW_PART's p_size to d_secperunit * (d_secsize / DEV_BSIZE) is a waste of a few ops. And p_size should be in sectors anyway. Just set RAW_PART's p_size to d_secperunit to make usage consistant across the tree. Should be a no-op. | |||
2006-08-11 | An old dvorak typo was lurking here. | Miod Vallat | |
2006-08-01 | make this more like a real cylon mode (no pauses at the end!) | Theo de Raadt | |
2006-07-25 | Do not bother reading the existing colormap on attach, since we will | Miod Vallat | |
override it with the rasops one. | |||
2006-07-20 | fix various ways of spelling 'access' wrong in comments | Martin Reindl | |
2006-07-01 | Provide our own alloc_attr() routine for sun frame buffer, since the computation | Miod Vallat | |
of highlighted color indexes is slightly different due to different black and white color code (and the fact that the default white is the highlighted white). | |||
2006-06-30 | For 32bit sun frame buffers, tweak ri_devcmap to get the BoW palette instead | Miod Vallat | |
of needing different WSCOL_{BLACK,WHITE} values than 8bit frame buffers. This allows us to not special case the alloc_attr() invocations depending on the color depth, and to make WSCOL_{BLACK,WHITE} constants again in the wsemul_sun land. | |||
2006-06-29 | No need to keep specific variables for the kernel messages colors on sun | Miod Vallat | |
emulation, we can reuse the existing WSCOL_xxx codes, and WSCOL_BLACK and WSCOL_WHITE will point to variables anyway. | |||
2006-06-29 | Map the correct size for the colormap registers (not that it really matters | Miod Vallat | |
since this is rounded up one page). | |||
2006-06-25 | fix a typo in a comment and add the comment to the sparc hme driver. | Brad Smith | |
2006-06-02 | sbus_establish() and the associated linked list in the sbus softc is now only | Miod Vallat | |
used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits. | |||
2006-06-02 | When trying to find leaf lebuffer devices, to work around broken old PROMs, | Miod Vallat | |
walk the lebuffer_cd device list, instead of the sbus children list. | |||
2006-05-27 | unknown ioctl is ENOTTY not EINVAL | Jason Wright | |
2006-04-29 | fix build after timestamping addition; sparc pointed out by pvalchev@ | Christian Weisgerber | |
2006-04-27 | 2 lines of code in most drivers, to do the timestamping; ok miod kettenis | Theo de Raadt | |
2006-04-16 | Convert the last remaining net-driver users of ether_input to ether_input_mbuf. | Christopher Pascoe | |
sgec ok martin@ if_ie ok miod@ if_de, if_hp not in GENERIC ok brad@ | |||
2006-03-25 | allow bpf(4) to ignore packets based on their direction (inbound or | Damien Miller | |
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@ | |||
2006-03-15 | Nuke dk_establish(), no longer used. | Miod Vallat | |
2006-03-15 | Entries in cd_devs[] may be NULL, so be sure to check for them in your | Miod Vallat | |
device open() function. | |||
2006-03-12 | Previous fix was half-done, move the wsscreen_list array into the softc | Miod Vallat | |
as well. | |||
2006-03-12 | When attaching a wsdisplay, the wsscreen_list structure can not be on the | Miod Vallat | |
stack; found the hard way by Stefano <stefano@merlinobbs.net>. | |||
2006-03-04 | These devices are DV_DULL, not DV_IFNET... not that it really matters. | Miod Vallat | |
2006-03-04 | Properly display underlined space characters. | Miod Vallat | |
2006-02-25 | Put quotation marks around names of unconfigured devices. | Mark Kettenis | |
ok deraadt@ |