Age | Commit message (Collapse) | Author |
|
|
|
|
|
only do this if we're going to power down the machine.
"My god, it is a 3 line diff. Commit it before it gets bigger!" deraadt@
|
|
it to where it belongs
|
|
|
|
|
|
|
|
block. the kq and poll code should have been replaced with "selltrue"
type code a while ago.
with and ok nicm
|
|
|
|
for MCS0~15 to not exceed the PCIe power requirements.
|
|
surrounding code.
|
|
|
|
|
|
the commands necessary to do "big" SCSI commands (e.g. READ_CAPACITY_16).
Bail out early on those cards instead of attempting to execute the
unimplemented firmware command and failing to recover from it.
ok krw@, deraadt@
|
|
ok matthew@, krw@
|
|
|
|
|
|
from all other chips... quite nightmarish.
|
|
|
|
|
|
add initvals for the AR9485.
update initvals for the AR9380 2.2 (from ath9k):
"reduce the likelihood of false pulse detects in the hardware"
"improve carrier leak calibration/correction"
|
|
operations to callbacks in the PCI and CardBus front-ends.
This will allow support of other buses like USB.
Assume the following memory model:
- writes are ordered but may be buffered and require explicit flush
- a read always flushes all buffered writes
|
|
ok djm
|
|
can't address block 0xffffffff in LBA mode, at least in combination with
the Hitachi HTS545032B9SA02 and HTS545050B9SA02 drives that Apple ships.
So use LBA48 mode from that block onwards.
ok marco@, deraadt@, miod@
|
|
|
|
ok robert@
|
|
this gets rid of NO_CCB, provides better scheduling of io between busy
logical volumes on the same controller, and makes the ioctl and sensor
paths more reliable.
this is the least intrusive version of this change i could come up with. it
only took 4 or 5 goes...
ok marco@
deraadt@ says this is a good time for this change.
|
|
* use usbd_ref_{incr,decr,wait} to not detach while another process/thread
is using the driver
* s/usb_rem_task/usb_rem_wait_task/ in detach functions because detach
doesn't always happen in the task thread; otherwise a task could be
running while the driver detaches
* in detach functions, first delete pending timeouts, then wait for
processes to be done with the driver before freeing resources
ok martynas@
|
|
* add functions to increment and decrement the reference count, and a
function to wait until the reference count is zero
ok martynas@
|
|
has no usbd_device.
found the hard way by deraadt
|
|
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
|
|
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@
|
|
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.
|
|
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@
|
|
what it is we are doing
ok djm
|
|
|
|
ok krw@
|
|
This is to make it easier to add additional mice types in future
ok krw@, miod@, nicm@
|
|
|