| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
pass a struct confargs * on macppc for some specific children of the adb
node, and not confuse real adb device attachments.
ok mpi@
|
| |
|
|
|
|
| |
gpio_* methods and move the remaining global variables in the softc.
ok ratchov@, krw@
|
| |
|
|
| |
ok deraadt@
|
| |
|
|
|
|
|
| |
for now; that is unlikely to hit some of the remaining starvation bugs.
Repair the bufpages calculation too; i386 was doing it ahead of time
(incorrectly) and then re-calculating it.
ok thib
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new world order of pmemrange makes this data completely redundant
(being dealt with by the pmemrange constraints instead). Remove all code
that messes with the freelist.
While touching every caller of uvm_page_physload() anyway, add the flags
argument to all callers (all but one is 0 and that one already used
PHYSLOAD_DEVICE) and remove the macro magic to allow callers to continue
without it.
Should shrink the code a bit, as well.
matthew@ pointed out some mistakes i'd made.
``freelist death, I like. Ok.' ariane@
`I agree with the general direction, go ahead and i'll fix any fallout
shortly'' miod@ (68k 88k and vax i could not check would build)
|
| |
|
|
|
|
|
|
| |
found on some G4 PowerBook.
Tested by many, thanks.
ok sthen@, kettenis@, miod@
|
| |
|
|
|
|
|
| |
ATAPI devices. atapiscsi(4) is only for handling ATAPI devices on an
ATA bus, so umass(4) shouldn't care about it.
ok krw@, dlg@; no objections from deraadt@
|
| |
|
|
| |
ok deraadt@
|
| |
|
|
|
|
|
|
|
|
| |
mac-io bus base address. Needed by upcoming dfs(4) support.
On some Apple machines, the openfirmware returns a gpio offset relative to
the gpio controller (generaly at 0x50). These offsets should be corrected
to be relative to the bus base address.
looks fine to kettenis@, ok miod@
|
| |
|
|
| |
ok miod@
|
| |
|
|
|
|
|
|
|
|
|
| |
function, and let attachment code calls this rather than malloc(9).
This prevents re-initialization of the queue in shared queue chipsets.
Also, add wdc_free_queue() as a complementary function.
Earlier version (without wdc_free_queue()) tested by sthen@ and Amit
Kulkarni on various pciide(4) chips.
ok dlg@
|
| |
|
|
|
|
|
|
| |
"mute" key on keyboards to function too.
tested by kettenis on aoa(4) and snapper(4) by me.
from Martin Pieuchot
ok kettenis@ ratchov@
|
| |
|
|
|
| |
from Martin Pieuchot
ok ratchov@
|
| |
|
|
| |
- add nearbyint, nearbyintf and nearbyintl implemented using fenv
|
| |
|
|
| |
"no objection" drahn@
|
| |
|
|
|
|
| |
until they're zombies and then send them signals (for intr mounts). Until
that is untangled, the sigacts change is unsafe. sthen@ was the victim
for this one
|
| |
|
|
|
| |
what the previous IO was. Less chance of copy and paste errors.
Suggested by miod@.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(interrupt was not for me), 1 (positive interrupt was for me), or -1
(i am not sure...). We have continued with this practice in as many
drivers as possible, throughout the tree.
This makes some of the architectures use that information in their
interrupt handler calling code -- if 1 is returned (and we know
this specific machine does not have edge-shared interrupts), we
finish servicing other possible handlers on the same pin. If the
interrupt pin remains asserted (from a different device), we will
end up back in the interrupt servicing code of course... but this is
cheaper than calling all the chained interrupts on a pin.
This does of course count on shared level interrupts being properly
sorted by IPL.
There have been some concerns about starvation of drivers which
incorrectly return 1. Those drivers should be hunted down so that
they return -1.
ok drahn
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
are past. Use CLR() and SET() to modify necessary flags while leaving
the flags used by the buffer cache in peace.
Should make bufcache code much less confused about the state of the
bufs used in reading/writing disklabels. Other such flag abuses no
doubt await a visit.
Errors in original diff found by miod@.
ok beck@ deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
be shared (p_sigignore, p_sigcatch, P_NOCLDSTOP, P_NOCLDWAIT) moves
to struct sigacts, wihle stuff that should be per rthread (ps_oldmask,
SAS_OLDMASK, ps_sigstk) moves to struct proc. Treat the coredumping
state bits (ps_sig, ps_code, ps_type, ps_sigval) as per-rthread
until our locking around coredumping is better.
Oh, and remove the old SunOS-compat ps_usertramp member.
"I like the sound of this" tedu@
|
| |
|
|
|
|
|
|
|
| |
using the -MD option to cc, with -MP, -MT, and -MF where needed, converting
"make depend" to a no-op. This increases parallelism for those using "make -j"
and keeps the dependencies up to date with each compilation automatically.
sparc and vax users will need to rebuild gcc with support for the
-M[PTF] options before config'ing with this diff.
|
| | |
|
| |
|
|
|
|
| |
some time, and return errnos instead. Fix or remove out-of-date comments
mentioning the error strings, and make their callers check the return value
against zero, not NULL.
|
| |
|
|
| |
ok dlg@ ("miod will not object" dlg@)
|
| |
|
|
| |
Discussed and okay drahn@. Okay deraadt@.
|
| |
|
|
|
|
|
| |
do 32-bit block spanning. If later on we get some that can/should do
64-bit, that can be done now using daddr64_t (but of course, we are taking
this step to finalize the daddr_t 64-bit conversion).
ok miod krw
|
| |
|
|
| |
ok miod@ drahn@ kettenis@
|
| |
|
|
|
|
|
|
| |
after every disklabel read or write. This keeps the DUID cache more
in sync with the physical world. De-syncing noted by drahn@ while
zapping disklabels with dd.
ok jsing@ deraadt@
|
| |
|
|
|
|
|
|
| |
G5 (PowerMac8,2) attaching pgs(4) makes the machine hang. This machine has
the "device_type" property set to "gpio" attaching pgs(4), which is that
case for newer machines that don't seem to have a real button anyway.
ok miod@, jasper@
|
| |
|
|
|
| |
holding locks, this is not allowed, and nobody has stepped up to fix this,
so better not lure people into using bluetooth devices.
|
| |
|
|
| |
"doesn't hurt" deraadt@
|
| | |
|
| |
|
|
|
| |
kernel namespace
ok miod
|
| |
|
|
| |
Enable athn at uhub on all USB 2.0 capable arches.
|
| |
|
|
|
| |
in some grief. Split this out.
From Vladimir Kirillov
|
| |
|
|
|
|
|
| |
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument].
This allows MI drivers to implement mmap() routines without having to know
about the pmap_phys_address() implementation and #ifdef obfuscation.
|
| |
|
|
| |
its better as a per arch MD define anyway. all default to MAXDSIZ as before.
|
| | |
|
| |
|
|
|
|
| |
tested on a GENERIC config from all arches.
ok deraadt@ miod@
|
| |
|
|
|
|
|
| |
given pcitag_t configuration address space. Currently, all pci controllers
will return the usual 0x100 bytes of PCI configuration space, but this will
eventually change on PCIe-capable controlers.
ok kettenis@
|
| |
|
|
|
| |
early MD and late MI files must be split up so that vers.o can sneak
between. Issue spotted by bluhm, repair discussed with miod
|
| |
|
|
|
|
|
|
| |
having it linked last is bad (on at least i386 and amd64) because the lapic
is mapped over the start of the data segment -- savecore(8) then reads the
version string for a fixed buffer space, and reads into the lapic area
causing unintended side-effects (at least on Intel X5570 and X5680)
found by pedro, discussed with kettenis and mpf and miod
|
| | |
|
| |
|
|
| |
until possible removal, if indeed this causes no regression for scanner users.
|
| | |
|
| |
|
|
| |
MI header file.
|
| |
|
|
|
|
| |
on sparc64 and macppc.
prodded by jsg@
|
| |
|
|
|
| |
.h files into the ctags run as well to bring #define's and structs and
such into scope. Problem reported by thib
|
| | |
|
| |
|
|
| |
devices not tested. Not going to get tested unless they are available.
|