| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Submitted by: Mikko S. Hyvarinen <morphy@morphy.iki.fi>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add conversions to/from little endian for fields that the NIC accesses
by DMA as required.
- Add some bus_dmamap_sync() calls, and correct some existing ones.
- Read the receiver information from the EEPROM in an endian-neutral
manner.
- Load all RX and TX descriptors in a single DMA map up front, and
get the bus addresses of individual descriptors by address arithmetic;
this fixes multiple use of the descriptor tags, which would have
undesired effects.
It seems that xl still does not work on e250 boxen, for reasons which
are not clear yet.
Reviewed by: mux
|
|
|
|
|
|
|
|
| |
and ether_ifattach() to end. This fixes a "could sleep" case and
simplifies error exit cases as well. Also be sure to set errno
and clean up resources in !mac error case.
Tested by: Ryan Beasley
|
|
|
|
|
|
|
| |
and 3com MAC. Specifications for the Altima PHY are available at:
http://www.altimacom.com/products/ac101L.html
Submitted by: Mikko S. Hyvarinen <morphy@morphy.iki.fi>
|
|
|
|
|
|
| |
PR: 41466
Submitted by: NIIMI Satoshi <sa2c@sa2c.net>
MFC after: 1 week
|
| |
|
| |
|
|
|
|
| |
Fix typo (Coreaga->Corega)
|
|
|
|
|
|
|
|
|
|
|
| |
Allow to read EEPROM from LAN. It is shared
between a 1394 controller and the NIC and each
time we access it, we need to set SIS_EECMD_REQ.
Idea from: linux driver source
Reviewed by: luoqi
Obtained from: linux driver source (idea)
|
|
|
|
|
|
|
|
|
|
| |
register, and phy has to be directly accessed via mdio.
Patch converted to CURRENT from STABLE.
Submitted by: luoqi
Reviewed by: luoqi (again)
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
the PCI bus. When this bit is set, the Max DMA Burst Size
for TX/RX DMA should be no larger than 64 bytes.
Reviewed by: luoqi
Obtained from: (idea from linux driver source)
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
is read one clock edge too late. This bit is driven low by
slave (as any other input data bits from slave) when the clock
is LOW. The current code did read the bit after the clock was
driven high again.
Reviewed by: luoqi
MFC after: 2 weeks
|
|
|
|
|
| |
# Preliminary because there are some subtle things the NetBSD driver does
# that we don't do yet. My card works for me w/o them.
|
|
|
|
|
|
| |
PR: 46859
Submitted by: Boaz Haberman <boaz@ool-182f8b09.dyn.optonline.net>
Approved by: rwatson
|
|
|
|
|
|
|
|
| |
bus_dmamap_load_mbuf() returned EFBIG.
o Fix mbuf leaks in an error (rare) code path.
o Reuse the TX descriptor if xl_encap() failed instead of
just picking the next one.
o Better error messages.
|
|
|
|
| |
Noticed by: Niels Chr. Bank-Pedersen <ncbp@bank-pedersen.dk>
|
|
|
|
|
|
| |
Submitted by: johannes <johannes@paradise.net.nz>
PR: 46603
MFC after: 3 days
|
|
|
|
|
|
| |
xl_sync; this appears to be necessary with certain systems.
Requested by: Michael Class <michael_class@gmx.net>
|
|
|
|
|
| |
Mostly submitted by: tmm
Tested on: i386, sparc64
|
|
|
|
| |
especially in troff files.
|
|
|
|
| |
Add FreeBSD Id tag where missing.
|
| |
|
|
|
|
|
| |
The DL10050 chip is used on the 550TX and 580TX cards, probably
others as well.
|
| |
|
|
|
|
|
|
| |
copy the mbuf chain into an mbuf cluster when there is
more than 63 mbufs in the chain. We were trying with older
cards though.
|
|
|
|
|
| |
Submitted by: marius@alchemy.franken.de
MFC after: 3 days
|
|
|
|
|
|
|
| |
it possible to use this driver under ia64, sparc64 (though
there may be endianness issues with this one) and other archs.
Tested on: i386, alpha (gallatin)
|
|
|
|
| |
an sbus front-end.
|
|
|
|
|
|
|
|
| |
used to map mbufs. The maximum size should be MCLBYTES
and not SIS_TX_LIST_SZ. This is probably a typo in
the original commit.
Tested by: cognet
|
|
|
|
|
|
|
|
| |
pci_get_ether accesor, which gets it from the CIS for cardbus cards
(and from other pci-like buses via whatever mechanism is used there).
Submitted by: sam
Approved by: re (blanket)
|
|
|
|
|
|
|
|
| |
the following drivers:
dc mn sf sk ste ti tl xl an bge em gem gx ie lge sr aue cue kue wi xe
Approved by: re
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Detect the revision of the Rhine chip we're using.
2. Use the force reset command on revisions which support
it whenever the normal reset command fails.
This should solve a wide range of "my vr0 locks up with reset
failed messages" problems. (Although the root causes should
be eventually tracked down.)
Tested by: grenville armitage <garmitage@swin.edu.au>
Obtained from: Via's if_fet driver
MFC after: 3 days
Approved by: re
|
|
|
|
|
|
|
|
|
|
|
| |
o use if_input for input packet processing
o don't strip the Ethernet header for input packets
o use BPF_* macros bpf tapping
o call ether_ioctl to handle default ioctl case
o track vlan changes
Reviewed by: many
Approved by: re
|
| |
|
|
|
|
| |
to order of operations that are actually fixed by the proper parenthasizing.
|
|
|
|
| |
Verified by: md5
|
| |
|
|
|
|
|
| |
if it's IO port resource is IO or memory mapped for the sake of a printf
using i386-specific values in #ifdef __i386__.
|
| |
|
| |
|
|
|
|
|
| |
we'd need it is if we're interrupted. So, register the interrupt last
in the attach routine.
|
|
|
|
|
|
|
|
|
| |
(newer) 556B chips.
Requested & tested by: Dinesh Nambisan <dinesh@nambisan.net>
Magic bits found by: Dave Dribin & Donald Becker
MFC After: 3 days
|
|
|
|
|
| |
printf("%s%d: blah", ifp->if_name, ifp->if_xname). This eliminates the
need to store the unit number in the softc.
|
|
|
|
|
|
| |
Properly put macro args in ().
Spotted by: FlexeLint.
|
|
|
|
| |
Spotted by: FlexeLint.
|
| |
|
|
|
|
|
|
| |
print them with %p. Cast to unsigned long and print with %#lx.
Discussed with: bde
|
|
|
|
|
|
| |
as spl replacements, but you cant sleep while holding mutexes.
This change has been made on many other drivers.
|
|
|
|
|
| |
pointers (but more precisely vm_offset_t) can be printed with %x. Use
%p instead and cast the argument to caddr_t.
|
|
|
|
| |
Pointy Hat to: The Mad Redhead of Niwot
|