Age | Commit message (Collapse) | Author |
|
Supported for i386 and amd64 except SMALL_KERNEL.
Based on Miod's former work on this subject.
ok mpi
|
|
to avoid system hangs upon 'ifconfig down up' with some AR5212 hardware.
Linux uses the same workaround. Diff from Dinar Talypov (t.dinar.m at gmail).
|
|
index to which ccb to free wrong.
this takes the logic from mpi/mpii/mfii which pulls the ready ccbs off
the free list rather than rely on the current index from the for loop
that we failed inside of.
thanks to david for finding this out.
|
|
the interrupt handler can be triggered before sdmmc(4) is attached. In which
case the interrupt handler's futile attempt to handle the newly inserted card
would crash the kernel. ok miod@
|
|
|
|
from attaching after it has taken over control of the VGA hardware.
ok mpi@
|
|
the 8139C+/8169/8110/8168/8101/8111 datasheets and it seems to work ok
without reserving the descriptors.
- Change allowable number of TX DMA segments to 32.
From FreeBSD
ok chris@
|
|
|
|
added in the last commit. No functional change.
ok sthen@
|
|
gem(4) on some PowerMac G5.
tested by kirby@, ok deraadt@
|
|
packet has IP options. Disable IP checksum offloading for the
affected revisions.
From FreeBSD; OK sthen@ brad@
|
|
From FreeBSD
ok chris@
|
|
the 8129 PCI id is a 8129, everything else is a 8139.
Allows the D-Link DFE-520TX board to work and would ensure proper determination
of the chipset for at least the 8138 based boards (PCI/CardBus).
Tested by kirby@
Ok kirby@ sthen@ chris@
|
|
use it want something they can add to the end of they do horrible things
to be able to do that with the LIST_ENTRY.
this makes those horrible things a bit less horrible, and makes it easier
to use lists of scsi_xfers in other things.
|
|
|
|
fault code, but handle this code like ``Resend'' or ``BAT success''
instead.
Fix a problem reported by Kent Fritz and analyzed by stsp@.
ok shadchin@
|
|
ok miod@
|
|
Tested on a few machines, including JMicron and Intel AHCIs.
ok dlg@ jmatthew@
|
|
|
|
|
|
important, as per r1.167.
|
|
any work to do in the interrupt handler, or to clear it. the relevant bits
indicate whether there's work on the doorbell and clear when there isnt.
we need to read the doorbell if there is work to do, so lets just go that
straight away anyway.
get rid of bus_space_barriers in the io path. barriers are for enforcing
ordering. the doorbell reads and writes dont depend on any other register
values so ordering isnt applicable here.
|
|
the code.
|
|
|
|
compatability -> compatibility
OK jmc@.
|
|
|
|
one of the two callers of hostcmd_send() needs to wait for an interrupt.
Make the single caller which needs it wait instead.
No functional change; ok phessler
|
|
ok guenther millert kettenis
|
|
ok naddy@ sthen@
|
|
This card reader does not comply to the standard SDHC interface
supported by sdhc(4) and hence requires a custom driver.
With help from uwe and mikeb. Useful hints were also provided by the
author of the corresponding Linux driver (wwang at realsil com cn),
thanks a lot! Tested by myself and weerd on i386 and amd64.
|
|
necessarily correct, there might not even be a link when attaching.
ok mikeb@ reyk@
|
|
With some input and OK from kettenis@ and OK sthen@
|
|
Tested with Apple/Sun gem(4) with and without flow control (Sun ERI/Apple GEM
with FastE PHY).
ok kettenis@
|
|
to Atheros Linux developers was never sold. So update initvals to what Linux
is using for the 1.1 generation. Because the serdes values are written to
different registers on the AR9485 this involves tweaking the serdes init code
for all athn(4) chip families. This commit doesn't make AR9485 devices work
yet but is a step in the right direction.
Tested by krw, kettenis, and Andrew Ngo. ok kettenis@
|
|
checking the wrong bits of eeprom to determine rfkill switch pin and polarity,
and was reading the wrong register to determine rfkill gpio pin state.
ok kettenis@
|
|
is also bumped for multicast ranges.
ok mikeb@
|
|
operation which requires it.
|
|
async operational modes a timeout and some requests on a queue
were still active
helps a machine mlarkin has
ok miod shadchin mlarkin
|
|
code, we test but don't define them. Replace with _BYTE_ORDER
and _BIG_ENDIAN to make the iv show up properly for big endian
bpf consumers.
ok stsp@ reyk@
|
|
DVACT_QUIESCE and DVACT_SUSPEND time).
Tested by stsp.
|
|
Part of the work to remove -Wno-uninitialized.
ok blambert jsg
|
|
Tested by Nathanael Rensen.
|
|
Found by haesbaert@.
ok haesbaert@ deraadt@
|
|
Part of the work to remove -Wno-uninitialized.
ok kettenis@
|
|
1. vmware advertises more scsi targets than command slots, so the maths
we did for openings gave each target 0 openings. always advertise at least
16 openings.
2. if we cant configure the ATA queue depth, dont fail to attach the
controller whole.
finally, improve the error reporting during attach so its more obvious
where things fail.
mostly figured out by jmatthew@
|
|
ok dlg
|
|
ok mikeb
|
|
values and even if this would make more sense. Found by brad some time ago.
|
|
rest of the code expects.
from brad
|
|
|