summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2006-08-12Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT)Kenneth R Westerback
in the six cases using "512". As DEV_BSHIFT is always 9, this should be a no-op. "no objections" miod@ "I can't see any problem doing this." pedro@
2006-08-12Setting d_secsize to DEV_BSIZE (or 1 << DEV_BSHIFT, or 512) and thenKenneth 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-11Use d_secperunit rather than 0x1fffffff as the default value forKenneth R Westerback
RAW_PART's p_size. Since d_secperunit is initialized to 0x1fffffff if not specified there should be no need to use the magic number again. And if d_secperunit was specified then that value should be used instead of the magic number. This was already being done for hp300, luna88k, mac68k, mvme68k, mvme88k. Should be a no-op.
2006-08-11An old dvorak typo was lurking here.Miod Vallat
2006-08-11For non-console vgafb, force rasops to initialize it as a monochrome resource,Miod Vallat
since we can't program the colormap anyway.
2006-08-11Let the windowmove() callbacks return whether they could perform the operationMiod Vallat
or not, so that we can always feed them the complex operations before falling back to rasops; and then topcat can perform coloured solid fills in erase{cols,rows}.
2006-08-11add rum(4) on arches where ural(4) is enabled.Damien Bergamini
rum(4) has been tested on i386 by niallo@ and me and on sparc64 by Pablo Mendez Hernandez so I assume it is endian safe and 64bit clean.
2006-08-11no O2's with a R14000 CPU were made, so remove superfluous code.Jasper Lievisse Adriaanse
ok pefo
2006-08-10Try and determine the keyboard layout from its identification string;Miod Vallat
no international keyboards to check I parse the right part of the string, at least domestic keyboards are not affected; hinted at by the old X11R5 server.
2006-08-10Hookup hw.vendor and hw.product sysctls on sparc64.Gordon Willem Klok
ok dlg@, "looks good" miod@
2006-08-09Use the blitter again for the cursor on non-mono frame buffers.Miod Vallat
2006-08-07rcons removal fallout, spotted by kettenis@Miod Vallat
2006-08-06Replace magic numbers with adequate #defines, support vsync disabling in theMiod Vallat
burner routine, and do the colormap updates during vertical retrace, instead of using a fixed delay.
2006-08-06Switch luna88k from rcons to rasops. Tested by aoyama@Miod Vallat
2006-08-06enable arc so it can get some exposure to testingDavid Gwynne
2006-08-06add the Intel 6321ESB LPCBrad Smith
2006-08-06add the Intel 82801GHM LPC and 6321ESB LPCBrad Smith
2006-08-06add the Intel 82801DBM LPC.Brad Smith
2006-08-05Ugly hack to avoid sending the ``all keys up'' event to userland, replacingMiod Vallat
it with as many key release events as necessary. Necessary for X until it knows how to handle this event properly.
2006-08-05Colormap ioctls, at last.Miod Vallat
2006-08-05If a dz child driver has taken over a line, it will never be accessibleMiod Vallat
as /dev/tty0X, period. So return ENXIO instead of EBUSY in dzopen().
2006-08-05Make sure smg will not pretend being a console on smg+gpx hardware withMiod Vallat
smg forced to attach.
2006-08-05A potpourri of unrelated changes:Miod Vallat
- remove the 11/750 pcs code, it is never called. - remove the list of kernels to try to boot in order; it is a good idea only if you can interrupt the process, which you can't due to quirks on some models, so enter interactive boot immediately if booting /bsd fails. - work around some PROM bugs in graphics mode which cause \h and \t not to behave as expected. Crank version to 1.10.
2006-08-05Use faster {copy,erase}cols routines for smg, with ad hoc vax assembly,Miod Vallat
adapted from X11 via hp300.
2006-08-05Since the maskbits code only gets invoked with RR_COPY or RR_CLEAR thoseMiod Vallat
days, simplify and inline more of it, to avoid doing unnecessary dest and/or source loads. A copy of the old maskbits.h is moved to stand/ as the ite code there needs the complete RR_ code.
2006-08-05Prefer rasops {copy,erase}rows routines for non-accelerated 1bpp frame buffers,Miod Vallat
as they are slightly faster.
2006-08-04acx can already be enabled (as developer pressure hah)Theo de Raadt
2006-08-03LK-401 french layout, tested on actual keyboard (I even have two of themMiod Vallat
in the closet, does anyone want them?)
2006-08-03A more reliable way to find out that the card is not there.Miod Vallat
2006-08-03Enable all planes, so that color has a real chance to work; still untested.Miod Vallat
2006-08-03Since we will only attempt to configure a keyboard on line 0 on machinesMiod Vallat
where line 0 is a keyboard connector, which is never used for serial console, remove an always-true test.
2006-08-03No need to force a 8-bit font anymore, welcome to the 12x22 font.Miod Vallat
2006-08-03Re-enable IPMI. Tested by beck & ckuethe prompted by deraadtMarco Peereboom
2006-08-02Provide the usual 8x16 font, instead of the qvss 8x15 font, for low-res vaxMiod Vallat
frame buffers (and smg until it can use non-8bit wide fonts), as the latter has too many symbols in the 8-bit range stubbed out.
2006-08-01Avoid a few NULL dereferences, and boot -c works on vax with glass console.Miod Vallat
2006-08-01Make RB_POWERDOWN work on the Thecus.Mark Kettenis
ok deraadt@
2006-08-01Enable pcaled0.Mark Kettenis
ok deraadt@
2006-08-01Support for font widths from 9 to 16 bits, and use the 12x22 font byMiod Vallat
default (since it fits).
2006-08-01If there is VRAM at the lcg address, but we can't make sense of theMiod Vallat
configuration register, match anyway and bail out during attach, printing the configuration register value, so that this gets noticed and the code can be made aware of this particular model.
2006-08-01make this more like a real cylon mode (no pauses at the end!)Theo de Raadt
2006-08-01trust the bootloader about the root disk; ok kettenisTheo de Raadt
2006-07-31Since we now know which keyboard type we are connected to:Miod Vallat
- report the proper type to WSKBDIO_GTYPE. - merge the LK201 and LK401 keymaps. - if the keyboard is LK201, handle the compose key as the left alt key, unless shifted, so that you can have both an alt and a compose key.
2006-07-31Underline support.Miod Vallat
2006-07-31More dead structures and defines...Miod Vallat
2006-07-31Allow more time for the keyboard to initialize itself, helps on slower VS3100.Miod Vallat
2006-07-31Move the relevant mouse defines from lk201.h to dzms.c and get rid of it;Miod Vallat
it is too confusing to keep lk201.h and lk201reg.h.
2006-07-31Get my raster ops correct for the cursor, fixes the display glitches.Miod Vallat
2006-07-31puc@cardbus (only added (commented out) to whom has puc@pci enabled)Michael Shalayeff
tested on puc@pci by fkr and meself on the cardbus. still needs a bit more work but generally works. deraadt@ ok and some input from miod@
2006-07-31Enable an(4) at pci, untested but should work.Jonathan Gray
2006-07-31On startup, and when a keyboard change is detected, probe for the keyboardMiod Vallat
type. For now it is only reported to the user, but we'll use this very soon to alter keycodes depending upon the keyboard type (so that we do not have the compose and alt keys swapped on LK401 keyboards).