| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add more device IDs, ASIC revisions and chip IDs.
- Rewrite a bit code that picks the description for device.
- Introduce several macros to shorten quirks for bugs and
features.[*]
- Use some magic values, that OpenBSD has successfully
possessed from Linux (Broadcom supplied) driver.
- Remove disabled code that tried to access VPD.
[*] The macro that matches Jumbo capable NICs is
rewritten to preserve our current behavior. I
need clarify whether our or theirs is correct.
PR: 68351 (and may be others)
Obtained from: OpenBSD, brad@ mostly
|
|
|
|
|
|
|
|
| |
!IFQ_DRV_IS_EMPTY(). Taking this into account, I re-structured the
transmit routine so as to avoid adding another if/then in the
critical path.
Thanks to brueffer for showing my how to test with altq/pf.
|
|
|
|
|
|
| |
and call IFQ_SET_READY().
Submitted by: brueffer
|
|
|
|
| |
renamed mxge.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Update the firmware to the latest released firmware
(1.4.3), which corresponds to the firmware in the
latest shipping drivers from Myricom. This firmware
fixes several bugs in the firmware's PCI-e implementation,
and it also changes the driver/firmware interface:
o TSO was added, and changed the format of the transmit
descriptors.
o The firmware no longer counts transmits descriptors,
but frames. So the driver needs to keep a count
of the number of frames sent.
o The weird interrupt strategy changed to a normal receive
return ring. This ring is much bigger, and we may be
able to support DEVICE_POLLING.
o Myricom's header files changed the name of firmware
related #define's and enums (s/_MCP_/FW_).
- Stopped spamming the console with lots of printfs unless
mxge_verbose (or bootverbose) is set.
- Made additional information available via sysctl, including
the results of a PCI-e DMA benchmark run at device reset.
- Decreased the excessively long timeouts when sending commands
from 2 seconds to 20ms.
Sponsored by: Myricom Inc.
|
|
|
|
|
|
| |
the description so we don't have to do any more queries. Disable the
event query code until it figured out since but it is similar to the
AEN detail so we should be able to get that working.
|
|
|
|
|
|
| |
s/myri10ge/mxge/g replacement in the myri10ge files. A few contuation
lines were joined because of the regained columns.
- Hook the mxge driver back to the build.
|
| |
|
|
|
|
| |
though.
|
|
|
|
|
|
| |
be brought in by name-space polluted sys/rman.h.
Pointy hat to: imp
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Implement a bunch of sysctl's to report the information
that's now always reported. Mvoe reporting of that info
to bootverbose, but maybe it can go away entirely.
dev.ed.X.type: string name
dev.ed.X.TxMem: amount of memory used for tx side of the card
dev.ed.X.RxMem: amount of memory used for rx side of the card
dev.ed.X.Mem: Total amount of mem on card.
o Better comments about where NE-2000 (and clones) gets their MAC
address from.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
was ignored, rather than freaking out. In the past, it wasn't possible
to not parse the CIS, so this changes no behavior.
|
| |
|
|
|
|
|
|
|
|
|
| |
systems. Introduce a new sysctl "hw.acpi.disable_on_reboot" that allows
users to re-enable the old behavior in case it's needed for some systems.
We never disable in the power-off path.
Original approach submitted by Alexander Logvinov <abuse@akavia.ru> with
reworking by Jung-uk Kim and myself.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
firmware_get() will not work while resuming. Note that we can't
simply drop the FIRMWARE_UNLOAD flag, because that will result in
a firmware image that can never be unloaded by the user since the
firmware subsystem will hold a linker reference to it (it's not
clear that firmware_put() without FIRMWARE_UNLOAD ever does quite
what you'd want).
|
|
|
|
| |
to add the RD flag. Also, the debug node does not need to be writable.
|
|
|
|
| |
Reviewed by: mjacob (initial version)
|
|
|
|
|
|
|
|
|
|
| |
- Removed updates to if_ibytes, if_obytes, if_imcasts, and if_omcasts.
These should not be handled by the driver.
- Add code to handle excessively fragmented mbufs when mapping TX frames.
Reviewed by: ps
Approved by: ps (mentor)
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: jhb
Pointy hat to: glebius
|
|
|
|
| |
- Fix comments and printf()s about allocating jumbo buffers.
|
|
|
|
| |
Submitted by: marcel
|
|
|
|
|
| |
PR: kern/75582
Submitted by: Gary Palmer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SK-NET GENESIS document says reading SK_ISSR should stop generating
further interrupts(Since we drop a driver lock before invoking
ifp->if_input handler we should disable interrupts in ISR in order
to protect integrity of softc from subsequent interrupts). But it
seems that there is possibility of loosing interrupts between
reading SK_ISSR and determining which interrupts are reported.
To cope with the situation we continuously read SK_ISSR register
until there are no interrupts. However, it seems that the above
work around doesn't fix all cases. To protect watchdog handler
from triggering false alarm add a work around code which try to
reclaim pending Tx descriptors before resetting hardware. This
should fix occasional watchdog timeout errors seen on this driver.
Reported by: Frank Behrens <frank AT pinky dot sax dot de >
Tested by: Frank Behrens <frank AT pinky dot sax dot de >
|
|
|
|
|
|
| |
the acpi_SetSleepState().
Submitted by: njl
|
| |
|
|
|
|
|
|
| |
of the function.
It was wrong anyway, because we also support uio's structures, not only
mbufs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
taskqueued interrupt mode is going to be quite complex. Since
the polling mode is considered legacy feature for em(4) driver,
the decision is made to make polling and new interrupt handler
mutually exclusive, selected at compile time.
If kernel is compiled with DEVICE_POLLING, the fast taskqueued
interrupt handler code is disabled and the em_poll() and legacy
em_intr() functions are enabled. Otherwise, legacy functions
are disabled and only em_intr_fast() code is compiled.
Discussed with: scottl
|
|
|
|
| |
not ic->ic_drvbpf.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clean out the abortive start to homegrown, per-mpt,
Domain Validation. This should really be done at a
higher level.
Use the PIM_SEQSCAN flag for U320- this seems to correct
cases of being unable to consistently negotiate U320 in
the cases where I'd seen this before.
Between this and other recent checkins, this driver is
pretty close to being ready for MFC.
Reviewed by: scottl, ken, scsi@
MFC after: 1 week
|
|
|
|
| |
Obtained from: OpenBSD (sys/dev/ic/rt2661.c rev. 1.15)
|
|
|
|
|
|
| |
Reviewed by: mlaier
Approved by: rwatson (mentor)
MFC after: 2 weeks
|
|
|
|
|
|
| |
this is a noop on all current freebsd architectures
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
set to ILACC rather than PCnet-PCI as VMware doesn't implement ILACC
compatibility, resulting in the VMware virtual machine to crash if
enabled. Add a comment regarding usage of ILACC vs. PCnet-PCI mode.
Reported and tested by: gnn, wsalamon
|
|
|
|
|
|
|
|
|
| |
device went away while open or if you tried to change the config
number while devices were open. Based on the patch from the PR with
a number of changes as discussed with the submitter.
PR: usb/97271
Submitted by: Anish Mistry
|
|
|
|
| |
Tested by: nork
|
| |
|
| |
|
|
|
|
| |
- Use defines of used algorithm instead of HMAC_BLOCK_LEN.
|
|
|
|
|
|
|
|
|
| |
axe_cmd() calls. Without this the device can get confused if multiple
threads attempt these operations concurrently. The problem was
easily reproducible by running "ifconfig axe0" in a loop because
eventually it would conflict with axe_tick_task().
A similar approach is probably required in all USB ethernet drivers.
|
|
|
|
|
|
| |
authentication operations.
Unfortunately I've no hardware, so I only compiled-tested it.
|
|
|
|
| |
authentication operations.
|
| |
|
|
|
|
|
|
|
|
| |
Move the code for printing timer statistics into a test function instead of
an ifdef (accessible via the debug.acpi.hpet_test tunable). Also use defines
for register offsets instead of magic values.
Courtesy of: slow flight to HK
|