Age | Commit message (Collapse) | Author |
|
to put the device into D3. Fixes PCI power management issues that prevented
acpi (and perhaps apm) suspend on some machines.
tested by & ok mlarkin@
|
|
|
|
|
|
the rs-> song and dance. Exactly the same diff was written by djm.
|
|
|
|
|
|
|
|
ok kjell djm
|
|
print the "can't get bus clock" message. While there, adjust comments for
the i3/i5/i7 CPUs and include the relevant Xeon models. The Intel marketing
people seem to have less influence on the Xeon names, so they describe the
CPU generation much better.
ok marco@, deraadt@
|
|
non-essential parts of rnd.c removed so that we can keep our eye on
what the code should be doing.
ok tedu who had a similar diff in the past
|
|
timed out scsi commands get put on a list and an iohandler is
scheduled. that iohandler pulls the timed out scsi command off the
list and issues a task management request to kill all outstanding
io on the target with the timed out io.
all io killed as a result of this request will be returned to the
midlayer with their status set to XS_RESET, which in turn will cause
the midlayer to retry the command. this relies on the previous
commit.
|
|
in flight. to relevant changes are:
- call the activate(DVACT_DEACTIVATE) function against all the luns
on the target that is going away as soon as possible.
- issue the target reset BEFORE detaching the children devices.
this is needed now tha the midlayer will sleep until all outstanding
commands on a device come back from the adapter before calling the
child devices attach routine.
tested on straight disks and on disks in enclosures.
ok and moral support from krw@
|
|
|
|
x86_atomic_*_l(), and update the callers of all of those to use the
underlying x86_atomic_*_u32() functions that they were expecting anyway.
Whether the x86_atomic_*_ul() macros should be eliminated has been deferred.
ok kettenis@, tedu@
|
|
The i386 version was removed some time ago, so kill its declaration too.
ok tedu@ kettenis@
|
|
completed; this used to be the case, but revision 1.25 of this file, close
to four years ago, changed this behaviour by mistake. The side effects of this
mishandling of the cache did not show up until the kernel memory allocation
strategy moved towards fast reuse of freed pages.
Took me a while to track this down, maybe I'm getting too old to write code,
I probably should write backdoors instead.
|
|
and the process has not used the FPU yet.
ok guenther@
|
|
ok krw, miod
|
|
ok krw, miod
|
|
DVACT_DEACTIVATE case for drivers that don't have activate finctions
* fill out cfattach activate functions and call usbd_deactivate() in
the DVACT_DEACTIVATE case for drivers that don't have a dying flag
"ok with the intent" miod@
|
|
|
|
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.
|
|
ok miod@, deraadt@
|
|
|
|
resort if mmap fails otherwise to enable more complete address space
utilization. tested for a while with no ill effects.
|
|
|
|
tracked down and diff sent by Robert B Mills <rbmills at sdf.lonestar.org>
thanks, very good work! ok claudio
|
|
after boot and before the first activation (wsmoused or X),
sc->protocol is not initialized, and any call ioctl lead to crash
(example 'wsconsctl -a')
thanks and ok krw@
|
|
Diff from miod@, thanks.
|
|
ok miod@
|
|
what it is we are doing
ok djm
|
|
|
|
ok krw@
|
|
way st(4) does. Have both decline to open read-only devices for
anything but read-only access.
Suggestion to fail opens rather than individual i/o's from deraadt@.
Problem USB device found and donated by chefren, who also tested
diffs. Thanks!
ok dlg@ marco@
|
|
bag, please.
|
|
the one used by the firmware, which (at least on mvme88k) is at address zero.
This is unfortunate, since this means that NULL pointer dereferences in the
kernel are not caught, and writes cause havoc.
This behaviour was necessary to be able to use the PROM system call interface
during early bootstrap, without having to disassemble the VBR page and
update branches - which use pc-relative displacement - if we were to use
a different VBR address.
On mvme88k, change this and actually set up two VBR pages: one, over the PROM
page (except for the system call vectors), and another one in the kernel
image (which will be mapped read-only). We'll run with the PROM page until
the end of autoconf, and then switch to the kernel one, and unmap all the
PROM below it.
As a bonus, the final kernel page can use optimized data access fault
handlers, which do not have to check for faults caused by badaddr(), since
badaddr() is only used during device probe on buses which do not support
hotplug.
There are a few infrastructure collateral damage on aviion and luna88k, but
these ports do not change their behaviour yet.
|
|
This is to make it easier to add additional mice types in future
ok krw@, miod@, nicm@
|
|
may be invoked with an address under the kernel text and we're about to
stop having such pages always mapped.
|
|
statistics. This allows these mappings to be removed with pmap_kremove()
without messing with accounting.
|
|
|
|
- add my sata controller
ok krw@
|
|
|
|
(SD, SD/MMC, MS, xD) parts on Dell XSP L401X that were showing up
as 'unknown'.
ok deraadt@
|
|
ok djm
|
|
in which it was configured. If this is a "safe" vnd disk the name should
be "svndX" whereas a standard vnd disk should be named "vndX".
ok deraadt@ todd@ thib@
|
|
* allow ac97(4) flags to be set in envy(4), if there is an ac97 codec
* configure the vt1616 codec on the Dynex DX-SC51 for multi-channel
operation
ok ratchov
|
|
ok mikeb
|
|
instead save one bcopy() per block by alternating between two iv buffers;
ok mikeb@
|
|
unrelated, and his alpha is much happier now.
OK deraadt@
|
|
|