Age | Commit message (Collapse) | Author |
|
help miod@, art@
ok deraadt@
|
|
device_register() function -- even if it does nothing. reduces the
cpp-based blather different between architectures
idea ok'd by miod; tested on all architectures (except a few miod will
need to cleanup because he has them)
|
|
|
|
machines. Instead -- build one solid clean MI version, and thenchange all
the architectures to use it. ok various people, tested on almost all cases.
(it is a 10094 line diff..)
|
|
unconditionnaly.
|
|
|
|
"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@
|
|
__BUS_SPACE_ALIGNED_ADDRESS.
|
|
No need to save sticks anymore.
miod@ ok and test
|
|
it's a good idea to use atomic.h operations on it. This mechanic
change updates all bit operations on p_flag to atomic_{set,clear}bits_int.
Only exception is that P_OWEUPC is set by MI code before calling
need_proftick and it's automatically cleared by ADDUPC. There's
no reason for MD handling of that flag since everyone handles it the
same way.
kettenis@ ok
|
|
and device status code fatal, and do not attach in these cases.
|
|
splhigh(); from NetBSD
|
|
|
|
|
|
- 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
|
|
rt and such; tested and ok miod drahn
|
|
right now that are supposed to be atomic with respect to interrupts and
SMP: atomic_setbits_int and atomic_clearbits_int.
All architectures other than i386 and amd64 get dummy implementations
since at first we'll be replacing operations that are done with
"a |= bit" and "a &= ~bit" today. More proper implementations will follow
kettenis@, miod@ ok
|
|
use of MD spl code bowels. No functional change.
|
|
- it can really only be invoked from trap(), not from other userret() callers,
so it is safe to hardcode its docachepush parameter to 1.
- use pmap_kenter_pa()/pmap_kremove() for the temporary mapping instead of
pmap_enter()/pmap_remove().
optimize m68k userret():
- define PROC_PC for m68k systems.
- only check want_resched when processing T_ASTFLT traps.
- provide two version of userret(), one which will also invoke writeback()
on 68040 if required, which is only invoked from trap(), and regular
userret(). This speeds up system call returns.
|
|
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.
|
|
for cpu_swapin() on hppa* which is kept).
|
|
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@
|
|
confusing when trying to attach scsibus to a hba, since it is really meant
for attaching scsi devices to scsibus.
ok deraadt@ marco@
|
|
|
|
ok krw@
|
|
line with all other archs by initializing partitions up to RAWPART the
same way. Should be no functional change.
ok martin@ miod@
|
|
with scribbles around; ok mickey@
|
|
faster uvm initialization.
|
|
|
|
them return 'invalid geometry' when d_secpercyl == 0. While there move
the check to a consistant location (after the check of d_secperunit)
and use a consistant idiom (i.e. some readdisklabel()'s have no 'done'
label).
prodded by thib@ after a bad macppc experience. ok deraadt@
|
|
writethrough on 68040.
|
|
removal of unused hil stuff, oversimplification of the stand ite code
(including dio frame buffer common code factorization), and sgc frame
buffer console support, at last.
This shaves ~1800 bytes off SYS_UBOOT and ~500 bytes of SYS_CDBOOT
despite the addition of the sgc code.
Tested on dca, hyper, topcat and sti.
|
|
|
|
|
|
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.
|