| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
from Tobias Ulmer (tobiasu at tmux.org); ok jmc@, krw@
|
| |
|
|
|
| |
instead of having two levels of looping.
commit it for testing deraadt@
|
| |
|
|
| |
grossly overstated.
|
| |
|
|
| |
the off level interrupt could lead to a hang. Fixes hang seen by jasper@
|
| | |
|
| |
|
|
| |
not the index. ok kettenis@
|
| | |
|
| |
|
|
| |
it was intended to be; reported by Donovan Watteau
|
| |
|
|
| |
several weeks before release on macppc, socppc bugs just fixed.
|
| |
|
|
|
|
|
|
| |
that's ever used it, and it's long since been changed to use
DVACT_{QUIESCE,SUSPEND,RESUME} instead.
ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it
up a few weeks ago
|
| |
|
|
|
|
| |
the obvious cases to return EINVAL and ENXIO.
ok tedu deraadt
|
| |
|
|
| |
ok miod@
|
| |
|
|
| |
ok miod@
|
| |
|
|
|
|
|
|
| |
the specifics adb arguments.
Now apm(4) no longer depends on adb stuff and piic(4) doesn't attach on a
via-cuda machine (e.g. my color G3 iMac).
ok miod@
|
| |
|
|
|
|
| |
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@
|
| |
|
|
|
|
|
|
| |
found on some G4 PowerBook.
Tested by many, thanks.
ok sthen@, kettenis@, miod@
|
| |
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
| |
|
|
| |
ok dlg@ ("miod will not object" dlg@)
|
| |
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
| |
kernel namespace
ok miod
|
| | |
|
| |
|
|
|
|
|
| |
hierarchy. Everything attached to a single root node anyway, so at
best we had a bush.
"i think it is good" deraadt@
|
| | |
|
| |
|
|
|
|
|
| |
Bogus chunks pointed out by matthew@ and miod@. No cookies for
marco@ and jasper@.
ok deraadt@ miod@ matthew@ jasper@ macro@
|
| |
|
|
|
|
|
|
|
|
| |
for both structs, the new members are 'bps' and 'msb', which
describe the number of bytes per sample and data alignment in the
sample, respectively. drivers must properly set these fields in
the 'query_encoding', 'set_parameters' and 'get_default_params'
hardware interface methods.
discussed with ratchov, deraadt
|
| |
|
|
| |
ok drahn@
|
| |
|
|
| |
ok deraadt matthew millert
|
| |
|
|
|
|
| |
sparsely populated buses.
ok dlg@, krw@
|
| |
|
|
|
|
|
|
| |
step in elminating 'struct scsi_device' entirely.
Spotted and initial diff from matthew@.
ok matthew@ dlg@ deraadt@ marco@ miod@
|
| |
|
|
|
|
|
|
| |
max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new
situation. The larger buffers are required by the very high speed
KDDI devices in Japan (CF com, or USB ucom) so those are the only two
drivers which currently ask for a larger buffer size.
ok yasuoka miod
|
| |
|
|
|
|
|
|
| |
it defines. In some cases, this means pulling in uvm.h or pcb.h
instead, but most of the inclusions were just noise. Tested on
alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax,
mostly by krw and naddy.
ok krw@
|
| |
|
|
|
| |
like it is everything.h
ok tedu
|
| |
|
|
| |
a process instead of using curproc. ok deraadt
|
| |
|
|
|
|
|
| |
recent-ish macs with macgpio(4). Basically dropping one to DDB when pushed.
...and not to be confused by the "reset" button ;-)
feedback and ok drahn@
|
| |
|
|
|
|
| |
* no binary change
ok drahn@
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
void. Use XS_NO_CCB error in the scsi command (xs) to report the
NO_CCB condition. Eliminates all SUCCESSFULLY_QUEUED and COMPLETE
confusion and untangles the midlayer from the adapter a bit more.
Eyes and some fixes by miod@
There may be some compile issues on little used (i.e. I don't have
any) drivers but the change is mechanical and thus easy to remedy.
ok dlg@
|
| | |
|
| |
|
|
| |
ok jakemsr@ drahn@
|
| |
|
|
| |
more to go. Should be a no-op.
|
| |
|
|
|
|
|
|
|
|
| |
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and
remove it from any occurences where both are used, except one for kqueue itself
and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag).
Based on a diff from tedu.
ok deraadt
|
| |
|
|
| |
ok miod@, dms@
|
| |
|
|
| |
Pointed out by miod@. krw@ miod@ ok.
|
| |
|
|
| |
miod@ deraadt@ ok.
|