Age | Commit message (Collapse) | Author |
|
type of all variables to daddr64_t. this includes the APIs for XXsize()
and XXdump(), all range checks inside bio drivers, internal variables
for disklabel handling, and even uvm's swap offsets. re-read numerous
times by otto, miod, krw, thib to look for errors
|
|
to size. tested on almost all machines, double checked by miod and krw
next comes the type handling surrounding these values
|
|
readdisklabel(), since all readdisklabel()'s do that already.
ok deraadt@
|
|
oustside, seqencer, toghether, nessissary, etc.
|
|
|
|
|
|
"Looks right" millert@ "toss 'em in" deraadt@
|
|
Mouse. Currently limited to USB mice.
Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
|
|
and device status code fatal, and do not attach in these cases.
|
|
|
|
|
|
- reset the drive and fetch its identification strings during probe, and do
not attach if they don't look good.
- do not store synchronous command blocks (used by hdreset) in the softc,
since they are not processed asynchronously. The stack will do.
- cleanup the disklabel retrieval code.
- use disk_{,un}lock instead of rolling our own equivalent.
- use bounds_check_with_label() in hdstrategy() instead of a stripped-down
inline version of it.
Tested on 7957A.
|
|
more work can be done to lower buf abuse even more; miod@ testing and ok
|
|
to attach isabr if it really exists. This gets rid of ``isabr0 not configured''
messages on 425e.
|
|
sti_end_attach() if an error has occured.
ok mickey@
|
|
|
|
|
|
|
|
Everything works well but interrupts, where no two devices causes the frodo
chip to behave in the same way... (polling will work nicely)
|
|
pointers, to be used for the various bus_space operations.
intio devices no longer need to pass an intiobase-relative address to
bus_space_map.
|
|
than having them build their own. No functional change.
|
|
instead of using the rom mapping for region #0 and the device mapping for
region #1. This will allow sti devices on which regions may be relative to
different origins to attach (to be used very soon).
ok mickey@
|
|
existing alloc_attr function. This allows rasops_unpack_attr to be kept
private to rasops, yet available to the screen drivers.
|
|
driver to be able to tell how many wscons screens to attach to it,
instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
|
|
ok miod@ marco@ deraadt@
|
|
with scribbles around; ok mickey@
|
|
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.
|
|
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}.
|
|
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.
|
|
|
|
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.
|
|
as they are slightly faster.
|
|
non-zero parameters on a color display as long as we want white on black;
this was inherited from sparc but this is not necessary on these platforms.
|
|
|
|
|
|
|
|
use it instead of duplicating the same logic in 3 places.
ok mickey@
|
|
like on ADB keyboards. Must have been the 80's keyboard fashion.
So when we see a Caps Lock event, produce the missing event as well for
acceptable behaviour.
This does not allow the Caps Lock key to be used for chording, though,
so document this in the manpage (honestly, Ctrl and Caps Lock being adjacent,
there is no point in swapping them on Domain keyboards, but you never know).
|
|
(using an overlay plane only for now). Bootblocks, text console and X11
are supported.
|
|
|
|
|
|
as well.
|
|
|
|
are addressed as if they were 8bpp, which is what we pretend we are to rasops,
so we actually have to remove capabilities after rasops_init() again.
|
|
|
|
|
|
could cause any ppi transfer to freeze the bus.
|
|
thus removing the need for drivers to initialize cn_pri to CN_DEAD when
hardware probe fails.
|
|
When not running on serial console, the PROM will pick the ``internal''
graphics device, and if it does not exist, the DIO device with the lowest
select code, and will resort to SGC devices if no internal or DIO device
was found.
However, the current logic would search for a certain frame buffer type first,
then for its best hardware location, following the order they are listed
in conf.c.
By replacing gazillions of almost-exactly-duplicated frame buffer code with
one single instance, which is device type-agnostic, we can match the PROM
(and the bootblocks) logic again. Plus this saves a few KB of code!
|
|
This means we are no longer aborting the console scans even if the final
console has been found, but on the other hand makes some logic simpler;
plus it will be necessary for upcoming scode vs device loop order reversal.
No user-visible change.
|