Age | Commit message (Collapse) | Author |
|
1) Allocating with M_WAITOK, checking for NULL, and calling panic() is
pointless (malloc() will panic if it can't allocate) so remove the check
and the call.
2) Allocating with M_WAITOK, checking for NULL, and then gracefully
handling failure to allocate is pointless. Instead also pass M_CANFAIL
so malloc() doesn't panic so we can actually handle it gracefully.
1) was done using Coccinelle.
Input from oga.
ok miod.
|
|
pirofti@.
|
|
This is originally written by Hiroyuki Aizu, ported and integrated
in our tree by Javier Vazquez <javama4 AT gmail> with tweaks and
suggestions by me.
Import prodded by deraadt@ and the lack of testers on tech@.
|
|
tested by many for over a week. ok kettenis@ phessler@.
|
|
e1000e driver (which enables MSI as well), leaving everything handled by the
old Linux e1000 driver (which doesn't enable MSI) use legacy interrupts.
tested by many; ok jsg@
|
|
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@
|
|
check to make sure cmdlen is correct while there.
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@
|
|
Slightly changed version of a diff from Martin Furter.
|
|
|
|
from Martin Furter
|
|
will work and add PHY wake up code for RTL8401E.
From brad
|
|
|
|
|
|
the rx ring, schedule a timeout to keep trying until it gets some.
a timeout is used here cos the chip doesnt have a way of reporting
if its out of descriptors or when there's a ring overflow. we have
to manage that ourselves in software.
mikeb reported this issue on an ipsec gateway. ipsec would consume
all the mbufs while they were stuck in crypto waiting for the cpu
to catch up, by which time it was too late to give more to the
hardware. without any rx descriptors the chip would never interrupt
and we'd never try to fill the ring again.
the fix was tested by and is ok mikeb@
|
|
Unknown whether this also applies to product id 3b23 as well as 3b22.
Problem reported by John Danks in PR6630
ok dlg@
|
|
if defined WSDISPLAY_COMPAT_RAWKBD). Move keyboard array from dev/adb/keyboard.h
to dev/adb/akbdmap.h.
ok miod@
|
|
List. So turn a DIAGNOSTIC panic into returning failure.
ok mglocker@, miod@
|
|
in FreeBSD. This seems to fix a lot of problems on 82599 based cards
including the VLAN problems and the corrupted receives.
Putting this in now to work on it in tree since a few additional things
need to be merged. Tested by myself, deraadt@ and jsg@ on both 98er and
99er cards.
OK jsg@, deraadt@
|
|
|
|
upcomming ix(4) update.
|
|
least one chip sii3112 or sii314, owned by henning) that spuriously
returns failure. This is only backing out one of the dying cases.
As well, I have found one other case where attempts are made to advance
IO even after obvious failure. I suspect that I should find that issue
next.
discussed with henning, kettenis, and matthew
|
|
by missed interrupts. Commits to the FreeBSD driver suggest that the hardware
has issues. Having MSI for this driver isn't terribly important anyway.
|
|
ok matthew
|
|
|
|
|
|
outside the tree.
|
|
|
|
|
|
The audio side is a bit lacking; it does not yet mute all types of
devices.
from Alexander Polakov
ok jakemsr
|
|
wd(4). They haven't been used for 10+ years, since the drivers were
switched to use disk_lock() and disk_unlock() instead.
No binary change.
|
|
amd64, and fixing things is going to take some time.
ok deraadt@
|
|
a file compiled. spotted by guenther, but this is the right fix
ok miod
|
|
of silly flag twiddling code in various disk drivers.
ok deraadt@, miod@
N.B., users will need a -current disklabel(8) to be able to write new
disklabels to disk now.
|
|
Fixes an unaligned access panic on sparc64.
ok miod@, kettenis@, deraadt@, jakemsr@
|
|
message if the key disk cannot be opened. ok marco (some time ago)
|
|
|
|
|
|
|
|
|
|
never done anything in OpenBSD and just clutters disk drivers with
silly flag handling.
More cleanup to follow.
ok deraadt@, millert@; no objections krw@
|
|
1. Need to include <sys/dkio.h> since <sys/ioctl.h> no longer
includes it.
2. readdisklabel() returns an int, not an error string, so update
mcdgetdisklabel() accordingly. The return value is just ignored
currently, but that's no worse than cdgetdisklabel() in cd(4)...
Apparently no one has needed mcd(4) in the last two years.
|
|
Fix return value for Acquire/Wait (TRUE = -1)
|
|
make em_write_pci_cfg() do a proper read/modify/write cycle, to avoid changing
the neighbouring 16 bits. Also remove the comment in em_pci_set_mwi() and
em_pci_clear_mwi(); writting 0 to the status bits in the command/status word
is the right thing to do. Fixes a panic on sparc64 and other strict alignment
architectures.
ok deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
ok thib matthew
|