| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Submitted by: yokota
|
|
|
|
| |
- Fix obsolete comments.
|
|
|
|
|
|
| |
care of by bsd.kmod.mk.
Pointed out by: bde
|
|
|
|
| |
Pointed out by: bde
|
| |
|
|
|
|
|
|
|
| |
scp->font_size in the first place. It is redundant now and is
removed.
Found by: bde
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Reviewed by: alfred, dillon, peter
|
|
|
|
| |
Approved by: jkh
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Sync ohci, uhci and usbdi modules with NetBSD in order to obtain the
following improvements:
o New USBD_NO_TSLEEP flag can be used in place of UQ_NO_TSLEEP
quirk. This allows drivers to specify busy waiting only for
certain transfers (namely control transfers for reading/writing
registers and stuff).
o New USBD_FORCE_SHORT_XFER flag can be used to deal with
devices like the ADMtek Pegasus that sense the end of bulk OUT
transfers in a special way (if a transfer is exactly a multiple
of 64 bytes in size, you need to send an extra empty packet
to terminate the transfer).
o usbd_open_pipe_intr() now accepts an interval argument which
can be used to change the rate at which the interrupt callback
routine is invoked. Specifying USBD_DEFAULT_INTERVAL uses the
value specified in the device's config data, but drivers can
override it if needed.
- Change if_aue to use USBD_FORCE_SHORT_XFER for packet transmissions.
- Change if_aue, if_kue and if_cue to use USBD_NO_TSLEEP for all
control transfers. We no longer force the non-tsleep hack for
bulk transfers since these are done asynchronously anyway.
- Removed quirk entry fiddling from if_aue and if_kue since we don't
need it anymore now that we have the USBD_NO_TSLEEP flag.
- Tweak ulpt, uhid, ums and ukbd drivers to use the new arg to
usbd_open_pipe_intr().
- Add a flag to the softc struct in the ethernet drivers to indicate
when a device has been detached, and use this flag to perform
tests to prevent the drivers from trying to do control transfers
if this is the case. This is necessary because calling if_detach()
with INET6 enabled will eventually result in a call to the driver's
ioctl() routine to delete the multicast groups on the interface,
which will result in attempts to perform control transfers. (It's
possible this also happens even without INET6 support enabled.) This
is pointless since we know that if the detach method has been called,
the hardware has been unplugged.
- Changed watchdog timeout routines to just call the driver init routines
to initialize the device states without trying to close and re-open the
pipes. This is partly because we don't want to frob things at interrupt
context, but also because this doesn't seem to work right and I don't
want to panic the system just because a USB device may have stopped
responding.
- Fix aue_rxeof() to be a little smarter about detecting when a double
transfer is needed. Unfortunately, the design of the chip makes it hard
to get this exactly right. Hopefully, this will go away once either
Nick or Lennart finds the bug in the uhci driver that makes this ugly
hack necessary.
- Also sync usbdevs with NetBSD.
|
|
|
|
|
|
|
|
| |
file open in one of the special file descriptors (0, 1, or 2), close
it before completing the exec.
Submitted by: nergal@idea.avet.com.pl
Constructive comments: deraadt@openbsd.org, sef, peter, jkh
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
| |
Unbreak profiling. Again.
Submitted by: bde
|
| |
|
|
|
|
|
|
|
| |
Correctly return EINPROGRESS from aio_error() even when an aio request
is still in the socket queue.
Submitted by: Adrian Chadd <adrian@bofh.co.uk>
|
|
|
|
| |
Noticed by: Hellmuth Michaelis <hm@hcs.de>
|
| |
|
|
|
|
|
|
|
|
| |
This is just to make sure we initialize the chip correctly: we need to
make the sure the port select bit in CSR6 is set properly so that we
use the internal PHY for 10/100 support. (The eval boards I have also
include an external HomePNA PHY, but I need to play with that more
before I can support it.)
|
|
|
|
| |
Submitted by: Sascha Schumann <sascha@schumann.cx>
|
|
|
|
|
|
| |
the German legal time (commonly available in Europe).
Submitted by: Sascha Schumann <sascha@schumann.cx>
|
|
|
|
| |
or atapiless kernels can be built.
|
|
|
|
|
|
| |
prettier (?) names, adding some const's around here, et al.
Reviewed by: bde
|
|
|
|
|
|
|
|
| |
prettier (?) names, adding some const's around here, et al.
Commit 2 out of 3.
Reviewed by: bde
|
|
|
|
|
|
|
|
| |
prettier (?) names, adding some const's around here, et al.
Commit 1 out of 3.
Reviewed by: bde
|
|
|
|
|
|
| |
machine/machparam.h in a comment
PR: kern/11178, kern/16128
|
|
|
|
|
|
|
|
|
| |
- The busy wait hack in usbdi.c was doing its timeout in microseconds
instead of milliseconds.
- if_aue.c:aue_intr() is creating a bitmask by and'ing two bits when it
should be or'ing them.
Submitted by: Lennart Augustsson
|
|
|
|
|
|
|
| |
correctly on both master and slave.
Smash together the ata_params & atapi_params structures as they
are more or less equal anyways.
Get rid of the last SYSINIT's in here.
|
|
|
|
|
|
| |
none of my hw does it, but this should fix it for now.
Tested by: wpaul
|
| |
|
|
|
|
| |
Submitted by: msmith
|
| |
|
|
|
|
|
|
|
| |
the same vendor and logical ID. The rest I am not sure whether they
are vendor or logical, but it won't hurt if I've put a vendor ID here
as merely will not match. These came from the old sio-pnp code, hence
the uncertainty about which ID it is.
|
|
|
|
|
|
|
| |
at udp6_ctlinput().
There should be kernel panic at PCCARD suspend etc, before this bug fix.
Submitted by: Hajimu UMEMOTO <ume@mahoroba.org>
|
| |
|
| |
|
|
|
|
|
|
| |
not to class them with the SYSV extentions as "optional but damn useful".
Also desired by: wollman
|
| |
|
| |
|
|
|
|
|
|
| |
and there may be a good reason for them being unallocated (eg. they're
nonsensical or not useful). The goal here is simply to reserve them
against accidental use by other code.
|
|
|
|
|
|
|
|
| |
activated. Some of the things that get listed as "resources" aren't
necessarily suited for this.
(This shouldn't be a problem for any driver that correctly passes
RF_ACTIVE)
|
|
|
|
|
|
|
| |
again (without this the rollback analysis was being lost). Should reduce
the write count for most workloads.
Submitted by: Craig A Soules <soules+@andrew.cmu.edu>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
set of restrictions for cancelling an inode dependency (inodedep)
is somewhat stronger than originally coded. Since this check appears
in two places, we codify it into the function check_inode_unwritten
which we then call from the two sites, one freeing blocks and the
other freeing directory entries.
Submitted by: Steinar Haug via Matthew Dillon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so that they never try to lock an inode corresponding to ".." as this
can lead to deadlock. We observe that any inode with an updated link count
is always pushed into its buffer at the time of the link count change, so
we do not need to do a VOP_UPDATE, but merely find its buffer and write it.
The only time we need to get the inode itself is from the result of a
mkdir whose name will never be ".." and hence locking such an inode will
never request a lock above us in the filesystem tree. Thanks to Brian
Fundakowski Feldman for providing the test program that tickled soft updates
into hanging in "inode" sleep.
Submitted by: Brian Fundakowski Feldman <green@FreeBSD.org>
|
|
|
|
| |
card, which is apparently also a Tigon 2 device.
|
|
|
|
|
|
|
|
|
|
|
| |
running. It turns out that trying to read the MAC address when there's
no firmware creates a zero length transfer. This apparently doesn't
hurt anything on a UHCI controller, but OHCI controllers generate an
IOERROR, and the device doesn't initialize.
Instead, check the bcdDevice revision code. We know this will be
different when the firmware is running, so if we detect the firmware's
code instead of the bare hardware's code, we skip the firmware load.
|